[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-grass-general] Re: DebianGis: Packaging postgis/geos


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

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.


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: