Hi,
Having difficulty getting Xerces-perl installed
successfully on HP-UX. The short story is that it does not seem to find
symbols for Xerces.sl in the blib directory while trying to process the
"make test" command.
Here is the output of Perl -V:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1
uname='hp-ux disco b.11.00 u 9000800 125901587 unlimited-user license '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.9-hppa-991112
cppflags='-D_HPUX_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64
-I/usr
local/include'
ccflags ='-D_HPUX_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64
-I/usr
local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lndbm -ldld -lm -lpthread
libc=/usr/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,defer
ed '
cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under hpux
Compiled at May 1 2001 14:50:45
%ENV:
PERLLIB="/pbuild/brentnye/xerces-perl2/lib/5.00503/PA-RISC1.1:"
@INC:
/pbuild/brentnye/xerces-perl2/lib/5.00503/PA-RISC1.1
/usr/local/lib/perl5/5.00503/PA-RISC1.1
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/PA-RISC1.1
/usr/local/lib/perl5/site_perl/5.005
.
I am using:
gcc
SWIG1.1p5 (no luck with SWIG1.3a5)
I have "made it" through the
perl Makefile.PL
make ... also looks good .... except Xerces.bs is a
zero length file (Is that right?). Here is what make looks like:
gcc -c -I. -INew_classes_perl
-I/pbuild/brentnye/xerces/xerces-c1_3/incl
ude -D_REENTRANT -DPOSIX_THREADS -DHAS_BOOL -DSWIG_1_1
-O -DVERSION=\"1.3.3\
" -DXS_VERSION=\"1.3.3\" -fpic
-I/usr/local/lib/perl5/5.00503/PA-RISC1.1/CORE
Xerces.C
Running Mkbootstrap for XML::Xerces ()
chmod 644 Xerces.bs
LD_RUN_PATH="/pbuild/brentnye/xerces/xerces-c1_3/lib:/lib"
ld -o blib/ar
ch/auto/XML/Xerces/Xerces.sl -b -L/usr/local/lib
Xerces.o -L/pbuild/brentnye
/xerces/xerces-c1_3/lib -lxerces-c1_3 -lpthread
Now for "make test" (where it blows up):
PERL_DL_NONLAZY=1 /usr/contrib/bin/perl
-Iblib/arch -Iblib/lib -I/usr/lo
cal/lib/perl5/5.00503/PA-RISC1.1
-I/usr/local/lib/perl5/5.00503 -e 'use Test::Ha
rness qw(&runtests $verbose); $verbose=0; runtests
@ARGV;' t/*.t
t/DOMCreate........./usr/lib/dld.sl: Unresolved
symbol: _vt$16StdInInputSource (
data) from blib/arch/auto/XML/Xerces/Xerces.sl
/usr/lib/dld.sl: Unresolved symbol: __ti12XMLException
(data) from blib/arch/au
to/XML/Xerces/Xerces.sl
It gives me six quintillion statements about how it
cannot find symbols from
blib/arch/auto/XML/Xerces/Xerces.sl. Why is that, I
ask you?
Here is a modicum of output from chatr on
/blib/arch/auto/XML/Xerces/Xerces.sl
<-perliskillingmehelp-brentnye-> chatr Xerces.sl
Xerces.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
mbedded path disabled first Not Defined
shared library list:
dynamic
/pbuild/brentnye/xerces/xerces-c1_3/lib/libxerces-c1_3.sl
dynamic /usr/lib/libpthread.1
shared vtable support disabled
I have tried a few permutations with Xerces-c1_4, but
I keep getting same results.
What else can I try?
What other information can I provide that could lead
to a resolution of this problem?
Thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]