Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/05/2007, à 17:28

Manta

Installation

Sur de nombreux prog que je telecharge, j'ai le meme probleme d'installation : j'arrive ds le repertoire et le readme me dit de faire un make install, mais le terminal me met "pas de regle pour fabriquer la cible install"...

#2 Le 05/05/2007, à 17:30

Manta

Re : Installation

Par exemple :

Installing GNUpod
-----------------
Running
#./configure
#make install
should be enough.

#3 Le 05/05/2007, à 17:35

bishop

Re : Installation

Salut Manta
Tu dois faire dans l'ordre
Pas besoin d' être root :
./configure
make 

Puis, si le make n'affiche pas d'erreur :
sudo make install

Dernière modification par bishop (Le 05/05/2007, à 17:37)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#4 Le 05/05/2007, à 17:44

Manta

Re : Installation

Il me met toujours la meme erreur avec le make en commencant par un configure

#5 Le 05/05/2007, à 17:45

Manta

Re : Installation

Pour info j'essaie d'installer libid3tag

#6 Le 05/05/2007, à 18:21

Sir Na Kraïou

Re : Installation

c'est pas dans les dépôts, ça?


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#7 Le 05/05/2007, à 18:48

bishop

Re : Installation

Manta
Tu peux faire un copier/coller du ./configure et le poster.

la 'tite gogole écrit :
c'est pas dans les dépôts, ça?

Effectivement, il y a deux paquets dans les dépôts : gnupod-tools et libmac-ipod-gnupod-perl.

Manta a peut être envie d'installer la dernière version de GNUpod. smile


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#8 Le 05/05/2007, à 18:59

manta

Re : Installation

Ouais voila c'est la derniere version de GNUpod que j'ai envie d'installer  smile

Le ./configure me donne ça :

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no

Dernière modification par manta (Le 05/05/2007, à 19:00)

Hors ligne

#9 Le 05/05/2007, à 19:18

manta

Re : Installation

Ha c'est bon, en version console et pas dans le pipe il me met une erreur comme quoi il me manque une librairie (zlib) et apres l'avoir mise, ça fonctionne ! Merci !

Hors ligne

#10 Le 05/05/2007, à 19:21

bishop

Re : Installation

Tu as intallé les outils pour compiler ?

Juste pour voir, si j'essaie le ./configure :

bishop04@Ubuntu-Feisty:~/Desktop/GNUpod/gnupod-0.99.2$ ./configure
checking for perl-5.8... no
checking for perl-5.6... no
checking for perl... /usr/bin/perl
GNUpod will use /usr/bin/perl
checking for Digest::MD5... ok
checking for XML::Parser... ok
checking for Unicode::String... ok
checking for MP3::Info... ok
checking for File::Copy... ok
checking for LWP::UserAgent... ok
checking for HTTP::Request... ok
checking for optional Audio::FLAC::Header... failed!
** Audio::FLAC::Header not found. You can install it using this command:
** # perl -MCPAN -e 'install Audio::FLAC::Header'
** ..but GNUpod will also work without Audio::FLAC::Header

checking for optional Ogg::Vorbis::Header::PurePerl... failed!
** Ogg::Vorbis::Header::PurePerl not found. You can install it using this command:
** # perl -MCPAN -e 'install Ogg::Vorbis::Header::PurePerl'
** ..but GNUpod will also work without Ogg::Vorbis::Header::PurePerl

installed version of MP3::Info looks good
checking installed encoders... done
checking installed decoders... done
checking for ffmpeg with AAC support... found!
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting


Settings:
---------

Release:        0.99.2
Perl Version:   5.8.8
Prefix:         /usr/local
Perl INC:       /etc/perl
Encoders:       mpeg4 faac lame wav
Decoders:       (timidity/Binary not found) flac oggdec 

-> use 'make install' to install GNUpod
-> use 'info GNUpod' to read the documentation after you installed GNUpod
-> use 'make uninstall' to remove GNUpod from /usr/local

-
Il y a des dépendances à installer.
Par exemple :
sudo aptitude install libogg-vorbis-header-pureperl-perl libogg-vorbis-decoder-perl libaudio-flac-header-perl libaudio-flac-decoder-perl timidity timidity-interfaces-extra
-
Ce que donne le ./configure après l'install de ces dépendances :

bishop04@Ubuntu-Feisty:~/Desktop/GNUpod/gnupod-0.99.2$ ./configure
checking for perl-5.8... no
checking for perl-5.6... no
checking for perl... /usr/bin/perl
GNUpod will use /usr/bin/perl
checking for Digest::MD5... ok
checking for XML::Parser... ok
checking for Unicode::String... ok
checking for MP3::Info... ok
checking for File::Copy... ok
checking for LWP::UserAgent... ok
checking for HTTP::Request... ok
checking for optional Audio::FLAC::Header... ok
checking for optional Ogg::Vorbis::Header::PurePerl... ok
installed version of MP3::Info looks good
checking installed encoders... done
checking installed decoders... done
checking for ffmpeg with AAC support... found!
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting


Settings:
---------

Release:        0.99.2
Perl Version:   5.8.8
Prefix:         /usr/local
Perl INC:       /etc/perl
Encoders:       mpeg4 faac lame wav
Decoders:       timidity flac oggdec 

-> use 'make install' to install GNUpod
-> use 'info GNUpod' to read the documentation after you installed GNUpod
-> use 'make uninstall' to remove GNUpod from /usr/local

-
Et le sudo make install

