Re: [postgis-users] PostGIS 2.0 on CentOS 5

2012-05-21 Thread Pierre Racine
  Anybody knows where CentOS 5 binaries are available (if they exists)?
 
 No. Dependencies like Gdal, etc. are too old on RHEL 5.

And how hard is it to compile everything?

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] PostGIS 2.0 on CentOS 5

2012-05-21 Thread Devrim GÜNDÜZ
On Mon, 2012-05-21 at 12:18 -0400, Pierre Racine wrote:
  No. Dependencies like Gdal, etc. are too old on RHEL 5.
 
 And how hard is it to compile everything?

Compile for building RPMs? If you expect it from me (as the packager),
no, I'm not doing it :-) OTOH, I have no idea how hard it is.

That said, RHEL 5 is 5 years old. Time to upgrade.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz


signature.asc
Description: This is a digitally signed message part
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] PostGIS 2.0 on CentOS 5

2012-05-21 Thread Gold, Jack L (US SSA)
It's not hard to build for CentOS 5.  That's where I'm running it, but I don't 
use the RPMs.

-J Gold

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Devrim 
GÜNDÜZ
Sent: Monday, May 21, 2012 12:37 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] PostGIS 2.0 on CentOS 5

On Mon, 2012-05-21 at 12:18 -0400, Pierre Racine wrote:
  No. Dependencies like Gdal, etc. are too old on RHEL 5.
 
 And how hard is it to compile everything?

Compile for building RPMs? If you expect it from me (as the packager), no, I'm 
not doing it :-) OTOH, I have no idea how hard it is.

That said, RHEL 5 is 5 years old. Time to upgrade.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com 
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr 
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] PostGIS 2.0 on CentOS 5

2012-05-21 Thread Gold, Jack L (US SSA)
You'll need gcc-g++ among a few other things.  If you want pgAdminIII to work, 
it gets trickier since you have to have postgresql-9.1.

Easy solution is to get the 9.1 postgres from the PGDG repo at their site.

Once you have that, you'll need to build swig-1.3.29(used for gdal java libs, I 
believe), proj.4-4.8, geos-3.3.2, and gdal-1.9.0.

1.  yum install swig (That should get you the latest and greatest swig build).
2. Build Proj.4
a. get proj-4.8.0.tar.gz
b. tar -xvf proj-4.8.0.tar.gz
c. cd proj-4.8.0
d. ./configure --without-jni
e. make; make install
3. Build Geos
a. get geos-3.3.2.tar.bz2
b. tar -xvf geos-3.3.2.tar.bz2
c. cd geos-3.3.2
d. ./configure --enable-python
e. make;make install
4. Build GDal
a. get gdal-1.9.0.tar.gz
b. tar -xvf gdal-1.9.0.tar.gz
c. cd gdal-1.9.0
d. make; make install
e. chmod 755 tools/geos-config
5. Build PostGIS-2.0
a. get the postgis-2.0 version you want
b. tar -xvf postgis-2.0.tar.gz  (or whatever version you're using)
c. ./configure --with-raster 
--with-pgconfig=/usr/pgsql-9.1/bin/pg_config  --with-geosconfig=path to geos 
extracted directory/tools/geos-config
d. make; make install 


You might need to tweak which configuration parameters you are using for your 
build, but this is how I built it.  Note, the CentOS version of pgAdminIII will 
not work with postgresql-9.1, so you'll need to build it yourself.  The easiest 
way to do this is to hook up with the rpmforge yum repo and try to install it.  
Otherwise, building pgAdminIII requires a bit of playing with as well.

J. Gold

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Gold, Jack 
L (US SSA)
Sent: Monday, May 21, 2012 1:16 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] PostGIS 2.0 on CentOS 5

It's not hard to build for CentOS 5.  That's where I'm running it, but I don't 
use the RPMs.

-J Gold

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Devrim 
GÜNDÜZ
Sent: Monday, May 21, 2012 12:37 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] PostGIS 2.0 on CentOS 5

On Mon, 2012-05-21 at 12:18 -0400, Pierre Racine wrote:
  No. Dependencies like Gdal, etc. are too old on RHEL 5.
 
 And how hard is it to compile everything?

Compile for building RPMs? If you expect it from me (as the packager), no, I'm 
not doing it :-) OTOH, I have no idea how hard it is.

That said, RHEL 5 is 5 years old. Time to upgrade.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com 
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr 
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz 
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Installing on Debian

2012-05-21 Thread Jeff Meyer
Buon giorno Paolo - 

Have you had any luck here?
If not, have you tried the Ubuntu install instructions? 
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204

Thanks, Jeff





 From: Paolo Cavallini cavall...@faunalia.it
To: PostGIS Users Discussion postgis-users@postgis.refractions.net 
Sent: Monday, May 21, 2012 4:04 AM
Subject: [postgis-users] Installing on Debian
 
Hi all.
The Debian package for 2.0 is still not done (any volunteer here?). Is there a 
clean
install howto for Debian unstable/testing? I only found outdated/incomplete 
instructions.
All the best, and thanks.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Installing on Debian

2012-05-21 Thread Mike Toews
On 21 May 2012 23:04, Paolo Cavallini cavall...@faunalia.it wrote:
 Hi all.
 The Debian package for 2.0 is still not done (any volunteer here?). Is there 
 a clean
 install howto for Debian unstable/testing? I only found outdated/incomplete 
 instructions.
 All the best, and thanks.

Hi Paolo,

Here are some simple instructions for Debian 6.0 (squeeze):
http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Debian60src

It looks like you still need to compile GEOS for PostGIS 2.0, since
they are still packaging old versions for Debian sid. Mind you, the
way these instructions work, the make test will fail on PostGIS 2.0
configured --with-raster, as there will be a second GEOS installed as
a dependency for the libgdal-dev package.

-Mike
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users