[GRASSLIST:4153] Re: ./configure gcc problem

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Aug 10 08:50:56 EDT 2004


On Tuesday 10 August 2004 14:31, Glynn Clements wrote:
> Martin Wegmann wrote:
> > 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.
>
> Look in config.log; there should be a group of lines like:
>
> 	configure:721: checking for gcc
> 	configure:825: checking whether the C compiler (gcc -g ) works
> 	configure:841: gcc -o conftest -g   conftest.c  1>&5
>
> If there were any error messages, they will follow the above lines.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:698: checking host system type
configure:721: checking for gcc
configure:825: checking whether the C compiler (gcc  ) works
configure:841: gcc -o conftest    conftest.c  1>&5
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure: failed program was:

#line 836 "configure"
#include "confdefs.h"

main(){return(0);}


gcc or GRASS error? TIA Martin




More information about the grass-user mailing list