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

2005-09-05 Thread Hamish
 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?



?
Hamish


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2005-09-05 Thread Steve Halasz
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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]