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 Barry Caplan <bc...@i18n.com> on 2004/06/22 02:15:48 UTC

Xerces 2.5 install problems

Hi - just to let you know I thinik getting 2.5 available as quickly as you did was great...I am jsut starting out and happened to pick the day last week (Friday?) that Xerces-C version-upped, and now today on Monday your Perl package is already posted. Can't complain about that.

OK, here is my trouble:

(system is RH 7.something)

- Installed Xerces C 2.5 seemingly OK in /tmp/xerces/xerces-c-src_2_5_0

- set these environment variables:

XERCESCROOT=/tmp/xerces/xerces-c-src_2_5_0
XERCES_INCLUDE=/tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/
XERCES_LIB=/tmp/xerces/xerces-c-src_2_5_0/lib

- tried to install via cpan and got these results:

cpan> install J/JA/JASONS/XML-Xerces-2.5.0-0.tar.gz
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Mon, 21 Jun 2004 10:38:25 GMT
Running make for J/JA/JASONS/XML-Xerces-2.5.0-0.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/J/JA/JASONS/XML-Xerces-2.5.0-0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
XML-Xerces-2.5.0-0/
XML-Xerces-2.5.0-0/t/
XML-Xerces-2.5.0-0/t/DOMElement.t
XML-Xerces-2.5.0-0/t/DOMWriter.t
XML-Xerces-2.5.0-0/t/DOMEntity.t
XML-Xerces-2.5.0-0/t/XMLUni.t
XML-Xerces-2.5.0-0/t/InputSource.t
XML-Xerces-2.5.0-0/t/SAXParser.t
XML-Xerces-2.5.0-0/t/DOMBuilder.t
XML-Xerces-2.5.0-0/t/SAXException.t
XML-Xerces-2.5.0-0/t/SAX2Count.t
XML-Xerces-2.5.0-0/t/SAXCount.t
XML-Xerces-2.5.0-0/t/XMLURL.t
XML-Xerces-2.5.0-0/t/Grammar.t
XML-Xerces-2.5.0-0/t/TestUtils.pm
XML-Xerces-2.5.0-0/t/DOMNamedNodeMap.t
XML-Xerces-2.5.0-0/t/DOMAttr.t
XML-Xerces-2.5.0-0/t/DOMCount.t
XML-Xerces-2.5.0-0/t/Schema.t
XML-Xerces-2.5.0-0/t/LocalFileInputSource.t
XML-Xerces-2.5.0-0/t/DOMException.t
XML-Xerces-2.5.0-0/t/DOMNodeIterator.t
XML-Xerces-2.5.0-0/t/XMLUri.t
XML-Xerces-2.5.0-0/t/URLInputSource.t
XML-Xerces-2.5.0-0/t/DOMNode.t
XML-Xerces-2.5.0-0/t/DOMTreeWalker.t
XML-Xerces-2.5.0-0/t/DOMParser.t
XML-Xerces-2.5.0-0/t/MemBufInputSource.t
XML-Xerces-2.5.0-0/t/XercesDOMParser.t
XML-Xerces-2.5.0-0/t/SAX2XMLReader.t
XML-Xerces-2.5.0-0/t/Attributes.t
XML-Xerces-2.5.0-0/t/DOMPrint.t
XML-Xerces-2.5.0-0/t/actualCast.t
XML-Xerces-2.5.0-0/t/DOMNodeList.t
XML-Xerces-2.5.0-0/t/StdInInputSource.t
XML-Xerces-2.5.0-0/t/EntityResolver.t
XML-Xerces-2.5.0-0/t/XMLException.t
XML-Xerces-2.5.0-0/t/DOMDocument.t
XML-Xerces-2.5.0-0/t/PerlErrorHandler.t
XML-Xerces-2.5.0-0/t/AttributeList.t
XML-Xerces-2.5.0-0/t/DOMCreate.t
XML-Xerces-2.5.0-0/t/letter.xml
XML-Xerces-2.5.0-0/samples/
XML-Xerces-2.5.0-0/samples/public.xml
XML-Xerces-2.5.0-0/samples/SEnumVal.pl
XML-Xerces-2.5.0-0/samples/catalog.xml
XML-Xerces-2.5.0-0/samples/DOMCreate.pl
XML-Xerces-2.5.0-0/samples/personal.xsd
XML-Xerces-2.5.0-0/samples/DOM2hash.pl
XML-Xerces-2.5.0-0/samples/catalog.dtd
XML-Xerces-2.5.0-0/samples/DOMCount.pl
XML-Xerces-2.5.0-0/samples/personal.xml
XML-Xerces-2.5.0-0/samples/personal.dtd
XML-Xerces-2.5.0-0/samples/SAXCount.pl
XML-Xerces-2.5.0-0/samples/personal-no-doctype.xml
XML-Xerces-2.5.0-0/samples/validator-dom.pl
XML-Xerces-2.5.0-0/samples/SAX2Count.pl
XML-Xerces-2.5.0-0/samples/personal-schema.xml
XML-Xerces-2.5.0-0/samples/EnumVal.pl
XML-Xerces-2.5.0-0/samples/DOMPrint.pl
XML-Xerces-2.5.0-0/samples/system.xml
XML-Xerces-2.5.0-0/samples/XMLSimple.pm
XML-Xerces-2.5.0-0/samples/personal-no-xmldecl.xml
XML-Xerces-2.5.0-0/samples/validator.pl
XML-Xerces-2.5.0-0/Changes
XML-Xerces-2.5.0-0/Xerces.pm
XML-Xerces-2.5.0-0/Handler/
XML-Xerces-2.5.0-0/Handler/PerlErrorCallbackHandler.cpp
XML-Xerces-2.5.0-0/Handler/PerlDocumentCallbackHandler.cpp
XML-Xerces-2.5.0-0/Handler/PerlNodeFilterCallbackHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlDocumentCallbackHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlEntityResolverHandler.i
XML-Xerces-2.5.0-0/Handler/PerlEntityResolverHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlNodeFilterCallbackHandler.i
XML-Xerces-2.5.0-0/Handler/PerlContentCallbackHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlCallbackHandler.cpp
XML-Xerces-2.5.0-0/Handler/PerlCallbackHandler.swig.hpp
XML-Xerces-2.5.0-0/Handler/PerlCallbackHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlErrorCallbackHandler.hpp
XML-Xerces-2.5.0-0/Handler/PerlContentCallbackHandler.cpp
XML-Xerces-2.5.0-0/Handler/Makefile.PL
XML-Xerces-2.5.0-0/MANIFEST
XML-Xerces-2.5.0-0/TODO
XML-Xerces-2.5.0-0/typemaps.i
XML-Xerces-2.5.0-0/postModule.pl
XML-Xerces-2.5.0-0/Xerces.i
XML-Xerces-2.5.0-0/LICENSE
XML-Xerces-2.5.0-0/README
XML-Xerces-2.5.0-0/Xerces-extra.pm
XML-Xerces-2.5.0-0/postSource.pl
XML-Xerces-2.5.0-0/FAQ
XML-Xerces-2.5.0-0/hints/
XML-Xerces-2.5.0-0/hints/aix.pl
XML-Xerces-2.5.0-0/hints/dec_osf.pl
XML-Xerces-2.5.0-0/hints/solaris_2.pl
XML-Xerces-2.5.0-0/hints/linux.pl
XML-Xerces-2.5.0-0/hints/mswin32.pl
XML-Xerces-2.5.0-0/hints/darwin.pl
XML-Xerces-2.5.0-0/hints/hpux.pl
XML-Xerces-2.5.0-0/SWIG.pm
XML-Xerces-2.5.0-0/docs/
XML-Xerces-2.5.0-0/docs/XMLUni.txt
XML-Xerces-2.5.0-0/META.yml
XML-Xerces-2.5.0-0/Xerces.cpp
XML-Xerces-2.5.0-0/INSTALL
XML-Xerces-2.5.0-0/Makefile.PL
Removing previously used /root/.cpan/build/XML-Xerces-2.5.0-0

  CPAN.pm: Going to build J/JA/JASONS/XML-Xerces-2.5.0-0.tar.gz

