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 20/03/2006, à 00:15

insan

[RESOLU] existe-t-il un paquet cc ?!

Bonsoir,

En voulant installer xdtv que je viens de télécharger, j'ai fait :

insan@pc:~/xdtv-2.3.2$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Apparemment, il faut installer le paquet "cc" mais en regardant dans synaptic je ne l'ai pas trouvé .. avez-vous une idée ?

Merci

Dernière modification par insan (Le 22/03/2006, à 20:32)

Hors ligne

#2 Le 20/03/2006, à 03:20

foch

Re : [RESOLU] existe-t-il un paquet cc ?!

Tu as jete un coup d'oeil la-dessus ?

http://www.presence-pc.com/forum/ppc/Le … 2024-1.htm
http://gcc.gnu.org/ml/gcc-help/2002-07/msg00295.html

Dernière modification par foch (Le 20/03/2006, à 03:25)


De retour sous Ubuntu après quelques années sous ArchLinux.

Programme de téléchargement de musique qui ne marche plus vraiment.

Hors ligne

#3 Le 20/03/2006, à 12:05

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Merci pour ces liens ... ça m'a permis d'installer via synaptic : libc6-dev et j'avais déjà installé make ... mais voici le log de la commande ./configure :

insan@pc:~/xdtv-2.3.2$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking whether sys/types.h defines makedev... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for strdup... yes
checking for strerror... yes
checking for sigrelse... yes
checking whether byte ordering is bigendian... no
checking for gcc version... 4.0.2
checking for mmx support... yes
checking CPU vendor... AuthenticAMD (6:8:1)
checking CPU type...  AMD Sempron(tm) 2600+
checking Check for sse... yes
checking Check for 3DNow!... yes
checking Check for Extended 3DNow!... yes
checking GCC & CPU optimization abilities... -march=athlon-4
checking for host system... linux
checking for video4linux... yes
checking for video4linux version 2... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking for rint in -lm... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for herror in -lresolv... yes
checking for X... no
checking for XShmAttach in -lXext... no
checking for XtDisplay in -lXt... no
checking for XmuGetHostname in -lXmu... no
checking for XawDialogAddButton in -lXaw... no
checking for Xaw3dComputeTopShadowRGB in -lXaw3d... no
checking for Xaw3dComputeTopShadowRGB in -lXaw95... no
checking for Xaw3dComputeTopShadowRGB in -lXawM... no
checking for Xaw3dComputeTopShadowRGB in -lneXtaw... no
configure: error: *** Unable to find a suitable Athena Widget library (Xaw)

Je n'ai pas trouvé les manquants : g77, f77, xlf ...

Mais ce que je comprends pas c'est la dernière ligne car : libxaw7 est déjà installé !

Hors ligne

#4 Le 20/03/2006, à 13:34

Achille

Re : [RESOLU] existe-t-il un paquet cc ?!

Manifestement, il te manque des paquets de développement comme libx11-dev,  libxaw7-dev, libxaw-headers ou que sais-je encore.

Sinon les paquets g77 et fort77 sont présents.

Hors ligne

#5 Le 20/03/2006, à 13:43

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Je ne trouve pas dans synaptic les paquets : libx11-dev, libxaw7-dev ni les paquts : g77, fort77 ...

Par contre j'ai en installé : libx11-6, libxaw7

Quoi faire alors ?

Hors ligne

#6 Le 20/03/2006, à 15:04

Achille

Re : [RESOLU] existe-t-il un paquet cc ?!

Comment t'y prends-tu pour les rechercher?

Par exemple, sous Synaptic, je clique Rechercher, je sélectionne l'onglet Rechercher dans: Nom, et je tape 77 ce qui me donne notamment g77 et fort77.

Sinon, tu n'as qu'à taper en console:

sudo apt-get install libx11-dev libxaw7-dev g77 fort77

Hors ligne

#7 Le 20/03/2006, à 16:41

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Moi je laisse dans la fenêtre de gauche sur "toutes" et puis je clique sur une ligne de la fenêtre de droite (là où il y a les paquets) et je tape sur le clavier le nom recherché ... et s'il est là je le vois alors souligné.

Je viens d'essayer aussi ta méthode mais ça me donne toujours rien dans la fenêtre de droite !

Dans quel dépôt se trouvent-ils ces paquets ?

Merci pour ton aide !

Dernière modification par insan (Le 20/03/2006, à 16:43)

Hors ligne

#8 Le 20/03/2006, à 16:51

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

ça y est, je viens de les retrouver après avoir fait "Recharger" ... je ne sais pas comment ça se fait car j'avais déjà fait "recharger" après avoir changer le sources.list ... mais lors de la dernière session !

Hors ligne

#9 Le 20/03/2006, à 22:22

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Par contre, la comande make install me donne ça :

