Asterisk 1.0.9 packages require PostgreSQL 8.0 to build

Jérôme Warnier jwarnier@beeznest.net
Tue, 05 Jul 2005 09:24:16 +0200


Le lundi 04 juillet 2005 à 01:26 +0100, Mark Purcell a écrit :
> Thanks Jérôme,
> 
> Can you file these types of issues through the BTS, there are a couple of=
 us 
> working on it at the same time and the BTS is the best place to cordinate=
.
Ok, I did this because some maintainers prefer to know more about the
problem (when it is rather complex) before submitting a bug.
Thanks for submitting for me (I would have done it anyway in the end).

> The header file 8.0/libpq-fe.h is available in libpq-dev, which is suppor=
ted 
> by libpq4 which is in unstable. Most of the autobuilders 
> http://buildd.debian.org/build.php?pkg=asterisk are coping fine so it d=
oesn't 
> FTBFS!
> 
> As stated in 70_debian-libpe-fe.dpatch this check should really be done i=
n the 
> Makefile, rather than hardcoded in an #include statement. Short cuts like=
 
> these certainly make backports difficult. As has been stated many times, =
it 
> would be great if upstream used autoconf :-(
Would it be a great deal to submit a patch to use autoconf? Are they
against the idea?

> Actually after having another look at 70_debian-libpe-fe.dpatch, I did th=
e 
> check in the Makefile under cdr, but not under apps, but didn't clean up =
the 
> include. I have now copied the Makefile code from cdr/Makefile to 
> apps/Makefile and it should work for your backport.
> 
> I have uploaded these changes to svn.debian.org, which you can checkout, =
or 
> they should make it into the next release.  I'm having some problems with=
 the 
> bristuff though :-(
I'm not in a hurry, I want to help get the best Asterisk packages ever,
that's all.

You're doing a great job all! Congrats!

> Mark
> 
> On Sunday 03 July 2005 23:48, Jérôme 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