[GRASSLIST:2073] Compile 5.7 CVS on Mac OS X

David Orme d.orme at imperial.ac.uk
Wed Dec 17 08:09:40 EST 2003


Hi,

I'm trying to install grass5.7 from the weekly CVS snapshots  
(2003_12_13 versions) on Mac OS 10.2.8. I've configured the install as  
follows:

> bash-2.05a$ CFLAGS="-g -Wall" ./configure     
> --with-grass50=//usr/local/src/grass53_exp_2003_12_13  
> --with-postgres-includes=/usr/local/pgsql/include/  
> --with-postgres-libs=/usr/local/pgsql/lib/ --with-opengl=no
> bash-2.05a$ make mix
> bash-2.05a$ make

and then the make fails with:

> /usr/bin/libtool: can't locate file for: -lpq
> /usr/bin/libtool: file: -lpq is not an object file (not allowed in a  
> library)
> make[3]: ***  
> [/usr/local/src/grass57_exp_2003_12_13/dist.powerpc-apple-darwin6.8/ 
> lib/libgrass_vect.dylib] Error 1
> make[2]: *** [subdirs] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [default] Error 1

Looking about on the web, I think this means it is failing to find a  
postgresql library, but the configure does include a pointer to those  
libs

any suggestions?

Thanks,
david




More information about the grass-user mailing list