Has anyone had experience of installing XML:
arser with perl 5.10.0? I am having no joy with it at all.
XMP:
arser requires expat to be installed first. I have done this successfully (at least it did not throw up any errors).
I then create the XML:
arser makefile with:
This outputs:
When I then run make, however, I always get:
I've tried this with several different versions of expat and XML:
arser, but always get the 'ld: Can't find library for -lexpat' error at the end.
I'm trying this on an HPUX 11.11 server, with perl 5.10.0, expat 2.0.1 and XML:
arser 2.36 (for the run generating the output above).
I'm obviously doing something fundamentally wrong; can anyone point me in the right direction?
XMP:
I then create the XML:
Code:
Makefile.PL EXPATLIBPATH=/net/myserver/opt/product/ticm/build_tools/hp/expat-2.0.1/lib EXPATINCPATH=/net/myserver/opt/product/ticm/build_tools/hp/expat-2.0.1/include
This outputs:
Code:
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
When I then run make, however, I always get:
Code:
cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc
etc etc (lots of these until)....
make[1]: Entering directory `/opt/product/ticm/tonydev/CPAN_libs/XML-Parser-2.36/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/opt/product/ticm/tony/perl_test/bin/perl /opt/product/ticm/tony/perl_test/lib/5.10.0/ExtUtils/xsubpp -noprototypes -typemap /opt/product/ticm/tony/perl_test/lib/5.10.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.
xsc Expat.c
cc -c -I/net/myserver/opt/product/ticm/build_tools/hp/expat-2.0.1/include -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" +Z "-I/opt/prod
uct/ticm/tony/perl_test/lib/5.10.0/PA-RISC2.0-LP64/CORE" Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl
LD_RUN_PATH="/net/myserver/opt/product/ticm/build_tools/hp/expat-2.0.1/lib" /usr/bin/ld -b +vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64 Expat.o -o ../blib/arch/auto/XML/Parser/Expat/Expat.sl
\
-L/net/myserver/opt/product/ticm/build_tools/hp/expat-2.0.1/lib -lexpat \
ld: Can't find library for -lexpat
Fatal error.
I'm trying this on an HPUX 11.11 server, with perl 5.10.0, expat 2.0.1 and XML:
I'm obviously doing something fundamentally wrong; can anyone point me in the right direction?