"Nye, Brent A (Brent)" <[EMAIL PROTECTED]> writes:

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

> gcc 
> SWIG1.1p5 (no luck with SWIG1.3a5) 

In 1.5 you don't need SWIG at all.

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

yup, the bootstrap file is empty for most perl modules.

> 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       

Hmmm... Same unresolved symbol that gcc 2.8.1 gave on solaris
2.6.... Wonder what that means?

> /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?

(Sorry looks like dynamically loadable libraries are .sl files on
HP/UX, s/.so/.sl/ in what follows)

That's because Xerces.so is just C++ wrapper code that enables perl to
talk to libxerces-C1_4.so... Most of the symbols are undefined,
because they're defined in libxerces from Xerces-C. My guess is you're
not loading the libxerces. Can you successfully run the sample files
that came with Xerces-C?

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to