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 "Konopnicki, David" <da...@hp.com> on 2003/10/20 19:06:58 UTC

Problem with tests

Hi,
I have the strange problem presented below when running the tests. 
Any ideas?
Thanks.
-David

[root@dkonopnicki02 XML-Xerces-2.3.0-0]# perl Makefile.PL
Using XERCES_LIB = /home/david/data/xerces/xerces-c-src_2_3_0/lib
Using XERCES_INCLUDE = /home/david/data/xerces/xerces-c-src_2_3_0/include
using config file: /home/david/data/xerces/xerces-c-src_2_3_0/src/xercesc/config.status

Found CXX      = c++
Found CXXFLAGS =  -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET
Found LDFLAGS  =    
Using Xerces-C version info from /home/david/data/xerces/xerces-c-src_2_3_0/include/xercesc/util/XercesVersion.hpp
Checking to see if libxerces is in your library path...Success!!
Using Xerces-C version: 2.3.0
WARNING: CC is not a known parameter.
Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
WARNING: CC is not a known parameter.
Writing Makefile for Handler
Writing Makefile for XML::Xerces
[root@dkonopnicki02 XML-Xerces-2.3.0-0]# make
cp Xerces.pm blib/lib/XML/Xerces.pm
make -C Handler static
make[1]: Entering directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
c++ -c  -I. -IHandler -I/home/david/data/xerces/xerces-c-src_2_3_0/include -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   PerlCallbackHandler.cpp
c++ -c  -I. -IHandler -I/home/david/data/xerces/xerces-c-src_2_3_0/include -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   PerlContentCallbackHandler.cpp
c++ -c  -I. -IHandler -I/home/david/data/xerces/xerces-c-src_2_3_0/include -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   PerlDocumentCallbackHandler.cpp
c++ -c  -I. -IHandler -I/home/david/data/xerces/xerces-c-src_2_3_0/include -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   PerlErrorCallbackHandler.cpp
rm -rf ../blib/arch/auto/Handler/Handler.a
/usr/bin/ar cr ../blib/arch/auto/Handler/Handler.a PerlCallbackHandler.o PerlContentCallbackHandler.o PerlDocumentCallbackHandler.o PerlErrorCallbackHandler.o && : ../blib/arch/auto/Handler/Handler.a
chmod 755 ../blib/arch/auto/Handler/Handler.a
make[1]: Leaving directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
make[1]: Entering directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
make[1]: Leaving directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
c++ -c  -I. -IHandler -I/home/david/data/xerces/xerces-c-src_2_3_0/include -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O   -DVERSION=\"2.3.0-0\" -DXS_VERSION=\"2.3.0-0\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   Xerces.C
Running Mkbootstrap for XML::Xerces ()
chmod 644 Xerces.bs
rm -f blib/arch/auto/XML/Xerces/Xerces.so
LD_RUN_PATH="/lib:/home/david/data/xerces/xerces-c-src_2_3_0/lib" gcc  -shared -L/usr/local/lib Xerces.o  -o blib/arch/auto/XML/Xerces/Xerces.so blib/arch/auto/Handler/Handler.a  -lpthread -L/home/david/data/xerces/xerces-c-src_2_3_0/lib -lxerces-c  
chmod 755 blib/arch/auto/XML/Xerces/Xerces.so
cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs
chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs
[root@dkonopnicki02 XML-Xerces-2.3.0-0]# make test
make[1]: Entering directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
make[1]: Leaving directory `/mnt/data/xerces/XML-Xerces-2.3.0-0/Handler'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/actualCast..............Global symbol "@ISA" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 507.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 508.
Global symbol "%ITERATORS" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 509.
Global symbol "%ITERATORS" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 513.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 514.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 516.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 523.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 529.
Global symbol "@ISA" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 536.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 537.
Global symbol "%ITERATORS" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 538.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 578.
Global symbol "%ITERATORS" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 587.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 588.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 590.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 597.
Global symbol "%OWNER" requires explicit package name at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 603.
BEGIN not safe after errors--compilation aborted at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 614.
Compilation failed in require at t/actualCast.t line 11.
BEGIN failed--compilation aborted at t/actualCast.t line 11.
Undefined subroutine &XML::Xerces::XMLPlatformUtils::Terminate called at /mnt/data/xerces/XML-Xerces-2.3.0-0/blib/lib/XML/Xerces.pm line 24.
END failed--call queue aborted at t/actualCast.t line 11.
Undefined subroutine &main::ok called at t/actualCast.t line 7.
END failed--call queue aborted at t/actualCast.t line 11.
t/actualCast..............dubious
	Test returned status 255 (wstat 65280, 0xff00)
SAME THING WITH ALL THE TESTS

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


Re: Problem with tests

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

> "Konopnicki, David" <da...@hp.com> writes:
> 
> > I have the strange problem presented below when running the tests. 
> > 
> > [root@dkonopnicki02 XML-Xerces-2.3.0-0]# perl Makefile.PL
> 
> Hi David,
> 
> Please update to XML-Xerces-2.3.0-2 and this should be fixed.

I forgot to mention, you should find this at:

  http://www.apache.org/dist/xml/xerces-p/

Which is a new URL for all you xerces-p folks out there in TV-land.

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


Re: Problem with tests

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Konopnicki, David" <da...@hp.com> writes:

> I have the strange problem presented below when running the tests. 
> 
> [root@dkonopnicki02 XML-Xerces-2.3.0-0]# perl Makefile.PL

Hi David,

Please update to XML-Xerces-2.3.0-2 and this should be fixed.

These errors look like Xerces.pm was regenerated by a local copy of
SWIG - one that doesn't have my modifications to get the code to run
under 'use strict'. 

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