<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<DEFANGED_meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Edzer ,<br>
<br>
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:<br>
<br>
ld: -L: directory name missing
<br>
make[1]: *** [gstat] Error 1
<br>
make: *** [src/gstat] Error 2
<br>
<br>
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.<br>
<br>
Regards,<br>
Tom<br>
<br>
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
<br>
<br>
[Thomas-Adamss-Computer:FireWire58600/Geostatistics/gstat-2.4.4]
teaiii% ./configure --with-grass=/Applications/Grass/grass60.app/
Contents/Resources/grass-6.0.0
<br>
checking for gcc... gcc
<br>
checking for C compiler default output file name... a.out
<br>
checking whether the C compiler works... yes
<br>
checking whether we are cross compiling... no
<br>
checking for suffix of executables...
<br>
checking for suffix of object files... o
<br>
checking whether we are using the GNU C compiler... yes
<br>
checking whether gcc accepts -g... yes
<br>
checking for gcc option to accept ANSI C... none needed
<br>
checking for ranlib... ranlib
<br>
checking for a BSD-compatible install... /usr/bin/install -c
<br>
checking how to run the C preprocessor... gcc -E
<br>
checking for egrep... grep -E
<br>
checking for ANSI C header files... yes
<br>
checking for gcc option to accept ANSI C...
<br>
checking for sys/types.h... yes
<br>
checking for sys/stat.h... yes
<br>
checking for stdlib.h... yes
<br>
checking for string.h... yes
<br>
checking for memory.h... yes
<br>
checking for strings.h... yes
<br>
checking for inttypes.h... yes
<br>
checking for stdint.h... yes
<br>
checking for unistd.h... yes
<br>
checking for function prototypes... yes
<br>
checking for an ANSI C-conforming const... yes
<br>
checking for flex... flex
<br>
checking for yywrap in -lfl... yes
<br>
checking lex output file root... lex.yy
<br>
checking whether yytext is a pointer... yes
<br>
checking for bison... bison -y
<br>
checking stat.h usability... no
<br>
checking stat.h presence... no
<br>
checking for stat.h... no
<br>
checking for unistd.h... yes
<br>
checking getopt.h usability... yes
<br>
checking getopt.h presence... yes
<br>
checking for getopt.h... yes
<br>
checking whether time.h and sys/time.h may both be included... yes
<br>
checking for working memcmp... yes
<br>
checking for vprintf... yes
<br>
checking for _doprnt... no
<br>
checking for strstr... yes
<br>
checking for strtod... yes
<br>
checking for strtol... yes
<br>
checking for popen... yes
<br>
checking for drand48... yes
<br>
checking for gettimeofday... yes
<br>
checking for snprintf... yes
<br>
checking for vsnprintf... yes
<br>
checking for getopt_long... yes
<br>
checking for getopt... yes
<br>
checking whether byte ordering is bigendian... yes
<br>
checking for main in -lncurses... yes
<br>
checking for gdImagePng in -lgd... no
<br>
checking for gdImageGif in -lgd... no
<br>
checking for main in -lnetcdf... yes
<br>
checking for GDALAllRegister in -lgdal... no
<br>
checking for QRfactor in -lmeschach... no
<br>
checking for MgetVersion in -lcsf... no
<br>
checking for G_gisinit in -lgrass_gis... no
<br>
checking for G_gisinit in -lgis... no
<br>
checking for main in -lgsl... no
<br>
configure: creating ./config.status
<br>
config.status: creating makefile
<br>
config.status: creating src/makefile
<br>
config.status: creating doc/tex/makefile
<br>
config.status: creating src/config.h
<br>
<br>
<br>
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
ld: -L: directory name missing
<br>
make[1]: *** [gstat] Error 1
<br>
make: *** [src/gstat] Error 2
<br>
<br>
</div>
<br>
<pre class="moz-signature" cols="72">--
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177
EMAIL:        <a class="moz-txt-link-abbreviated" href="mailto:thomas.adams@noaa.gov">thomas.adams@noaa.gov</a>
VOICE:        937-383-0528
FAX:        937-383-0033</pre>
</body>
</html>