On Wed, Mar 23, 2011 at 3:49 PM, Vinicius Carvalho <[email protected]> wrote: > 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 > dblatex: > 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? > > Regards > > > > VINICIUS CARVALHO > "Creative doing beats creative thinking" > Athlone, Westmeath > Phone 090 64 38579 > Mobile 087 298 1434 > [email protected] > www.ericsson.com > > http://www.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 > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > >
Looks like you don't have the C compiler installed. You may try this: http://frankmash.blogspot.com/2006/08/installing-gcc-compiler-on-solaris-10.html -- Jorge Arévalo Internet & Mobilty Division, DEIMOS [email protected] http://es.linkedin.com/in/jorgearevalo80 http://mobility.grupodeimos.com/ http://gis4free.wordpress.com http://geohash.org/ezjqgrgzz0g _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
