[postgis-users] Postgis on Solaris 10
Koen Van Daele
koen_van_daele at telenet.be
Fri Jan 27 01:58:17 PST 2006
Hello,
I am trying to install Postgis on Solaris 10.
I installed postgresql from blastwave.org (Postgresql 8.1).
I also installed geos (2.0.0) and proj (4.4.8) from blastwave.
I tried compiling postgis, this gave me several errors. I removed the
blastwave version of geos because it seems rather old and compiled the
latest release (2.2.1). This seems to have worked.
Now when I trien to compile postgis I get the following errors:
In file included from /opt/csw/postgresql/include/server/c.h:53,
from /opt/csw/postgresql/include/server/postgres.h:48,
from lwgeom_pg.h:4,
from liblwgeom.c:26:
/opt/csw/postgresql/include/server/pg_config.h:659:1: warning:
"_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/stdarg_c99.h:34,
from /usr/include/stdarg.h:33,
from
/opt/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.2/include/stdio.h:14,
from liblwgeom.c:1:
/usr/include/sys/feature_tests.h:188:1: warning: this is the location of
the previous definition
In file included from /opt/csw/postgresql/include/server/c.h:821,
from /opt/csw/postgresql/include/server/postgres.h:48,
from lwgeom_pg.h:4,
from liblwgeom.c:26:
/opt/csw/postgresql/include/server/port.h:299: error: conflicting types
for 'unsetenv'
/usr/include/stdlib.h:188: error: previous declaration of 'unsetenv' was
here
/opt/csw/postgresql/include/server/port.h:299: error: conflicting types
for 'unsetenv'
/usr/include/stdlib.h:188: error: previous declaration of 'unsetenv' was
here
Can anyone help me? I'm rather new to all this so I don't know what to
do. From reading the list I gather it might be compiler-related? Should
I just compile everything (postgresql, proj, geos and postgis) from scratch?
Greetings,
Koen Van Daele
--
The knack of flying is learning how to throw yourself at the ground and miss.
--Hitchhikers Guide to the Galaxy
More information about the postgis-users
mailing list