--- Begin Message --- Title: [announce] XML-Xerces-2.3.0-4Hi Jason,
I was searching around to find a way of subscribing to the xml-xerces mailing list, but could only find the archives and no ‘signup’ page… Well hey, let’s see how this goes J
Anyway, I’m trying to install XML::Xerces on a system running Slackware Linux and perl 5.8.0 - i.e. a pretty much normal setup.
I have installed the xerces-c-src_2_5_0 API and built it and installed it. I started with version 2_6_0, but got version errors when I attempted to build the perl module, so I compiled 2_5_0 and did ‘make install’. This gave some errors because some .so files already existed, however I was then able to run ‘perl Makefile.PL’ without error. Good so far..
I then run ‘make test’ and my terminal sits there for quite a while, before finally dying as follows:
[EMAIL PROTECTED]:/usr/src/XML-Xerces-2.5.0-0# make test
make[1]: Entering directory `/usr/src/XML-Xerces-2.5.0-0/Handler'
make[1]: Leaving directory `/usr/src/XML-Xerces-2.5.0-0/Handler'
rm -f blib/arch/auto/XML/Xerces/Xerces.so
LD_RUN_PATH="/lib:/usr/local/lib" cc -shared -L/usr/local/lib Xerces.o -o blib/arch/auto/XML/Xerces/Xerces.so blib/arch/auto/Handler/Handler.a -lpthread -L/usr/local/lib/ -lxerces-c
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lxerces-c
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/XML/Xerces/Xerces.so] Error 1
[EMAIL PROTECTED]:/usr/src/XML-Xerces-2.5.0-0# perl Makefile.PL
Using XERCES_LIB = /usr/local/lib/
Using XERCES_INCLUDE = /usr/local/include/
using config file: /usr/src/xerces-c-src_2_5_0/src/xercesc/config.status
Found CXX =
Found CXXFLAGS =
Found LDFLAGS =
Using Xerces-C version info from /usr/local/include//xercesc/util/XercesVersion.hpp
Checking to see if libxerces is in your library path...Success!!
Using Xerces-C version: 2.5.0
WARNING: CC is not a known parameter.
Processing hints file hints/linux.pl
WARNING: CC is not a known parameter.
Writing Makefile for Handler
Writing Makefile for XML::Xerces
[EMAIL PROTECTED]:/usr/src/XML-Xerces-2.5.0-0# make test
make[1]: Entering directory `/usr/src/XML-Xerces-2.5.0-0/Handler'
make[1]: Leaving directory `/usr/src/XML-Xerces-2.5.0-0/Handler'
cc -c -I. -IHandler -I/usr/local/include/ -D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O3 -DVERSION=\"2.5.0-0\" -DXS_VERSION=\"2.5.0-0\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux/CORE" Xerces.cpp
Running Mkbootstrap for XML::Xerces ()
chmod 644 Xerces.bs
rm -f blib/arch/auto/XML/Xerces/Xerces.so
LD_RUN_PATH="/lib:/usr/local/lib" cc -shared -L/usr/local/lib Xerces.o -o blib/arch/auto/XML/Xerces/Xerces.so blib/arch/auto/Handler/Handler.a -lpthread -L/usr/local/lib/ -lxerces-c
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lxerces-c
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/XML/Xerces/Xerces.so] Error 1
I have googled and fiddled with the makefile, but I’m totally unable to get this working. Is it my fault? What is this –lxerces-c thing all about? Looks like it’s unable to find something.
Hope there are some ideas out there.
TIA,
Christo
Enovi LLP
--- End Message ---
- Re: [Chris Lacy-Hulbert] [announce] XML-Xerces-2.3.0-4 Jason E. Stewart
- Re: [Chris Lacy-Hulbert] [announce] XML-Xerces-2.3.0... Jason E. Stewart
