[Freeswitch-users] FS compilation errored out at building mod_cdr_pg_csv

Zenny garbytrash at gmail.com
Wed Mar 21 19:48:43 MSK 2012


On 3/21/12, Vitalie Colosov <vetali100 at gmail.com> wrote:
> According to the FS wiki, on CentOS 6 you need to run ./configure
> --without-libcurl --without-pgsql. See if that helps.

Tried also with above, but ends up in the same error saying libpq-fe.h
not found!

Hmmmmm!

>
> Release(es) 6 and Later
>
> ...
>
> Also, when using release 6 and later, make sure to configure with
> "./configure --without-libcurl --without-pgsql", this is to make sure that
> FreeSWITCH uses it's own curl library, instead of the system provided, and
> that it doesn't try to use the system provided postgresql libs. If using
> the system provided versions linking errors will occur. Hopefully this will
> be auto detected in a near future. Related Jira issues are: FS-3384,
> FS-3630 and FS-3393.
>
>
>
>
>
>
>
>
> 2012/3/21 Patrick Lists <freeswitch-list at puzzled.xs4all.nl>
>
>> On 21-03-12 13:42, Zenny wrote:
>> >> I don't know which distro you use but that directory (/usr/pgsql-9.1)
>> >> looks odd. If you use CentOS or RHEL why don't you just remove all
>> >> stock
>> >> postgresql RPMs from your box and install a decent PostgreSQL 9.1 RPM
>> >> via http://yum.postgresql.org/
>> >
>> > I am using CentOS6. I installed the RPMs directly downloading the repos
>> from:
>> > rpm -ivh
>> http://yum.postgresql.org/9.1/redhat/rhel-6-x86:64/pgdg-centos91-9.1-4.noarch.rpm
>>
>> I just checked the postgresql-9.1 server RPM and you are right. Wow...
>> The PostgreSQL packager could read up on the RPM Packaging Guide Lines
>> and the FHS. I guess they packaged it so that it does not interfere with
>> the RHEL/CentOS provided PostgreSQL RPMs but putting everything in a
>> non-standard location clearly causes challenges as you are experiencing
>> right now. I'm afraid I can't be of any help.
>>
>> Regards,
>> Patrick
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list