[Freeswitch-users] Javascript & cURL: Error loading CURL
Birgit Arkesteijn
birgit at westhawk.co.uk
Wed Nov 5 08:21:57 PST 2008
Hi guys,
I still cannot compile mod_xml_curl.
The problem won't go away.
I uninstalled curl-devel.
I ran updatedb so locate can no longer find curl.h.
I ran 'configure' again (I didn't use any with or without curl flags
this time), followed by 'make current'.
When that didn't help I tried 'make clean modwipe', followed by make,
followed by 'make current'.
The error is persistent:
mod_xml_curl.c: In function ‘do_config’:
mod_xml_curl.c:265: error: syntax error before ‘;’ token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable ‘hash_node’
mod_xml_curl.c:239: warning: unused variable ‘bname’
Currently I've got FS 597:10249M downloaded.
I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux
I'm using:
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
Thanks, Birgit
On 05/11/08 15:39, Birgit Arkesteijn wrote:
> Hi Mike,
>
> I probably got my wires mixed, sorry.
>
> I'm running Suse Linux 10.0.
> % uname -a
> Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
> x86_64 x86_64 GNU/Linux
>
> The version on the Suse DVD is:
> curl-devel-7.14.0-2.x86_64.rpm
> build at 09/09/05 20:01:25
>
> The error occurred this morning (so night for you guys) when I did 'make
> current'. I've just run a few more make currents, so I don't have the
> exact FS build.
>
> BTW, I ran
> % configure --without-libcurl
> followed by
> % make current
>
> and the error reoccurred.
> Does 'make current' do its own configure again?
>
> I've resorted to uninstalling curl-devel, and updating the 'locate', so
> curl.h can no longer be found.
>
> Thanks, Birgit
>
>
> On 05/11/08 14:38, Michael Jerris wrote:
>> On Nov 5, 2008, at 9:15 AM, Birgit Arkesteijn wrote:
>>
>>> Hi Anthony,
>>>
>>> Thanks for your reply!
>>>
>>> Does mod_xml_cdr use curl as well?
>> Yes.
>>
>>> I seem to remember that I had a problem a couple of months ago with
>>> xml_cdr. It wouldn't work without curl-devel.
>>>
>> This seems wrong, it should use our internal one if you don't have a
>> system one installed. Out of curiosity, what distro is this and what
>> version of libcurl were you installing?
> >
> >
>> Mike
>>
>>
>>> I'll run configure with the --without-libcurl flag.
>>>
>>> Thanks, Birgit
>
>
--
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>
More information about the FreeSWITCH-users
mailing list