[postgis-users] Installation Question
Antti.Roppola at brs.gov.au
Antti.Roppola at brs.gov.au
Mon Aug 19 22:10:13 PDT 2002
Hi Thomas,
I think you need a configured Postgres source to compile against.
I installed the Debian Postres packages and then grabbed the
source bundle using 'apt-get source postgresql'. I can't
remember exactly what I did next, but I unpacked the postgis
source into ./contrib and issued './debian/rules binary' to
build a Debian package. Let's take a guess at it being:
apt-get install postgresql
cd /usr/src/postgres
apt-get source posgresql
gzip -d < postgresql-7.2.1.tgz |tar xvf -
cd postgresql-7.2.1/contrib
gzip -d < ../../postgis.tgz |tar xvf
cd ..
./debian/rules binary
cd ./contrib/postgis/
make
make install
It all went pretty smoothly, so I didn't actually make any notes. :o)
Cheers,
Antti
P.S. Your apt.sources list will need source entries for apt-get source to work
-----Original Message-----
From: Thomas, Cord [mailto:cthomas at rand.org]
Sent: Tuesday, 20 August 2002 7:58 AM
To: 'postgis-users at postgis.refractions.net'
Subject: [postgis-users] Installation Question
I have searched the posts, but am still not clear (and am fairly new to linux/postgres world) on the installation requirements.
I am running Linux Debian
I have postgreSQL installed AND the header and contrib packages installed. But, with these i do not get the directory stucture that leaves me a buildable PostGIS (like i don't have a configure for my PostgreSQL no do i have the Makefile.global called for in the PostGIS Makefile).
Therefore, i ask
A - do i need the full PostgreSQL development source?
B - if not, given my directory structure of /usr/lib/postgresql/share/contrib/postgis-0.7.1 - i do not seem to have the files i need.
Can someone please explain what i am missing (probably need the source) and suggest a better location for things (if necessary)
Thank you
Cord
More information about the postgis-users
mailing list