insan@pc:~/xdtv-2.3.2$ make install
Making install in libavutil
make[1]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/libavutil »
make[1]: Rien à faire pour « install ».
make[1]: quittant le répertoire « /home/insan/xdtv-2.3.2/libavutil »
Making install in libavcodec
make[1]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/libavcodec »
make[1]: Rien à faire pour « install ».
make[1]: quittant le répertoire « /home/insan/xdtv-2.3.2/libavcodec »
Making install in libavformat
make[1]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/libavformat »
make[1]: Rien à faire pour « install ».
make[1]: quittant le répertoire « /home/insan/xdtv-2.3.2/libavformat »
Making install in alevt
make[1]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/alevt »
make  install-am
make[2]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/alevt »
make[3]: entrant dans le répertoire « /home/insan/xdtv-2.3.2/alevt »
/bin/sh ../mkinstalldirs /usr/bin
  /bin/sh ../libtool --mode=install /usr/bin/install -c xdtv_alevt-cap /usr/bin/xdtv_alevt-cap
/usr/bin/install -c xdtv_alevt-cap /usr/bin/xdtv_alevt-cap
/usr/bin/install: cannot create regular file `/usr/bin/xdtv_alevt-cap': Permission denied
make[3]: *** [install-binPROGRAMS] Erreur 1
make[3]: quittant le répertoire « /home/insan/xdtv-2.3.2/alevt »
make[2]: *** [install-am] Erreur 2
make[2]: quittant le répertoire « /home/insan/xdtv-2.3.2/alevt »
make[1]: *** [install] Erreur 2
make[1]: quittant le répertoire « /home/insan/xdtv-2.3.2/alevt »
make: *** [install-recursive] Erreur 1

Pourriez-vous m'aider ?

Merci par avance !

Hors ligne

#10 Le 20/03/2006, à 23:24

Achille

Re : [RESOLU] existe-t-il un paquet cc ?!

N'utilise surtout pas la commande make install, sinon ce sera l'horreur pour désinstaller.

Installe d'abord le paquet checkinstall et utilise (à la place de make install), la commande:

sudo make checkinstall

ce qui te générera un paquet, rendant ainsi très simple une éventuelle désinstallation.

Hors ligne

#11 Le 22/03/2006, à 14:15

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Voici ce que ça a donné :

insan@pc:~/xdtv-2.3.2$ sudo make checkinstall
make: *** Pas de règle pour fabriquer la cible « checkinstall ». Arrêt.

Hors ligne

#12 Le 22/03/2006, à 14:30

m+rh-e

Re : [RESOLU] existe-t-il un paquet cc ?!

c'est simplement

sudo checkinstall

Hors ligne

#13 Le 22/03/2006, à 14:39

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Merci à toi ... voici les dernières lignes de sudo checkinstall :

......
.......................
This package will be built according to these values:

0 -  Maintainer: [ root@localhost.localdomain ]
1 -  Summary: [ Package created with checkinstall 1.5.3 ]
2 -  Name:    [ xdtv-2.3.2 ]
3 -  Version: [ 2.3.2 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ xdtv-2.3.2 ]
9 -  Alternate source location: [  ]

Enter a number to change any of them or press ENTER to continue:

*****************************************
**** Debian package creation selected ***
*****************************************

Building Debian package...OK

Installing Debian package... FAILED!

*** Failed to install the package

Do you want to see the log file?  [y]:

Erasing temporary files...OK

Writing backup package...OK

Deleting temp dir...OK

Remarque : j'ai fait "entrer" au moment demandé pour continuer.

Dernière modification par insan (Le 22/03/2006, à 14:40)

Hors ligne

#14 Le 22/03/2006, à 14:43

m+rh-e

Re : [RESOLU] existe-t-il un paquet cc ?!

ton .deb à bien été construit, essaye de l'installer avec

sudo dpkg -i xdtv-2.3.2.deb

Hors ligne

#15 Le 22/03/2006, à 15:13

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Voici le résultat :

insan@pc:~/xdtv-2.3.2$ sudo dpkg -i xdtv-2.3.2.deb
Password:
dpkg: la zone de la base de données d'état est verrouillée par un autre processus

Hors ligne

#16 Le 22/03/2006, à 15:26

insan

Re : [RESOLU] existe-t-il un paquet cc ?!

Pardon, je m'excuse : j'avais laissé Synaptic ouvert. Je viens de le fermer mais aussi je viens de changer le nom du package, j'ai fait donc  :

insan@pc:~/xdtv-2.3.2$ sudo dpkg -i xdtv-2.3.2_2.3.2-1_i386.deb
Sélection du paquet xdtv-2.3.2 précédemment désélectionné.
(Lecture de la base de données... 64267 fichiers et répertoires déjà installés.)
Dépaquetage de xdtv-2.3.2 (à partir de xdtv-2.3.2_2.3.2-1_i386.deb) ...
Paramétrage de xdtv-2.3.2 (2.3.2-1) ...

Apparemment tout s'est bien déroulé.
Merci à toi !

Hors ligne