Heu, a un momennt j'utilisait qqch, je crois que c'était auto-apt.
Tu fesait qqch du genre auto-apt configure et ca lancait le ./configure en recuperant tout ce qui manque via apt :)
Essaye toujours :)
J'ai pas de commande auto-apt, ni apt-auto :??:
opfc
Voila une partie du fichier config.log :
configure:1787: checking for gcc
configure:1803: found /usr/bin/gcc
configure:1813: result: gcc
configure:2057: checking for C compiler version
configure:2060: gcc --version </dev/null >&5
gcc (GCC) 3.3.4 (Debian 1:3.3.4-6sarge1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2063: $? = 0
configure:2065: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/in
fo --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-cloc
ale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)
configure:2068: $? = 0
configure:2070: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2073: $? = 1
configure:2097: checking for C compiler default output
configure:2100: gcc conftest.c >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:2103: $? = 1
configure: failed program was:
| #line 2076 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "hddtemp"
| #define VERSION "0.3-beta11"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2142: error: C compiler cannot create executables
See `config.log' for more details.
M300A
:D
Heu, a un momennt j'utilisait qqch, je crois que c'était auto-apt.
Tu fesait qqch du genre auto-apt configure et ca lancait le ./configure en recuperant tout ce qui manque via apt :)
Oui d'accord que je peux install hddtemp par apt-get mais je voudrais quand meme pouvoir compiler des sources. ça sert tjr :pt1cable:
opfc
heu j'ai gcc 3.3.4-2, je viens de l'installer par apt-get.
M300A
apt-get install hddtemp
nicephore17
Tu as quel GCC?
Il dit quoi ton config.log?
opfc
Bonjour, je viens d'installer une debian sarge depuis le cd d'install minimale. Je souhaite pouvoir compiler des sources de programmes mais j'ai un messaes d'erreur qui apparait a chaque fois que je lance les script configure :
rusty:/usr/local/src/hddtemp-0.3-beta11# ./configure --with-db-path=/etc/hddtemp.db
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
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 for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
J'obtiens la meme erreur qelque soit les sources que j'essai de compiler.
Qq un saurait me dire ce qui ne va pas ?
Merci