[STATSGRASS] GSTAT 2.4.4 compile problem with GRASS 6.0.0
Thomas Adams
Thomas.Adams at noaa.gov
Fri Jun 3 07:58:29 EDT 2005
Edzer ,
I attempted to build gstat 2.4.4 on Mac OS X 10.4 with GRASS support. I
get an error during the link phase of the build:
ld: -L: directory name missing
make[1]: *** [gstat] Error 1
make: *** [src/gstat] Error 2
Below is more detail of the configure process and the final steps
leading up to the error. I'm attempting to link against Lorenzo
Moretti's GRASS 6.0.0 build for Mac OS X. When I run make without GRASS
support, I get no errors.
Regards,
Tom
[Thomas-Adamss-Computer:FireWire58600/Geostatistics/gstat-2.4.4]
teaiii% ./configure --with-grass=/Applications/Grass/grass60.app/
Contents/Resources/grass-6.0.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C...
checking for sys/types.h... 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... yes
checking for function prototypes... yes
checking for an ANSI C-conforming const... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking stat.h usability... no
checking stat.h presence... no
checking for stat.h... no
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for popen... yes
checking for drand48... yes
checking for gettimeofday... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for getopt_long... yes
checking for getopt... yes
checking whether byte ordering is bigendian... yes
checking for main in -lncurses... yes
checking for gdImagePng in -lgd... no
checking for gdImageGif in -lgd... no
checking for main in -lnetcdf... yes
checking for GDALAllRegister in -lgdal... no
checking for QRfactor in -lmeschach... no
checking for MgetVersion in -lcsf... no
checking for G_gisinit in -lgrass_gis... no
checking for G_gisinit in -lgis... no
checking for main in -lgsl... no
configure: creating ./config.status
config.status: creating makefile
config.status: creating src/makefile
config.status: creating doc/tex/makefile
config.status: creating src/config.h
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H utils.c
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H vario.c
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H vario_fn.c
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H vario_io.c
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H writecmd.c
gcc -c -g -O2 -I../include -I/usr/include/ncurses -I/Applications/
Grass/grass60.app/Contents/Resources/grass-6.0.0/include -
DHAVE_CONFIG_H xvalid.c
gcc -o gstat block.o data.o direct.o fig.o fit.o getest.o gls.o
glvars.o gstat.o lex.o lm.o map2fig.o map2gd.o mapio.o maputils.o
msim.o nsearch.o ossfim.o palet.o parse.o plot.o polygon.o pqueue.o
predict.o random.o read.o reml.o report.o sample.o select.o sem.o
sem_main.o sim.o stat.o ui.o userio.o utils.o vario.o vario_fn.o
vario_io.o writecmd.o xvalid.o -flat_namespace -L../lib -lmeschach -
lnetcdf -lncurses -L /Applications/Grass/grass60.app/Contents/
Resources/grass-6.0.0/lib /usr/local/grass5/lib -lz -lm
ld: -L: directory name missing
make[1]: *** [gstat] Error 1
make: *** [src/gstat] Error 2
--
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177
EMAIL: thomas.adams at noaa.gov
VOICE: 937-383-0528
FAX: 937-383-0033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-stats/attachments/20050603/bad07adb/attachment.html
More information about the grass-stats
mailing list