Subject: | cant compile on Solaris 10 x86 |
$ perl Makefile.PL
Locating required external dependency bin:curl-config... found at
/opt/sdr/bin/curl-config.
The version is libcurl 7.21.2
Found curl.h in /opt/sdr/include/curl/curl.h
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Curl
$ make
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
/opt/sdr/perl/bin/perl "-Iinc" /opt/sdr/perl/lib/5.12.2/ExtUtils/xsubpp
-typemap /opt/sdr/perl/lib/5.12.2/ExtUtils/typemap -typemap typemap
Curl.xs > Curl.xsc && mv Curl.xsc Curl.c
cc -c -I/opt/sdr/include -m64 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -DVERSION=\"4.14\" -DXS_VERSION=\"4.14\"
-KPIC "-I/opt/sdr/perl/lib/5.12.2/i86pc-solaris-64/CORE" Curl.c
"/opt/sdr/include/curl/curlrules.h", line 143: zero or negative subscript
"Curl.xs", line 113: warning: statement not reached
"Curl.xs", line 132: warning: statement not reached
"Curl.xs", line 866: warning: statement not reached
"Curl.xs", line 1094: warning: enum type mismatch: arg #2
cc: acomp failed for Curl.c
*** Error code 1
make: Fatal error: Command failed for target `Curl.o'
I have perl compiled 64bit using Sun Studio.
Any ideas what is this about ?
stefan