Hi,

I'm attempting to install libwww and some of the prerequisite modules, in
particular HTML::PARSER.
My compiler seems to be having trouble with the compilation of Parser.c  The
output of the make run is given below.

I'm on a sun running SunOS 5.6
using perl 5.00405 
c compiler: WorkShop Compilers 4.2 30 Oct 1996 C 4.2

Is there something I can do to get this to compile on my system?

Stephen Barry
Land and Water Sciences Division
Bureau of Rural Sciences
ph: (02) 6272-5622 (LWSD): (02) 6272-4547(NRIC)
fax: (02) 6272-5827 (LWSD): (02) 6272-4687(NRIC)
email: [EMAIL PROTECTED]

mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/lib/HTML
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/HTML
mkdir ./blib/arch/auto/HTML/Parser
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/HTML
mkdir ./blib/lib/auto/HTML/Parser
mkdir ./blib/man3
cp Parser.pm ./blib/lib/HTML/Parser.pm
cp lib/HTML/Entities.pm ./blib/lib/HTML/Entities.pm
cp lib/HTML/Filter.pm ./blib/lib/HTML/Filter.pm
cp lib/HTML/HeadParser.pm ./blib/lib/HTML/HeadParser.pm
cp lib/HTML/TokeParser.pm ./blib/lib/HTML/TokeParser.pm
cp lib/HTML/LinkExtor.pm ./blib/lib/HTML/LinkExtor.pm
/home/brs/lws/sjbarry/perl/bin/perl
-I/home/brs/lws/sjbarry/perl/lib/sun4-solaris/5.00405
-I/home/brs/lws/sjbarry/perl/lib
/home/brs/lws/sjbarry/perl/lib/ExtUtils/xsubpp  -typemap
/home/brs/lws/sjbarry/perl/lib/ExtUtils/typemap -typemap typemap Parser.xs
>Parser.tc && mv Parser.tc Parser.c
cc -c   -O     -DVERSION=\"3.10\"  -DXS_VERSION=\"3.10\" -Kpic
-I/home/brs/lws/sjbarry/perl/lib/sun4-solaris/5.00405/CORE -DMARKED_SECTION
Parser.c
"Parser.xs", line 38: invalid compiler control line in ".i" file
"./util.c", line 59: undefined symbol: PL_hexdigit
"./util.c", line 64: operands must have integral type: op "&"
"./util.c", line 64: operands must have integral type: op "|"
*** Error code 2
make: Fatal error: Command failed for target `Parser.o'



Reply via email to