[postgis-users] opensolaris 2009.06

Paul Lamb paul at oil-law.com
Fri Sep 4 12:18:44 PDT 2009


I know it's not the most commonly used platform but I can't seem to  
get 1.4 to compile on it. 1.3.6 does though. I do have gcc installed  
and it doesn't seem to matter if it's against postgres 8.3 or 8.4.

gmake -C liblwgeom
gmake[1]: Entering directory `/export/home/plamb/install/ 
postgis-1.4.1SVN/liblwgeom'
gcc -g -O2  -fPIC -DPIC   -c -o measures.o measures.c
gcc -g -O2  -fPIC -DPIC   -c -o box2d.o box2d.c
gcc -g -O2  -fPIC -DPIC   -c -o ptarray.o ptarray.c
gcc -g -O2  -fPIC -DPIC   -c -o lwgeom_api.o lwgeom_api.c
gcc -g -O2  -fPIC -DPIC   -c -o lwgeom.o lwgeom.c
gcc -g -O2  -fPIC -DPIC   -c -o lwpoint.o lwpoint.c
gcc -g -O2  -fPIC -DPIC   -c -o lwline.o lwline.c
gcc -g -O2  -fPIC -DPIC   -c -o lwpoly.o lwpoly.c
gcc -g -O2  -fPIC -DPIC   -c -o lwmpoint.o lwmpoint.c
gcc -g -O2  -fPIC -DPIC   -c -o lwmline.o lwmline.c
gcc -g -O2  -fPIC -DPIC   -c -o lwmpoly.o lwmpoly.c
gcc -g -O2  -fPIC -DPIC   -c -o lwcollection.o lwcollection.c
gcc -g -O2  -fPIC -DPIC   -c -o lwcircstring.o lwcircstring.c
gcc -g -O2  -fPIC -DPIC   -c -o lwcompound.o lwcompound.c
gcc -g -O2  -fPIC -DPIC   -c -o lwcurvepoly.o lwcurvepoly.c
gcc -g -O2  -fPIC -DPIC   -c -o lwmcurve.o lwmcurve.c
gcc -g -O2  -fPIC -DPIC   -c -o lwmsurface.o lwmsurface.c
gcc -g -O2  -fPIC -DPIC   -c -o lwutil.o lwutil.c
gcc -g -O2  -fPIC -DPIC   -c -o lwalgorithm.o lwalgorithm.c
gcc -g -O2  -fPIC -DPIC   -c -o lwgunparse.o lwgunparse.c
gcc -g -O2  -fPIC -DPIC   -c -o lwgparse.o lwgparse.c
gcc -g -O2  -fPIC -DPIC   -c -o lwsegmentize.o lwsegmentize.c
gcc -g -O2  -fPIC -DPIC   -c -o wktparse.tab.o wktparse.tab.c
gcc -g -O2  -fPIC -DPIC   -c -o lex.yy.o lex.yy.c
gcc -g -O2  -fPIC -DPIC   -c -o vsprintf.o vsprintf.c
ar rs liblwgeom.a measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o  
lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o  
lwcollection.o lwcircstring.o lwcompound.o lwcurvepoly.o lwmcurve.o  
lwmsurface.o lwutil.o lwalgorithm.o lwgunparse.o lwgparse.o  
lwsegmentize.o wktparse.tab.o lex.yy.o vsprintf.o
gmake[1]: Leaving directory `/export/home/plamb/install/ 
postgis-1.4.1SVN/liblwgeom'
gmake -C postgis
gmake[1]: Entering directory `/export/home/plamb/install/ 
postgis-1.4.1SVN/postgis'
/opt/sunstudio12.1/bin/cc -Xa -E -traditional-cpp postgis.sql.in.c |  
grep -v '^#' > postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/postgis-1.4,g' postgis.sql.in  
 >postgis.sql
/opt/sunstudio12.1/bin/cc -Xa -E -traditional-cpp  
uninstall_postgis.sql.in.c | grep -v '^#' > uninstall_postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/uninstall_postgis-1.4,g'  
uninstall_postgis.sql.in >uninstall_postgis.sql
"/usr/bin/perl" ../utils/postgis_proc_upgrade.pl postgis.sql >  
postgis_upgrade.sql
/opt/sunstudio12.1/bin/cc -Xa -xO3  -xspace -Xa  -xildoff  -xc99=none - 
xCC -KPIC -I/usr/local/include -I/usr/local/include -I../liblwgeom -I.  
-I/usr/local/postgresql84/include/server -I/usr/local/postgresql84/ 
include/internal -I/usr/include/libxml2   -c -o lwgeom_pg.o lwgeom_p

g.c
gmake[1]: Leaving directory `/export/home/plamb/install/ 
postgis-1.4.1SVN/postgis'


What's interesting is that it's suddenly replacing gcc with /opt/ 
sunstudio12.1/bin/cc (which is what postgresql was compiled with).





More information about the postgis-users mailing list