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 "Jason E. Stewart" <ja...@openinformatics.com> on 2003/05/27 19:34:48 UTC

Re: ["Shlomi Fish" ] Error Building XML::Xerces with Xerces-C++-2.2.0

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" <ja...@openinformatics.com> writes:

> From: "Shlomi Fish" <sh...@vipe.technion.ac.il>
> Subject: Error Building XML::Xerces with Xerces-C++-2.2.0
> To: jasons@apache.org
> 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        shlomif@vipe.technion.ac.il
> 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: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> 
> 
> 
> ----------

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


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


Re: ["Shlomi Fish" ] Error Building XML::Xerces with Xerces-C++-2.2.0

Posted by Shlomi Fish <sh...@vipe.technion.ac.il>.
On 27 May 2003, Jason E. Stewart wrote:

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

OK.

So when is version 2.2.x of XML::Xerces going to be available? I've
started adapting the sources of XML::Xerces-2.0.0 to 2.2.x, but now I face
some problems with the Xerces.pm module as generated by SWIG. I'll try to
resolve them myself, but would appreciate any official help.

Regards,

	Shlomi Fish

> "Jason E. Stewart" <ja...@openinformatics.com> writes:
>
> > From: "Shlomi Fish" <sh...@vipe.technion.ac.il>
> > Subject: Error Building XML::Xerces with Xerces-C++-2.2.0
> > To: jasons@apache.org
> > 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        shlomif@vipe.technion.ac.il
> > 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: xerces-p-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> >
> >
> >
> > ----------
>



----------------------------------------------------------------------
Shlomi Fish        shlomif@vipe.technion.ac.il
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: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org