[postgis-users] opensolaris 2009.06

Paragon Corporation lr at pcorp.us
Fri Sep 4 14:41:54 PDT 2009


Paul,

Can't tell what is wrong here.  I'm not seeing any compile errors in your
below, though I'm can't claim to be familiar with open solaris anyway.  What
error are you getting exactly?

Keep in mind that for 1.4 the file you should be running is postgis.sql (not
lwpostgis.sql as in prior versions) and the file created is postgis-1.4.so
not lwgeom..so

I think 1.4 does read pgxs from the postgresql install, so perhaps that is
why you are seeing the gcc replaced with opt you are mentioning.

Hope that helps,
Regina

 

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Paul
Lamb
Sent: Friday, September 04, 2009 3:19 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] opensolaris 2009.06

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).


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users






More information about the postgis-users mailing list