[Freeswitch-users] FS compilation errored out at building mod_cdr_pg_csv
Ken Rice
krice at freeswitch.org
Tue Mar 20 17:36:59 MSK 2012
Actually there just needs to be a pg_config check in there... This will
completely solve the problem in a cross platform sorta way
Something like this in the Makefile
LOCAL_CFLAGS=-I`pg_config --pkgincludedir` -I/usr/include ${EXTRA_FLAGS}
LOCAL_LDFLAGS=`pg_config --libdir`/libpq.so
Maybe a few extra things in there. But that will clean up that pathing issue
and this is cross platform for properly installed postgresql
K
On 3/20/12 9:13 AM, "Bzzz" <lazyvirus at gmx.com> wrote:
> On Tue, 20 Mar 2012 08:57:56 -0500
> Ken Rice <krice at freeswitch.org> wrote:
>
>> That's not a good way to solve the problem... The problem after a quick look
>> is hardcoded paths for pgsql...
>
> Hmm, I didn't check but there's also usually a configure option to
> point to unusual paths (some' like: --with-thelibIwant=/....)
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list