Using XERCES_LIB = /tmp/xerces/xerces-c-src_2_5_0/lib
Using XERCES_INCLUDE = /tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/
using config file: /tmp/xerces/xerces-c-src_2_5_0/src/xercesc/config.status

Found CXX      = g++
Found CXXFLAGS =  -w -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET
Found LDFLAGS  =
Couldn't find XercesVersion.hpp in your include directory /tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/ at Makefile.PL line 167, <CONF> line 185.
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install

cpan>


------------------

I can't figure out why it can't find XercesVersion.hpp because:

> ls /tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/Xe*hpp
/tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/XercesDefs.hpp
/tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/XercesVersion.hpp

Any ideas on why I can't build the perl module are greatly appreciated.

Thanks!

Barry


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


Re: Xerces 2.5 install problems

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Barry Caplan <bc...@i18n.com> writes:

> XERCESCROOT=/tmp/xerces/xerces-c-src_2_5_0
> XERCES_INCLUDE=/tmp/xerces/xerces-c-src_2_5_0/include/xercesc/util/
> XERCES_LIB=/tmp/xerces/xerces-c-src_2_5_0/lib

Hey Barry,

If you set XERCESCROOT, you don't need to set the other two, in fact,
they may conflict (as your settings do).

I appologize as the wording in the README is not explicit about how
the other two variables should be set. You have set LIB properly, but
INCLUDE should be set to the *top level* include directory:

  XERCES_INCLUDE=/tmp/xerces/xerces-c-src_2_5_0/include/

But as I say, if you use XERCESCROOT, you don't need the other two.

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