Debian et compilation

Debian et compilation - Linux et OS Alternatifs

Marsh Posté le 23-01-2002 à 13:32:36    

je veux installer galeon donc je lance ./configure dans mon ~/galeon-1.0.2 et là j'ai ca :
 
 decchenet1:/home/chaica/galeon-1.0.2# ./configure
loading cache ./config.cache
checking for perl... /usr/bin/perl
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... /lib/cpp
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables
 
Sauriez vous ce qui me reste à installer?
 
CHaICA

Reply

Marsh Posté le 23-01-2002 à 13:32:36   

Reply

Marsh Posté le 23-01-2002 à 13:36:50    

Il y a un probleme avec gcc  
Y a eu un poste la dessus y a meme pas deux jours  
 
Fais une recherche sur le forum
 
++

 

[edtdd]--Message édité par pipomolo--[/edtdd]

Reply

Marsh Posté le 23-01-2002 à 13:41:20    

Non j'ai pas gcc3.
Une autre idée?
 
CHaiCA

Reply

Marsh Posté le 23-01-2002 à 13:42:10    

apt-get install gcc
 
++

Reply

Marsh Posté le 23-01-2002 à 13:45:27    

Heu...  j'ai déja la version la + récente.
Tu es le maillon faible, au revoir! :D
Une autre idée?

Reply

Marsh Posté le 23-01-2002 à 13:50:45    

apt-get install libc6-dev
 
++

Reply

Marsh Posté le 23-01-2002 à 13:54:47    

cchenet1:/home/chaica/galeon-1.0.2# ./configure
loading cache ./config.cache
checking for perl... /usr/bin/perl
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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 dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executabl
es.
 
 
Je sais pas si ca s'améliore mais bon. Si vous voyez quelque chose.
 
CHaiCA

Reply

Marsh Posté le 23-01-2002 à 14:04:59    

je dirais 'apt-get install cpp'
pour le makeinfo:missing -> textinfo

Reply

Marsh Posté le 23-01-2002 à 14:08:25    

lance g++ sur un file quelconque et il te dira ce qu'il ne va pas. à priori il te manque les librairies std c++

Reply

Marsh Posté le 23-01-2002 à 14:09:23    

si tu veux être sur de tout avoir : apt-get install task-dev-c++

Reply

Marsh Posté le 23-01-2002 à 14:09:23   

Reply

Marsh Posté le 23-01-2002 à 18:42:08    

cchenet1:~# apt-get install task-c++-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package task-c++-dev
 
Marche pas, pourtant le package y est i je fais :
 
cchenet1:~# dpkg -l 'task-c++-dev'                
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  task-c++-dev   <none>         (no description available)
 
Chelou...
 
CHaiCA

Reply

Marsh Posté le 24-01-2002 à 10:26:15    

Euuhh tu le fais un peu expres non ?
 

Citation :


si tu veux être sur de tout avoir : apt-get install task-dev-c++


 

Citation :


cchenet1:~# apt-get install task-c++-dev


 
Y a comme une petite difference...
Sinon deja c pas un package a proprement parler, mais un groupe de package qui devrait t'installer tout ce dont tu as besoin pour faire du dev C++
 
++

Reply

Marsh Posté le 24-01-2002 à 10:34:55    

cchenet1:/# apt-get install task-dev-c++
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package task-dev-c
 
et je signale au passage :
 
cchenet1:/# dpkg -l 'task-dev-c++'
No packages found matching task-dev-c++.
 
Voilà donc je suis toujours assez perplexe.
 
CHaiCA

Reply

Marsh Posté le 24-01-2002 à 10:38:42    

:??: bon ben 'tasksel' alors !:D

Reply

Marsh Posté le 24-01-2002 à 10:39:16    

apt-get install binutils
 
Ce sont les outils permettant de manipuler le format des executables. gcc les utilise pour créer les fichier executables à la fin :)


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
Reply

Marsh Posté le 24-01-2002 à 10:50:34    

Binutils est déja installé.
Sinon je pige pas quand le package task-c++-dev est dans ma liste :
 
cchenet1:/home/chaica/galeon-1.0.2# dpkg -l 'task-c++-dev'
Desired=Unknown/Install/Remove/Purge/Hold
| Staapt-get tus=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  task-c++-dev   <none>         (no description available)
 
et pourtant quand je tape apt-get install task-c++-dev il me sort :
cchenet1:/home/chaica/galeon-1.0.2# apt-get install task-c++-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package task-c++-dev
 
Problème insoluble?
 
CHaiCA

Reply

Marsh Posté le 24-01-2002 à 10:59:14    

tasksel

Reply

