Re: [Pkg-grass-general] Re: DebianGis: Packaging postgis/geos
Roberto,
Sorry about the libgeos2 rename. I messed up according to policy and had
to change it.
To get the package to build I also had to make a few scripts executable:
-rwxr-xr-x 1 steve steve 730 Nov 14 17:57 mkinstalldirs
-rwxr-xr-x 1 steve steve 8.7K Nov 14 17:57 postgis_build
-rwxr-xr-x 1 steve steve 870 Nov 14 17:57 postgis_clean
-rwxr-xr-x 1 steve steve 1.5K Nov 14 17:57 postgis_install
The built package though doesn't contain the libraries:
# dpkg -L postgis
/.
/usr
/usr/lib
/usr/lib/postgresql
/usr/lib/postgresql/bin
/usr/lib/postgresql/lib
/usr/share
/usr/share/doc
/usr/share/doc/postgis
/usr/share/doc/postgis/TODO
/usr/share/doc/postgis/html
/usr/share/doc/postgis/html/style.css
/usr/share/doc/postgis/html/postgis.html
/usr/share/doc/postgis/README.Debian
/usr/share/doc/postgis/README.postgis.gz
/usr/share/doc/postgis/copyright
/usr/share/doc/postgis/examples
/usr/share/doc/postgis/examples/wkb_reader
/usr/share/doc/postgis/examples/wkb_reader/Makefile
/usr/share/doc/postgis/examples/wkb_reader/README
/usr/share/doc/postgis/examples/wkb_reader/readwkb.c.gz
/usr/share/doc/postgis/examples/wkb_reader/printwkb.inc.gz
/usr/share/doc/postgis/examples/ogc_test_suite
/usr/share/doc/postgis/examples/ogc_test_suite/3_cleanup.sql
/usr/share/doc/postgis/examples/ogc_test_suite/2_queries.sql.gz
/usr/share/doc/postgis/examples/ogc_test_suite/README
/usr/share/doc/postgis/examples/ogc_test_suite/1_schema.sql.gz
/usr/share/doc/postgis/changelog.gz
/usr/share/doc/postgis/CREDITS
/usr/share/doc/postgis/changelog.Debian.gz
/usr/share/postgresql
It looks like they got built in the main postgis-0.9.0 directory, but
were never installed to postgis-0.9.0/debian/postgis
The problem seems to be this line of debian/postgis_install:
${PACKAGE_ROOT}/debian/mkinstalldirs /usr/share/doc/postgresql/contrib
/usr/share/postgresql/contrib /usr/lib
If I comment that out things get installed ok. I haven't had time to
check if it actually works or conforms to policy though. I think you may
have missed the above problems by building the package as root? I build
as a regular user with dpkg-buildpackage -rfakeroot. I don't know if the
maintainer guide suggests this only since it can be done by a user
without root access or if there are other reasons.
Is there a way to get the output of postgis_build etc. to the console?
It could come in helpful later if autobuilding fails on an architecture
you don't have access to.
Thanks for your work.
Steve
On Fri, 2004-11-19 at 07:04, Roberto Boati wrote:
> Sorry, package libgeos has been renamed few days ago and I missed it.
> I rebuilt new packages, they are ready on ftp://daisyred.it/debian/postgis.
>
> Thanks.
>
> On Fri, 19 Nov 2004 11:02:40 +0100 (CET), Moritz Lennert
> <mlennert@club.worldonline.be> wrote:
> > I just tried installing it, but it depends on libgeos1 and Steve's libgeos
> > package on the mentors site gives libgeos2... Do we have libgeos1 as a deb
> > ?
> >
> > Moritz
>
Reply to: