Page 1 of 1

Install postgis

PostPosted: Fri Apr 16, 2010 9:50 pm
by stephen
two ways to install
1.
# portmanager database/postgis

or
2.
cd /usr/ports/databases/postgis

# make build-depends-list
/usr/ports/databases/postgresql84-client
/usr/ports/devel/bison
/usr/ports/devel/gmake
/usr/ports/graphics/proj
/usr/ports/lang/perl5.8
/usr/ports/textproc/docbook-xsl
/usr/ports/textproc/libxslt

make install
This warning pops up
======================= GEOS Support Notice ========================
In order to use the GEOS support, you may need to specially compile
your version of PostgreSQL to link the C++ runtime library.
To do this, invoke the PostgreSQL Makefile script this way:

on csh shell:

setenv LDFLAGS -lstdc++
make