gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing files in dist


From: Pawel Kot
Subject: Re: missing files in dist
Date: Fri, 11 Jan 2008 23:37:42 +0100

Hi,

On Jan 11, 2008 10:49 PM, Bastien Nocera <address@hidden> wrote:
>
> On Fri, 2008-01-11 at 21:54 +0100, Pawel Kot wrote:
> > Hi,
> >
> > On Jan 11, 2008 4:26 PM, Bastien Nocera <address@hidden> wrote:
> > >
> > > On Tue, 2007-12-04 at 19:54 +0000, Bastien Nocera wrote:
> > > > On Tue, 2007-12-04 at 20:04 +0100, Pawel Kot wrote:
> > > <snip>
> > > > > -/smsd/ (whole dir)
> > >
> > > Fixed, including the postgres and mysql detection.
> >
> > Postgres didn't work well. I fixed this.
>
> Worked here, what did you change exactly?

address@hidden:~$ pg_config --libs
-lpgport -lpam -lssl -lcrypto -lkrb5 -lcom_err -lz -lreadline -lcrypt -ldl -lm
address@hidden:~$ pg_config --cflags
-g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g

It gives only flags that were used to compile libpq. What you really need is:
address@hidden:~$ pg_config --includedir
/usr/include/postgresql
address@hidden:~$ pg_config --libdir
/usr/lib
and use it with -I and -L. At least that's what other projects do with libpq.

take care,
pkot
-- 
Pawel Kot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]