[postgis] Mandrake install (about rpm release)

Paul Ramsey pramsey at refractions.net
Sun Jul 29 23:20:01 PDT 2001


OK, RPM'ers, I have a SRPM for postgresql which includes postgis.

http://postgis.refractions.net/rpms/postgresql-7.1.2-5PGDG.src.rpm

Build it (rpm --rebuild <src_rpm>), and in your RPMS directory you will
find...

postgresql-7.1.2-5PGDG.i586.rpm
postgresql-contrib-7.1.2-5PGDG.i586.rpm
postgresql-devel-7.1.2-5PGDG.i586.rpm
postgresql-docs-7.1.2-5PGDG.i586.rpm
postgresql-jdbc-7.1.2-5PGDG.i586.rpm
postgresql-libs-7.1.2-5PGDG.i586.rpm
postgresql-odbc-7.1.2-5PGDG.i586.rpm
postgresql-perl-7.1.2-5PGDG.i586.rpm
postgresql-postgis-7.1.2-5PGDG.i586.rpm
postgresql-python-7.1.2-5PGDG.i586.rpm
postgresql-server-7.1.2-5PGDG.i586.rpm
postgresql-tcl-7.1.2-5PGDG.i586.rpm
postgresql-test-7.1.2-5PGDG.i586.rpm
postgresql-tk-7.1.2-5PGDG.i586.rpm     

All the postgis files end up in /usr/lib/pgsql/postgis including the
all-important postgis.sql file. 

The spec file is a crime, but it works. I have binaries as well, but
they are only suitable for Mandrake 7/Red Hat 6 (glibc 2.0). Adrian, I
am guessing you are Mandrake 8.

Paul Ramsey wrote:
> 
> Adrian Custer wrote:
> >
> > Could PostGIS be modified to build under this RPM scenario. If so, could
> > someone using a RedHat .rpm distribution of PostgreSQL see if RedHat
> > puts the files in a similar spot? Simiarly, do other distributions use
> > this file system hiearchy?
> 
> The PostgreSQL team itself has an RPM bundler, who does a pretty scarily
> thorough job. You can see the fruits of his labour here:
> 
> ftp://looking-glass.usask.ca/pub/postgresql/binary/v7.1.2/RPMS/
> 
> From comparing the directories, it looks like he uses the same package
> breakdowns for all the distros. I am going to take his SRPM and add the
> PostGIS 0.5 sources to it for a lark.
> 
>   postgresql-7.1.2-4PGDG.i686.rpm
>   postgresql-contrib-7.1.2-4PGDG.i686.rpm
>   postgresql-devel-7.1.2-4PGDG.i686.rpm
>   postgresql-docs-7.1.2-4PGDG.i686.rpm
>   postgresql-jdbc-7.1.2-4PGDG.i686.rpm
>   postgresql-libs-7.1.2-4PGDG.i686.rpm
>   postgresql-odbc-7.1.2-4PGDG.i686.rpm
>   postgresql-perl-7.1.2-4PGDG.i686.rpm
>   postgresql-python-7.1.2-4PGDG.i686.rpm
>   postgresql-server-7.1.2-4PGDG.i686.rpm
>   postgresql-tcl-7.1.2-4PGDG.i686.rpm
>   postgresql-test-7.1.2-4PGDG.i686.rpm
>   postgresql-tk-7.1.2-4PGDG.i686.rpm
> 
> 
> To unsubscribe from this group, send an email to:
> postgis-unsubscribe at yahoogroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txzCAA/ySSFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list