Re: [Guest via RT] [cpan #6094] All tests fail

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
<[email protected]> writes:

> No, it's Debian.

Ah! Then it should be simple. I do all my development on debian, and I
run Xerces on a bunch of different debian systems.

What release are you using, stable, testing, or unstable?

> I used apt-get to download and install the libxerces-related packages
> from Debian's testing distribution of libxerces 2.3.0-1.1
> (libxerces23, libxerces23-dev, libxerces23-doc).  The specific package
> names are:
>
>   libxerces23_2.3.0-1.1_i386.deb
>   libxerces23-dev_2.3.0-1.1_i386.deb
>   libxerces23-doc_2.3.0-1.1_all.deb
>
> The link error I reported occured with these binaries.

Huh, did you use libxml-xerces-perl package from debian? I run it from
unstable on my powerpc laptop and a bunch of i386 servers as well.

> I also tried compiling Xerces from source, but the process trips
> fatally with:
>
>   g++ -fPIC -DLINUX -D_REENTRANT -c -I/home/jones/build/xerces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM  -DPROJ_VALIDATORS -DXML_USE_ICU_TRANSCODER -I/opt/include -DXML_USE_INMEM_MESSAGELOADER -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DXML_USE_NETACCESSOR_SOCKET     -o /home/jones/build/xerces-c-src_2_3_0/obj/LINUX/DOMDocumentImpl.o DOMDocumentImpl.cpp
>   /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c: In method `xercesc_2_3::DOMDeepNodeListPool<xercesc_2_3::DOMDeepNodeListImpl>::DOMDeepNodeListPool(long unsigned int, bool, long unsigned int = 128)':
>   DOMDocumentImpl.cpp:900:   instantiated from here
>   /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error.
>   /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Please submit a full bug report.
>   /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error:
>   /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>   make[2]: *** [DOMDocumentImpl.o] Error 1
>   make[2]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom/impl'
>   make[1]: *** [impl] Error 2
>   make[1]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom'
>   make: *** [Dom] Error 2
>
>
> The source I used was from the tarball
>
>   xerces23_2.3.0.orig.tar.gz
>
> My compiler is gcc 2.95.4.

I'm not sure but I think that Xerces might require gcc-3 at this
point, I can ask on the Xerces-C list.

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.