[postgis-users] PostGIS 1.4.0 make problems on Solaris 10

Paragon Corporation lr at pcorp.us
Thu Sep 24 00:02:13 PDT 2009


Andrew,

These settings in 1.4 are picked up from the PostgreSQL PGXS.  My guess is
you did not compile your own PostgreSQL 8.4 so maybe those settings are the
defaults for who ever is distributing the binary you have.

This link might help

http://www.postgis.org/pipermail/postgis-users/2009-September/024439.html

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 Andrew
Smith
Sent: Thursday, September 24, 2009 2:43 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] PostGIS 1.4.0 make problems on Solaris 10

Hi all,

Let me preface this email by stating that while I have a basic working
knowledge of Solaris, I had never tried compiling an application on that
platform before today.  My knowledge of makefiles and the make process is
essentially zero.  That being said, here is my problem.
I've been asked to install PostGIS onto a Solaris 10 machine. In order to do
that, I first installed PostgreSQL 8.4.1, then PROJ.4 (4.6.1), then GEOS
(3.1.1). All of those were quite easy and gave me no trouble whatsoever.

Next, I tried to install PostGIS.  According to the documentation on the
PostGIS website, this should be as straightfoward as:

./configure
make
make install

Whilst the configure works, the make fails dismally. In a nutshell, here's
the problem:

<snip>
gmake -C postgis
gmake[1]: Entering directory `/tmp/postgis-1.4.0/postgis'
/net/grok/ontools/onnv-tools/SUNWspro/SS11/bin/cc -Xa -E -traditional-cpp
postgis.sql.in.c | grep -v '^#' > postgis.sql.in
/bin/sh: /net/grok/ontools/onnv-tools/SUNWspro/SS11/bin/cc: not found