Bug#326044: [DebianGIS-dev] Bug#326044: grass: FTBFS (amd64): *** Unable to locate PostgreSQL includes.

Steve Halasz debian at adkgis.org
Tue Sep 6 03:25:50 UTC 2005


On Tue, 2005-09-06 at 12:07 +1200, Hamish wrote:
> > Package: grass
> > Version: 6.0.0-1
> > Severity: serious
> > 
> > When building 'grass' on amd64/unstable,
> 
> >From GRASS source code or Debian package src?
> 
> > I get the following error:
> > 
> > checking for Tk_MainWindow in -ltk8.3... yes
> > checking whether to use PostgreSQL... yes
> > checking for location of PostgreSQL includes... /usr/include/postgresql
> > checking for libpq-fe.h... no
> > configure: error: *** Unable to locate PostgreSQL includes.
> > make: *** [config.status] Error 1
> 
> 
> (working from Sarge here)
> 
> $ apt-file search libpq-fe.h
> postgresql-dev: usr/include/postgresql/libpq-fe.h
> 
> 
> And postgresql-dev is listed in the build-depends:
> 
> http://ftp.debian.org/debian/pool/main/g/grass/grass_6.0.0-1.dsc
> 
> 
> $ locate libpq-fe.h
> /usr/include/postgresql/libpq-fe.h
> 
> Has this path changed in the new version of postgresql-dev?

Yes. See http://lists.debian.org/debian-devel/2005/06/msg00500.html for
the details. Basically GRASS needs to build-depend on libpq-dev instead
and use something like --with-postgres-includes=`pg_config --includedir`
in debian/rules.

Problems with the C++ ABI transition that affect other build-deps
prevent me from building and uploading a fixed package at present.

Steve





More information about the Pkg-grass-devel mailing list