[postgis-users] Building on Solaris 10 x86

Vinicius Carvalho vinicius.carvalho at ericsson.com
Wed Mar 23 07:49:15 PDT 2011

Hi there! I'm trying to install Postgis on a solaris box with x86 arch.

I managed (after some help from the guys from Proj4) to get Proj4 and geos compiled and installed on my box. I have a postgres 9.0.3 installed as well.

So here's what I've done:

./configure --with-pgconfig=/usr/postgres/9.0-pgdg/bin/64/pg_config --with-geosconfig=/usr/local/bin/geos-config --with-projdir=/usr/local/

The output:

PostGIS is now configured for i386-pc-solaris2.10

 -------------- Compiler Info -------------
  C compiler:           gcc -g -O2
  C++ compiler:         g++ -g -O2

 -------------- Dependencies --------------
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.2.2
  PostgreSQL config:    /usr/postgres/9.0-pgdg/bin/64/pg_config
  PostgreSQL version:   PostgreSQL 9.0.3
  PROJ4 version:        47
  Libxml2 config:       /usr/bin/xml2-config
  Libxml2 version:      2.6.23
  PostGIS debug level:  0

 -------- Documentation Generation --------
  xsltproc:             /usr/bin/xsltproc
  xsl style sheets:     /usr/share/sgml/docbook/xsl-stylesheets
  convert:              /usr/sfw/bin/convert

So I run gmake, but get this error:

#: gmake
gmake -C liblwgeom
gmake[1]: Entering directory `/tmp/postgis-1.5.2/liblwgeom'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/postgis-1.5.2/liblwgeom'
gmake -C postgis
gmake[1]: Entering directory `/tmp/postgis-1.5.2/postgis'
/opt/studio11/SUNWspro/bin/cc -Xa -E -traditional-cpp postgis.sql.in.c | grep -v '^#' > postgis.sql.in
/bin/sh: /opt/studio11/SUNWspro/bin/cc: not found
gmake[1]: *** [postgis.sql.in] Error 1
gmake[1]: *** Deleting file `postgis.sql.in'
gmake[1]: Leaving directory `/tmp/postgis-1.5.2/postgis'
gmake: *** [postgis] Error 2

I'm pretty new to solaris (first time trying to build and compile packages), anyone has an idea on how to get this running?



"Creative doing beats creative thinking"

Athlone, Westmeath
Phone 090 64 38579
Mobile 087 298 1434
vinicius.carvalho at ericsson.com


This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110323/487cec89/attachment.html>

More information about the postgis-users mailing list