[GRASSLIST:1816] 5.0.3 compilation problems

David Orme d.orme at imperial.ac.uk
Wed Nov 19 05:31:47 EST 2003


Hi,

I'm building 5.0.3 on my Mac (OS 10.2.8) and I get compilation errors  
with a lot of proj involved modules (similar list to Byron Amerson's  
recent post  - Grasslist:1729).

As an example from a build log:

> GISGEN: src/sites/s.proj - Tue Nov 18 17:46:22 GMT 2003
>
> #################################################################
> /usr/local/src/grass-5.0.3/src/sites/s.proj
>   mkdir OBJ.powerpc-apple-darwin6.8
>   make -f OBJ.powerpc-apple-darwin6.8/make.rules
>
> gcc -I/usr/local/src/grass-5.0.3/src/include -g -O2    
> -I/usr/local/include/   -c main.c -o > OBJ.powerpc-apple-darwin6.8/main.o
> gcc -L/usr/local/src/grass-5.0.3/src/libes/LIB.powerpc-apple-darwin6.8  
> -L/usr/local/lib/ -o  
> /usr/local/src/grass-5.0.3/dist.powerpc-apple-darwin6.8/etc/bin/cmd/ 
> s.proj OBJ.powerpc-apple-darwin6.8/main.o -lproj -lgis     -ldatetime   
> -lz
> ld: Undefined symbols:
> _pj_get_kv
> _set_datumshift
> make[1]: ***  
> [/usr/local/src/grass-5.0.3/dist.powerpc-apple-darwin6.8/etc/bin/cmd/ 
> s.proj] Error 1
> GISGEN failure at STEP: src/sites/s.proj

I have proj.4 installed and working on my machine:

> [doibook:~] dorme% proj
> Rel. 4.4.7, 31 March 2003
> usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]

Can anyone suggest a solution?

Many thanks,
David




More information about the grass-user mailing list