[postgis-users] compile on solaris 11 sparc

Martin Spott Martin.Spott at mgras.net
Fri Sep 2 17:28:59 PDT 2011


Doug McComber wrote:
> On 09/ 2/11 04:59 AM, Martin Spott wrote:

>> CC="gcc -m64"
>> CXX="g++ -m64"
>> CPP="gcc -m64 -E"
[...]
>    CPP="gcc"
[...]
> /opt/studio11/SUNWspro/bin/cc -Xa -E -traditional-cpp postgis.sql.in.c | 
> grep -v '^#' > postgis.sql.in
> /bin/sh: line 1: /opt/studio11/SUNWspro/bin/cc: not found

Here's the difference. In order to call GCC as the preprocessor, you should
add "-E", otherwise configure will (at least I'd expect it this way) realize
this is not a working CPP and will look for an alternate - which typically
is 'cc' on Solaris.

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the postgis-users mailing list