Still can't make XML::Parser
by Tim Harsch other posts by this author
Sep 3 2002 8:03PM messages near this date
view in the new Beta List Site
POSSIBLE BUG in XML::Simple
|
Re: Still can't make XML::Parser
I've tried just about everything I can think of. Basically, just about
all permutations of setting LD_LIBRARY_PATH, LD_RUN_PATH, EXPATLIBPATH
and EXPATINCPATH. I've also tried setting the compiler to gcc instead
of cc. Included below for examination is a snip showing the error.
Here's what I *have* noticed and what I can't figure out. I've tried
altering the Makefile (after running perl64 Makefile.PL) and changing
things around a bit. For instance, if I have LD_RUN_PATH set in my
environment and I change the line in the makefile that has LD_RUN_PATH
in it (to the path of the Expat I just built), I still get:
LD_RUN_PATH="/usr/local/lib" cc ..
As the line that 'make' is attempting to run. (see below)
Note: that /usr/local/lib does have an older version of Expat in it, but
that I am trying to get it to use my copy.
Please help as I have wasted a lot of time on this already...
-----------------------------------
My Environment::
Note my new copy of expat was built with
--prefix=/home/harsch/installs/expat-1.95.4/Expat/lib
[248] mrna:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31> ls -la
/home/harsch/installs/expat-1.95.4/Expat/lib
total 672
drwxr-xr-x 2 harsch 4096 Sep 3 11:04 .
drwxr-xr-x 6 harsch 4096 Sep 3 11:04 ..
-rw-r--r-- 1 harsch 363132 Sep 3 11:04 libexpat.a
-rwxr-xr-x 1 harsch 742 Sep 3 11:04 libexpat.la
lrwxrwxrwx 1 harsch 17 Sep 3 11:04 libexpat.so ->
libexpat.so.0.3.0
lrwxrwxrwx 1 harsch 17 Sep 3 11:04 libexpat.so.0 ->
libexpat.so.0.3.0
-rwxr-xr-x 1 harsch 302382 Sep 3 11:04 libexpat.so.0.3.0
LD_RUN_PATH=/home/harsch/installs/expat-1.95.4/Expat/lib
EXPATLIBPATH=/home/harsch/installs/expat-1.95.4/Expat/lib
EXPATINCPATH==/home/harsch/installs/expat-1.95.4/Expat/include
LD_LIBRARY_PATH=/home/harsch/installs/expat-1.95.4/Expat/lib:/home/harsc
h/adabas/lib:/mrna1/app/oracle/product/8.1.7/lib:/local/sybase_OC/lib:/u
sr/local/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1:/usr/loca
l/opt/SUNWspro/lib:/opt/SUNWspro/lib:/usr/openwin/lib:/sybase/lib:/usr/d
t/lib:/usr/4lib:/usr/lib:/usr/local/lib/mh-6.8.3/lib:/local/gcg/gcgbin/o
blib:/cdna3/apps/SGE/lib/solaris64
-----------------------------------
[243] mrna:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31> make
cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
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
cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
cp Parser/Encodings/windows-1250.enc
blib/lib/XML/Parser/Encodings/windows-1250.enc
cp Parser/Encodings/iso-8859-8.enc
blib/lib/XML/Parser/Encodings/iso-8859-8.enc
cp Parser/Encodings/iso-8859-2.enc
blib/lib/XML/Parser/Encodings/iso-8859-2.enc
cp Parser/Encodings/x-euc-jp-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
cp Parser/Encodings/iso-8859-9.enc
blib/lib/XML/Parser/Encodings/iso-8859-9.enc
cp Parser/Encodings/x-sjis-unicode.enc
blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
cp Parser/Encodings/iso-8859-3.enc
blib/lib/XML/Parser/Encodings/iso-8859-3.enc
cp Parser/Encodings/x-sjis-jdk117.enc
blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc
cp Parser/Encodings/iso-8859-4.enc
blib/lib/XML/Parser/Encodings/iso-8859-4.enc
cp Parser/Encodings/Japanese_Encodings.msg
blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
cp Parser/Encodings/x-sjis-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Encodings/iso-8859-5.enc
blib/lib/XML/Parser/Encodings/iso-8859-5.enc
cp Parser/Encodings/x-euc-jp-unicode.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/local/bin/perl64 -I/usr/local/perl-5.6.1_64/lib
-I/usr/local/perl-5.6.1_64/lib
/usr/local/perl-5.6.1_64/lib/ExtUtils/xsubpp -noprototypes -typemap
/usr/local/perl-5.6.1_64/lib/ExtUtils/typemap -typemap typemap Expat.xs
> Expat.xsc && mv Expat.xsc Expat.c
cc -c -xarch=v9 -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\"
-KPIC -I/usr/local/perl-5.6.1_64/lib/CORE Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
LD_RUN_PATH="/usr/local/lib" cc -G -xarch=v9 -L/usr/local/lib
-L/usr/lib/sparcv9 Expat.o -o
../blib/arch/auto/XML/Parser/Expat/Expat.so -lexpat
ld: fatal: library -lexpat: not found
ld: fatal: File processing errors. No output written to
../blib/arch/auto/XML/Parser/Expat/Expat.so
*** Error code 1
make: Fatal error: Command failed for target
`../blib/arch/auto/XML/Parser/Expat/Expat.so'
Current working directory
/home/harsch/installs/perl_mods/XML/XML-Parser-2.31/Expat
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Tim Harsch
Emmet Caulfield
Tim Harsch
Emmet Caulfield
Tim Harsch
Tim Harsch
|