[postgis-devel] jdbc2 builds
strk at refractions.net
strk at refractions.net
Mon Apr 18 02:44:51 PDT 2005
When we'll have autoconf build we'll be able to test for a
list of paths to it, or let user specify its location.
--strk;
On Mon, Apr 18, 2005 at 12:24:03PM +0300, Devrim GUNDUZ wrote:
>
> Hi,
>
> I'm working on packaging PostGIS JDBC2, and had some problems:
>
> AFAICS, the jdbc2 makefile assumes that the name of the PostgreSQL jar
> is postgresql.jar, but I think it is wrong. To build RPMs, I ran the
> following shell script:
>
> #!/bin/bash
> JDBC_VERSION_RPM=`rpm -ql postgresql-jdbc| grep 'jdbc2.jar$'|awk -F '/'
> '{print $5}'`
> sed 's/postgresql.jar/'${JDBC_VERSION_RPM}'/g' $MAKEFILE_DIR/Makefile >
> $MAKEFILE_DIR/Makefile.new
> mv -f $MAKEFILE_DIR/Makefile.new $MAKEFILE_DIR/Makefile
>
> (MAKEFILE_DIR is exported via spec file during RPM builds)
>
> Even though this is a solution for RPM, I think we should find a way to
> dedect the name/path of JDBC2 driver of PostgreSQL.
>
> BTW, I've build many RPMs and improved the spec file. See the results at:
>
> http://pgblog.gunduz.org//index.php?entry=entry050418-010328
>
> Regards,
> --
> Devrim GUNDUZ
> Teknik Müdür
> Teknoloji Destek Merkezi - http://www.TDMSoft.com
> Tel : (312) 405 40 16 Fax: (312) 428 19 02
> PGP Key: www.TDMSoft.com/devrimgunduz-tdmsoft.asc
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
More information about the postgis-devel
mailing list