cURL / Mailing Lists / curl-users / Single Mail

curl-users

Error while compiling cURL.xs

From: Nandakumar, Sriramkumar <sriramkumar_at_uky.edu>
Date: Tue, 14 Oct 2008 16:27:05 -0400

Hi,

I am encountering the following error while installing OME Server.

Errors loading module: /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap cURL.xs > cURL.xsc && mv cURL.xsc cURL.c
gcc -c -I/home/kimlab/Desktop/OME/OME-2.6.1 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" cURL.c
cURL.xs: In function ‘new’:
cURL.xs:26: error: ‘CURLOPT_MUTE’ undeclared (first use in this function)
cURL.xs:26: error: (Each undeclared identifier is reported only once
cURL.xs:26: error: for each function it appears in.)
cURL.xs:17: warning: unused variable ‘obj’
cURL.xs: In function ‘POST’:
cURL.xs:50: warning: unused variable ‘uploadSize’
cURL.xs: In function ‘GET_file’:
cURL.xs:158: warning: unused variable ‘response’
make: *** [cURL.o] Error 1

A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
  make > out.make 2>&1

The build directory was:
/OME/Inline/build/OME/Util/cURL

To debug the problem, cd to the build directory, and inspect the output files.

 at /home/kimlab/Desktop/OME/OME-2.6.1/src/perl2/OME/Util/cURL.pm line 161
Compilation failed in require at /home/kimlab/Desktop/OME/OME-2.6.1/src/perl2/OME/Install/ApacheConfigTask.pm line 55.
BEGIN failed--compilation aborted at /home/kimlab/Desktop/OME/OME-2.6.1/src/perl2/OME/Install/ApacheConfigTask.pm line 55.
Compilation failed in require at (eval 189) line 3.

 at install.pl line 79
        main::run_tasks() called at install.pl line 266

Could anyone please help me in resolving the above problem?

Thanks in Advance.

Thanks & Regards,
Sriram.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-14