Install postgis

FreeBSD Installation tips

Install postgis

Postby stephen » Fri Apr 16, 2010 9:50 pm

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
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to FreeBSD

Who is online

Users browsing this forum: No registered users and 5 guests

cron