Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1671 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Debian et compilation

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Debian et compilation

n°60784
chaica
Posté le 23-01-2002 à 13:32:36  profilanswer
 

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

mood
Publicité
Posté le 23-01-2002 à 13:32:36  profilanswer
 

n°60786
pipomolo
faisez gaffe aux pigeons
Posté le 23-01-2002 à 13:36:50  profilanswer
 

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]

n°60787
chaica
Posté le 23-01-2002 à 13:41:20  profilanswer
 

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

n°60788
pipomolo
faisez gaffe aux pigeons
Posté le 23-01-2002 à 13:42:10  profilanswer
 

apt-get install gcc
 
++

n°60790
chaica
Posté le 23-01-2002 à 13:45:27  profilanswer
 

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

n°60791
pipomolo
faisez gaffe aux pigeons
Posté le 23-01-2002 à 13:50:45  profilanswer
 

apt-get install libc6-dev
 
++

n°60792
chaica
Posté le 23-01-2002 à 13:54:47  profilanswer
 

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

n°60796
911GT3
en roue libre
Posté le 23-01-2002 à 14:04:59  profilanswer
 

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

n°60798
minusplus
Posté le 23-01-2002 à 14:08:25  profilanswer
 

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

n°60799
minusplus
Posté le 23-01-2002 à 14:09:23  profilanswer
 

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

mood
Publicité
Posté le 23-01-2002 à 14:09:23  profilanswer
 

n°60858
chaica
Posté le 23-01-2002 à 18:42:08  profilanswer
 

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

n°61005
pipomolo
faisez gaffe aux pigeons
Posté le 24-01-2002 à 10:26:15  profilanswer
 

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++
 
++

n°61010
chaica
Posté le 24-01-2002 à 10:34:55  profilanswer
 

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

n°61011
minusplus
Posté le 24-01-2002 à 10:38:42  profilanswer
 

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

n°61012
kadreg
profil: Utilisateur
Posté le 24-01-2002 à 10:39:16  profilanswer
 

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 !
n°61020
chaica
Posté le 24-01-2002 à 10:50:34  profilanswer
 

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

n°61022
minusplus
Posté le 24-01-2002 à 10:59:14  profilanswer
 

tasksel

n°61023
cedric80
Posté le 24-01-2002 à 11:01:56  profilanswer
 

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.

n°61024
pipomolo
faisez gaffe aux pigeons
Posté le 24-01-2002 à 11:03:45  profilanswer
 

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]

n°61026
chaica
Posté le 24-01-2002 à 11:11:53  profilanswer
 

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

n°61027
minusplus
Posté le 24-01-2002 à 11:18:58  profilanswer
 

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]

n°61032
pipomolo
faisez gaffe aux pigeons
Posté le 24-01-2002 à 11:40:46  profilanswer
 

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
 
++

n°61033
chaica
Posté le 24-01-2002 à 11:43:47  profilanswer
 

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]

n°61042
chaica
Posté le 24-01-2002 à 13:09:04  profilanswer
 

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

n°61043
pipomolo
faisez gaffe aux pigeons
Posté le 24-01-2002 à 13:11:06  profilanswer
 

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
 
++

mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Debian et compilation

 

Sujets relatifs
Problème X après upgrade (debian) [ RESOLU ]Quelle config matérielle pour la Debian?
[Debian] Y a pas a dire, des fois, on est content d'avoir une debian..RH7.2 et problème compilation
La Debian Woody est elle stable ?Debian et X [ RESOLU ]
Mirroir DebianAutres questions debian
Debian -enlightenment- [ RESOLU ]Compilation de noyau (debian)
Plus de sujets relatifs à : Debian et compilation


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR