[GRASSLIST:4148] ./configure gcc problem

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Aug 10 06:34:52 EDT 2004


hello, 

this is probably not a GRASS problem but perhaps somebody encountered this 
problem with GRASS already. 
I tried to compile the GRASS 57 snapshot as well as the older 5.7.0 source, 
but both processes were terminated with a gcc error. Previous attempts did 
not result in such error prompts.

./configure --with-grass50=/home/misc/software/grass/grass53_exp_2004_08_07
checking host 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.

I upgraded some packages under debian and probably some dependencies caused 
gcc to upgrade as well. 

I checked gcc: 

> apt-cache show gcc
Package: gcc
Priority: standard
Section: devel
Installed-Size: 28
Maintainer: Debian GCC maintainers <debian-gcc at lists.debian.org>
Architecture: i386
Source: gcc-defaults (1.17)
Version: 4:3.3.4-2
Provides: c-compiler
Depends: cpp (>= 4:3.3.4-2), gcc-3.3 (>= 1:3.3.4-1), cpp-3.3 (>= 1:3.3.4-1)
Recommends: libc-dev
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, 
gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/gcc_3.3.4-2_i386.deb
Size: 4904
MD5sum: 8137bb3b2add83c858090a125e071124
Description: The GNU C compiler
 This is the GNU C compiler, a fairly portable optimizing compiler for C.
 .
 This is a dependency package providing the default GNU C compiler.

Package: gcc
Priority: standard
Section: devel
Installed-Size: 52
Maintainer: Debian GCC maintainers <debian-gcc at lists.debian.org>
Architecture: i386
Source: gcc-defaults (0.21)
Version: 2:2.95.4-14
Provides: c-compiler
Depends: cpp (>= 2:2.95.4-14), gcc-2.95, cpp-2.95
Recommends: libc-dev
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, 
gcc-2.95-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/gcc_2.95.4-14_i386.deb
Size: 3420
MD5sum: ca2733b8228f1a47592714cbaa3be453
Description: The GNU C compiler.
 This is the GNU C compiler, a fairly portable optimizing compiler for C.
 .
 This is a dependency package providing the default GNU C compiler for
 Debian GNU/Linux systems (version 2.95.4 for architecture i386).
Task: c-dev

any ideas what might be wrong. otherwise I send a mail onto the debian ML. 
cheers Martin




More information about the grass-user mailing list