Hi Peter!

Peter Eisentraut [2005-12-15 10:42 +0100]:
> This has become an issue again.  I'm building a module for a back version of 
> PostgreSQL.  (I know we're not supposed to use 8.0 any more, but the same is 
> true for 7.4.)  These fake "client" header files contain symbols relevant to 
> server version 8.1 but not present in earlier versions, so packages that do
> 
> -I/usr/include/postgresql -I/usr/include/postgresql/8.0/server/
> 
> will just crash during the build.

This should be fixed in 8.0.5-1.

> I would like to know exactly which packages require these fake client headers 
> that I listed in my original messages.  I want to see if they can be fixed 
> properly.

Quite some AFAIR. To find out which, we need to wade through apt-cache
rdepends libpq4 and check whether the packages still build when
removing these files:

usr/include/postgresql/catalog/pg_type.h
usr/include/postgresql/nodes/nodes.h
usr/include/postgresql/utils/{elog,errcodes,palloc}.h
usr/include/postgresql/{c,pg_config,pg_config_manual,pg_config_os,port}.h
usr/include/postgresql/postgres{,_fe,_ext}.h

Failing example packages are pygresql and psycopg.

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to