bishop04@Ubuntu-Feisty:~/Desktop/GNUpod/gnupod-0.99.2$ sudo make install
Password:
/bin/bash ./mkinstalldirs /usr/local/bin
/bin/bash ./mkinstalldirs /usr/local/share/man/man1
/usr/bin/perl tools/gnupod_install.pl INSTALL "/usr/bin/perl" "/usr/local/bin" "/usr/local/share/info" "/usr/local/share/man" ""
Installing GNUpod 0.99.2 using gnupod_install 0.25
 > src/gnupod_addsong.pl --> //usr/local/bin/gnupod_addsong.pl
 > src/gnupod_check.pl --> //usr/local/bin/gnupod_check.pl
 > src/gnupod_convert_APE.pl --> //usr/local/bin/gnupod_convert_APE.pl
 > src/gnupod_convert_FLAC.pl --> //usr/local/bin/gnupod_convert_FLAC.pl
 > src/gnupod_convert_MIDI.pl --> //usr/local/bin/gnupod_convert_MIDI.pl
 > src/gnupod_convert_OGG.pl --> //usr/local/bin/gnupod_convert_OGG.pl
 > src/gnupod_convert_RIFF.pl --> //usr/local/bin/gnupod_convert_RIFF.pl
 > src/gnupod_INIT.pl --> //usr/local/bin/gnupod_INIT.pl
 > src/gnupod_otgsync.pl --> //usr/local/bin/gnupod_otgsync.pl
 > src/gnupod_search.pl --> //usr/local/bin/gnupod_search.pl
 > src/mktunes.pl --> //usr/local/bin/mktunes.pl
 > src/tunes2pod.pl --> //usr/local/bin/tunes2pod.pl
Installing Modules at //etc/perl/GNUpod/
 > src/ext/FileMagic.pm --> //etc/perl/GNUpod/FileMagic.pm
 > src/ext/FooBar.pm --> //etc/perl/GNUpod/FooBar.pm
 > src/ext/iTunesDB.pm --> //etc/perl/GNUpod/iTunesDB.pm
 > src/ext/lastfm.pm --> //etc/perl/GNUpod/lastfm.pm
 > src/ext/QTfile.pm --> //etc/perl/GNUpod/QTfile.pm
 > src/ext/XMLhelper.pm --> //etc/perl/GNUpod/XMLhelper.pm
Installing info-documentation (//usr/local/share/info/)
* GNUpod: (gnupod). Manage your iPod.
install-info(doc/gnupod.info) : pas de fichier //usr/local/share/info//dir, récupération du fichier de sauvegarde /var/backups/infodir.bak.
install-info(doc/gnupod.info) : création de la nouvelle section « GNU Packages »
 Installed info file, use 'info gnupod' to read the documentation.
Installing manual pages
 > man/gnupod_addsong.pl.1.gz --> //usr/local/share/man/man1/gnupod_addsong.pl.1.gz
 > man/gnupod_check.pl.1.gz --> //usr/local/share/man/man1/gnupod_check.pl.1.gz
 > man/gnupod_INIT.pl.1.gz --> //usr/local/share/man/man1/gnupod_INIT.pl.1.gz
 > man/gnupod_otgsync.pl.1.gz --> //usr/local/share/man/man1/gnupod_otgsync.pl.1.gz
 > man/gnupod_search.pl.1.gz --> //usr/local/share/man/man1/gnupod_search.pl.1.gz
 > man/mktunes.pl.1.gz --> //usr/local/share/man/man1/mktunes.pl.1.gz
 > man/tunes2pod.pl.1.gz --> //usr/local/share/man/man1/tunes2pod.pl.1.gz
done!

-
http://www.gnu.org/software/gnupod/

Dernière modification par bishop (Le 05/05/2007, à 19:31)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#11 Le 05/05/2007, à 19:39

manta

Re : Installation

J'ai installé les dépendances, mais pour mon ./configure il me met

** You need to install Unicode::String
** Visit <http://search.cpan.org> to get the module
** Or try this:
# perl -MCPAN -e 'install Unicode::String'

J'essaie cette ligne de commande mais c'est un sacré truc qui me demande plein de choses et j'ose pas trop en tant que débutant m'aventurer la dedans ...

Hors ligne

#12 Le 05/05/2007, à 19:51

bishop

Re : Installation

Manta !
1 - Désinstalle gnupod

sudo make uninstall

-
2 - Installe ces dépendances

sudo aptitude install libunicode-string-perl

Tu dois aussi installer...

sudo aptitude install libfile-ncopy-perl libmp3-info-perl libxml-parser-perl libxml-simple-perl

-
Pour les dépendances c'est dans la doc... vois dans le dossier /gnupod-0.99.2/doc/gnupod.html
(3.1 Installation of GNUpod/On Debian GNU/Linux...)
-

-
3 - Quand toutes ces dépendances sont installées, tu réinstalles gnupod :

./configure
sudo make install

-

-
Tu peux aussi installer une interface sympa pour gérer le contenu de ton ipod :

sudo aptitude install gtkpod

ou

sudo aptitude install gtkpod-aac

(+ support des formats aac/mp4)
Tu trouves le raccourci gtkpod dans Applications/Son et vidéo

http://www.gtkpod.org/screenshots.html

Dernière modification par bishop (Le 05/05/2007, à 20:53)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#13 Le 05/05/2007, à 23:41

manta

Re : Installation

Merci mec y'a tout qui marche parfaitement ! wink

Hors ligne

#14 Le 06/05/2007, à 00:57

bishop

Re : Installation

Pas de quoi mec ! big_smile
Si tu as installé gtkpod ou gtkpod-aac, tu dois choisir dans Edition/ /Edit Repository/iPod Options le modèle de ton iPod. (choix : Podcasts, Local ou iPod).
Tu choisis iPod et dans Model... tu choisis ton modèle.
Et tu configures, si tu le souhaites, les synchronisations.

Dernière modification par bishop (Le 06/05/2007, à 01:09)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne