[postgis] compilation error

Frank Warmerdam warmerdam at pobox.com
Wed Aug 15 05:41:11 PDT 2001


Ross.Searle at dnr.qld.gov.au wrote:

>Hi,
>
>I am trying to compile postgis on a Solaris 6 box using GCC and GNU make. I
>keep getting the following error and as I don't know make speak I was
>wondering if anyone could point me in the right direction.
>
>gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -g  -I.
>-I../../src/include  -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o
>postgis_proj.o postgis_proj.c
>ar crs libpostgis.a postgis_debug.o postgis_ops.o postgis_fn.o
>postgis_inout.o postgis_proj.o
>gmake: ar: Command not found
>gmake: *** [libpostgis.a] Error 127
>
Ross,

Try adding /usr/ccs/bin to your path.  The ar command often lives there 
on Solaris.
If that doesn't work, look for ar on your system.  In a pinch the 
following should
find it though it might take a while.

find / -name ar -print

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list