[GRASS5] libgrass make errors..

H Bowman hamish_nospam at yahoo.com
Sat May 10 09:27:56 EDT 2003


I'm trying to build libgrass from CVS on RedHat 8.0 / intel / gcc 3.2 ..

Not sure where the libgrass-devel questions should go, sorry if this is the wrong place.


problem 1:
$ ./configure
[...]
$ make

Making all in gis
make[1]: Entering directory `/usr/src/grass/libgrass/gis'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c elist.c
libtool: ltconfig version `' does not match ltmain.sh version `1.3'
Fatal configuration error.  See the libtool docs for more information.
make[1]: *** [elist.lo] Error 1
make[1]: Leaving directory `/usr/src/grass/libgrass/gis'
make: *** [all-recursive] Error 1

$ ./ltconfig --version
ltconfig (GNU libtool) 1.3 (1.385.2.117 1999/04/29 13:07:13)


Looking through ltmain.sh it is checking against v1.3, so I comment out the check and re-run ./configure and make.. which works until...


problem 2:

make
[...]
Making all in samples
make[1]: Entering directory `/usr/src/grass/libgrass/samples'
source='grassinfo.c' object='grassinfo.o' libtool=no \
depfile='.deps/grassinfo.Po' tmpdepfile='.deps/grassinfo.TPo' \
depmode=none /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../gis -I../gis    -g -O2 -c `test -f 'grassinfo.c' || echo './'`grassinfo.c
../depcomp: ../depcomp: No such file or directory
make[1]: *** [grassinfo.o] Error 127
make[1]: Leaving directory `/usr/src/grass/libgrass/samples'
make: *** [all-recursive] Error 1

$ which depcomp
/usr/bin/which: no depcomp in (...)

$ locate depcomp
/usr/share/automake-1.6/depcomp
/usr/share/automake-1.5/depcomp

$ ln -s /usr/share/automake-1.6/depcomp depcomp
$ make
[...]
make[1]: Leaving directory `/usr/src/grass/libgrass'

$ make install 
  
  & successful install, but it took a while.




Hamish




More information about the grass-dev mailing list