Marsh Posté le 24-01-2002 à 11:01:56    

J'ai déjà eu ce problème aussi.
 
Tu peux installer tasksel et puis le lancer pour sélectionner les outils de dev. Ca passera peut-être.

Reply

Marsh Posté le 24-01-2002 à 11:03:45    

Les packages en task-* ne sont pas des packages a proprement parler, mais des meta-packages. Il ne contiennent rien de concret, mais seulement des dependances et suggestions de packages  
 
Donc normalement qd tu fais 'apt-get install task-c++-dev' (c'est effectivement ce nom qui est le bon), il devrait te donner une liste de packages a installer  
Si ca ne marche pas chez toi, c'est probablement un probleme de source pour apt:  
- Qu'est-ce que tu as dans ton fichier /etc/apt.sources.list?  
- Ta liste de packages est-elle a jour ? (apt-get update)  
 
++

 

[edtdd]--Message édité par pipomolo--[/edtdd]

Reply

Marsh Posté le 24-01-2002 à 11:11:53    

Mon apt-get fonctionne très bien j'ai toujours installé ce que je voulais mais si tu tiens à le voir :
 
cchenet1:/home/chaica/galeon-1.0.2# cat /etc/apt/sources.list
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
 
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://http.us.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian testing main contrib non-free
 
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
 
#deb http://security.debian.org stable/updates main contrib non-free
 
#FTP USA
#deb ftp://ftp.debian.org/debian unstable main contrib non-free
deb ftp://ftp.debian.org/debian testing main contrib non-free
 
#FTP FRANCE
#deb ftp://ftp.fr.debian.org/debian stable main contrib non-free
#deb ftp://ftp.fr.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.fr.debian.org/debian testing main contrib non-free
 
# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US
 
#deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main
 
Bon ben sinon je piétine c'est con je voudrais bien m'installer galeon.
 
CHaiCA

Reply

Marsh Posté le 24-01-2002 à 11:18:58    

je crois avoir trouvé.  

Citation :


bassed6: /home/manu# apt-get -s install task-c++-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  task-devel-common  
The following NEW packages will be installed:
  task-c++-dev task-devel-common  
0 packages upgraded, 2 newly installed, 0 to remove and 1  not upgraded.
Inst task-devel-common (0.5 Debian:2.2r5/stable)
Inst task-c++-dev (0.5 Debian:2.2r5/stable)
Conf task-devel-common (0.5 Debian:2.2r5/stable)
Conf task-c++-dev (0.5 Debian:2.2r5/stable)


 
à priori la dernière version du pkge en question est dans la potato, il faudrait donc que tu ajoutes une entrée 'stable' dans ton sources.list.

 

[edtdd]--Message édité par minusplus--[/edtdd]

Reply

Marsh Posté le 24-01-2002 à 11:40:46    

minusplus a écrit a écrit :

je crois avoir trouvé.  
 
à priori la dernière version du pkge en question est dans la potato, il faudrait donc que tu ajoutes une entrée 'stable' dans ton sources.list.  




 
J'allais dire la meme chose :D
 
++

Reply

Marsh Posté le 24-01-2002 à 11:43:47    

Bon je vous copie/colle où j'en suis après divers manips :
 
cchenet1:/home/chaica/galeon-1.0.2# ./configure
loading cache ./config.cache
checking for perl... /usr/bin/perl
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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 dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ANSI C header files... yes
checking for orbit-config... no
checking for ORBit - version >= 0.5.1... no
*** The orbit-config script installed by ORBIT could not be found
*** If ORBit was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ORBIT_CONFIG environment variable to the
*** full path to orbit-config.
checking for orbit-idl... notfound
*** The idl compiler 'orbit-idl' was not found in $PATH.
checking for glib-config... no
checking for GLIB - version >= 1.2.9... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error:  
*** GLIB 1.2.9 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/
 
Arf sinon j'ai mis une entrée stable dans ma liste et j'ai fait apt-get install task-c++-dev
 
Good luck!  
 
ChaiCA

 

[edtdd]--Message édité par chaica--[/edtdd]

Reply

Marsh Posté le 24-01-2002 à 13:09:04    

Un p'tit up discretos... :bounce:
 
CHaiCA

Reply

Marsh Posté le 24-01-2002 à 13:11:06    

Mhhh dis donc tu es en woody ou en potato ?
 
Parceque pour la glib:
potato = 1.2.7-2
woody = 1.2.10-3
sid = 1.3.12-2
 
Donc en woody ca devrais rouler (car >= 1.2.9)
 
Et vu ton apt.sources.list, un petit 'apt-get install libglib' devrait te mettre la 1.2.10-3
 
++

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed