Asterisk 1.0.9 packages require PostgreSQL 8.0 to build

Mark Purcell msp@debian.org
Mon, 4 Jul 2005 01:26:59 +0100


Thanks J=E9r=F4me,

Can you file these types of issues through the BTS, there are a couple of u=
s=20
working on it at the same time and the BTS is the best place to cordinate.

The header file 8.0/libpq-fe.h is available in libpq-dev, which is supporte=
d=20
by libpq4 which is in unstable. Most of the autobuilders=20
http://buildd.debian.org/build.php?pkg=3Dasterisk are coping fine so it doe=
sn't=20
=46TBFS!

As stated in 70_debian-libpe-fe.dpatch this check should really be done in =
the=20
Makefile, rather than hardcoded in an #include statement. Short cuts like=20
these certainly make backports difficult. As has been stated many times, it=
=20
would be great if upstream used autoconf :-(

Actually after having another look at 70_debian-libpe-fe.dpatch, I did the=
=20
check in the Makefile under cdr, but not under apps, but didn't clean up th=
e=20
include. I have now copied the Makefile code from cdr/Makefile to=20
apps/Makefile and it should work for your backport.

I have uploaded these changes to svn.debian.org, which you can checkout, or=
=20
they should make it into the next release.  I'm having some problems with t=
he=20
bristuff though :-(

Mark




On Sunday 03 July 2005 23:48, J=E9r=F4me Warnier wrote:
> I tried to "backport" version 1:1.0.9.dfsg-1 to Sarge, and it fails
> because it expects PostgreSQL 8.0.
> As even Unstable does not ship with 8.0, this is an important bug
> (FTBS).
>
> The problem is the following line in apps/app_sql_postgres.c:
> #include "postgresql/8.0/libpq-fe.h"
>
> Thanks
>
>
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers