RE: Still can't make XML::Parser
by Flowers, Jay other posts by this author
Sep 4 2002 11:19AM messages near this date
view in the new Beta List Site
Re: problem adding new encoding to perl XML::Parser
|
RE: Still can't make XML::Parser
I have not checked back to see if the guys that make Expat have fixed this yet. Last I inst
alled XML::Parser it was in a Win32 box. I got the latest Expat and Compiled it. Then set m
y Lib and Inc paths not on the command line but I hard coded them into the Makefile.pl, this
was becuase the Win32 support was minimal. The I encountered the problem you are about to
run into, as far as I can see from your last email to the list. The lib name created by Exp
at is the same name that XML::Parser is trying to make. This will can be fixed by changing
the name of the Lib that Expat makes, recompiling, and deleting the old Lib. After that the
Make procces for XML::Parser should go smoothly.
I have had 1/2 cup of coffee this morning so if my email doesn't make sense I will try again
later today.
Good Luck,
Jay Flowers
-----Original Message-----
From: Tim Harsch [mailto:harsch1@[...].gov]
Sent: Tue 9/3/2002 4:03 PM
To: perl-xml@[...].com
Cc:
Subject: 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
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÏz¹ÿ\Âæj)b b²ÓÞ®_×0¿åËlz»ÿËb½äj×ÿr¢éì¹»®&Þþm§ÿÿ+
-±êïü-÷µ«^ýÊ&þf¢f§þl¬
Thread:
Flowers, Jay
Tim Harsch
|