[GRASSLIST:1289] Libgrass compiler errors on Mac OS X

M. Beth Wilkerson bwilkerson at DEPAUW.EDU
Thu Sep 18 12:50:19 EDT 2003


Hello,

I'm ultimately trying to get MapServer/GRASS running on Mac OS X, but I'm
having trouble getting things to build successfully.  Previously, I was able
to successfully build libgrass5-1.0.0, but I was not able to get the gdal
library to successfully build with the grass option enabled.  It was
suggested that I get the latest version of the libgrass source from the
GRASS CVS and a nightly snapshot of GDAL, both of which I did.  Now however,
I'm unable to get libgrass to build succesfully.  Below is a listing of my
terminal output.  Can anyone help me find the problem?  Note that as far as
I can tell all of the versions in libtool, ltconfig and ltmain.sh are set to
"1.3".

Thanks in advance,
Beth

[cl103:~/Desktop/libgrass] cgma% ./configure --build=powerpc
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/Users/cgma/Desktop/libgrass/missing: Unknown `--run' option
Try `/Users/cgma/Desktop/libgrass/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking build system type... powerpc-unknown-none
checking host system type... powerpc-unknown-none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependant libraries... unknown
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
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... no
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... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... yes
checking for curses.h... yes
checking for limits.h... yes
checking for termio.h... no
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... no
checking for sys/ioctl.h... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for zlib.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking for ftime... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... yes
checking whether setpgrp takes no argument... yes
checking for exp in -lm... yes
checking for deflate in -lz... yes
checking for xdr_int in -lsun... no
checking for xdr_int in -lnsl... no
checking for xdr_int in -lrpclic... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gis/Makefile
config.status: creating samples/Makefile
config.status: creating gis/config.h
[cl103:~/Desktop/libgrass] cgma% make
Making all in 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: *** [all-recursive] Error 1

-- 
M. Beth Wilkerson
CGMA Project Programmer
Collaboratory for GIS and Mediterranean Archaeology
Department of Classical Studies
DePauw University




More information about the grass-user mailing list