You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2005/03/05 07:51:34 UTC

[Chris Lacy-Hulbert] [announce] XML-Xerces-2.3.0-4

Hi 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 :-)

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:

root@doris:/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
root@doris:/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
root@doris:/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




Chris Lacy-Hulbert
Enovi LLP


Re: [Chris Lacy-Hulbert] [announce] XML-Xerces-2.3.0-4

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
jason@openinformatics.com (Jason E. Stewart) writes:

> From: "Chris Lacy-Hulbert" <ch...@enovi.com>
> Subject: [announce] XML-Xerces-2.3.0-4
> To: <ja...@openinformatics.com>
> Date: Fri, 4 Mar 2005 18:19:40 -0000
>
> 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 :-)

Xerces is an apache project - http://xml.apache.org/ you can find more
information about XML-Xerces (Xerces-Perl) and Xerces-C there,
including information about signing up for the mailing list.

> 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.

Ok - no one's tested on slackware that I know of, so that might be
something. 

> 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

yup - explained in the README

> , 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..

[snip]

> 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.

it is the dynamic library that should have been installed by your
Xerces-C install - it seems that under slackware it is called
something different, or you installed it someplace non-traditional and
didn't set your LD_LIBRARY_PATH...

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org