Hi,

You can't build XML::Xerces-2.0.x with Xerces-C-2.2.x they *have* to
have the same major/minor version numbers - it's in the README.

jas.

"Jason E. Stewart" <[EMAIL PROTECTED]> writes:

> From: "Shlomi Fish" <[EMAIL PROTECTED]>
> Subject: Error Building XML::Xerces with Xerces-C++-2.2.0
> To: [EMAIL PROTECTED]
> Date: Sun, 25 May 2003 18:56:00 +0300 (IDT)
> 
> 
> Hi!
> 
> I'm having a problem building XML::Xerces with Xerces-C++-2.2.0.
> I get the following errors in the "make stage":
> 
> make -C Handler static
> make[1]: Entering directory 
> `/home/shlomi/Download/unpack/perl/XML-Xerces-2.0.0-3/Handler'
> gcc -c  -I. -IHandler -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 
> -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro   -DVERSION=\"\" 
> -DXS_VERSION=\"\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   
> PerlContentCallbackHandler.cpp
> In file included from PerlContentCallbackHandler.hpp:4,
>                  from PerlContentCallbackHandler.cpp:2:
> PerlCallbackHandler.hpp:51:8: warning: extra tokens at end of #endif directive
> In file included from PerlContentCallbackHandler.cpp:2:
> PerlContentCallbackHandler.hpp:10: base class `ContentHandler' has incomplete type
> PerlContentCallbackHandler.hpp:27: parse error before `&' token
> PerlContentCallbackHandler.hpp:40: parse error before `*' token
> PerlContentCallbackHandler.cpp:40: parse error before `&' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::startElement(...)':
> PerlContentCallbackHandler.cpp:54: `XMLString' undeclared (first use this function)
> PerlContentCallbackHandler.cpp:54: (Each undeclared identifier is reported only once 
> for each function it appears in.)
> PerlContentCallbackHandler.cpp:54: parse error before `::' token
> PerlContentCallbackHandler.cpp:60: parse error before `::' token
> PerlContentCallbackHandler.cpp:66: parse error before `::' token
> PerlContentCallbackHandler.cpp:75: `attrs' undeclared (first use this function)
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::endElement(const XMLCh*, const XMLCh*, const XMLCh*)':
> PerlContentCallbackHandler.cpp:106: parse error before `::' token
> PerlContentCallbackHandler.cpp:112: parse error before `::' token
> PerlContentCallbackHandler.cpp:118: parse error before `::' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::characters(const XMLCh*, unsigned int)':
> PerlContentCallbackHandler.cpp:152: parse error before `::' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::ignorableWhitespace(const XMLCh*, unsigned int)':
> PerlContentCallbackHandler.cpp:186: parse error before `::' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::processingInstruction(const XMLCh*, const XMLCh*)':
> PerlContentCallbackHandler.cpp:286: parse error before `::' token
> PerlContentCallbackHandler.cpp:292: parse error before `::' token
> PerlContentCallbackHandler.cpp: At global scope:
> PerlContentCallbackHandler.cpp:310: parse error before `*' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::setDocumentLocator(...)':
> PerlContentCallbackHandler.cpp:327: `locator' undeclared (first use this function)
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::startPrefixMapping(const XMLCh*, const XMLCh*)':
> PerlContentCallbackHandler.cpp:353: parse error before `::' token
> PerlContentCallbackHandler.cpp:359: parse error before `::' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::endPrefixMapping(const XMLCh*)':
> PerlContentCallbackHandler.cpp:391: parse error before `::' token
> PerlContentCallbackHandler.cpp: In member function `void 
> PerlContentCallbackHandler::skippedEntity(const XMLCh*)':
> PerlContentCallbackHandler.cpp:422: parse error before `::' token
> make[1]: *** [PerlContentCallbackHandler.o] Error 1
> make[1]: Leaving directory 
> `/home/shlomi/Download/unpack/perl/XML-Xerces-2.0.0-3/Handler'
> make: *** [blib/arch/auto/Handler/Handler.a] Error 2
> 
> Regards,
> 
>       Shlomi Fish
> 
> 
> ----------------------------------------------------------------------
> Shlomi Fish        [EMAIL PROTECTED]
> Home Page:         http://t2.technion.ac.il/~shlomif/
> 
> An apple a day will keep a doctor away. Two apples a day will keep two
> doctors away.
> 
>       Falk Fish
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ----------

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

Reply via email to