"Bruce W. Hoylman" <[EMAIL PROTECTED]> writes:
> Ciao!
>
> The archives for this list appear to be down and the new archives at
> archive.covalent.net are non-functional as well. I apologize if
> this is a commonly asked question.
Hey Bruce,
We're pretty friendly around here, so you can remove the asbestos
undies ;-)
For future reference, I recommend using the archives at:
http://marc.theaimsgroup.com/
Very fast, and lots of lists.
> The players:
> ------------
> perl, v5.6.1 built for sun4-solaris
> xerces-c-src1_5_1
Sorry, this is the culprit. I have not yet made a release for
Xerces-C-1.5.1 yet, and they have removed this method from the Parser
interface, so it affects {DOM,IDOM,SAX}Parser classes.
> Xerces.C:16016: no matching function for call to `SAXParser::getScanner ()'
> Xerces.C:17663: no matching function for call to `DOMParser::getScanner ()'
> Xerces.C:19492: no matching function for call to `IDOMParser::getScanner ()'
> This is using the Xerces.C and Xerces.pm that comes with the distro.
> I attempted to generate new copies using SWIG Version
> 1.3.6u-20010725-1653 but this only made matters worse. I have
> concluded I do not wish to go this route if at all possible.
As a user, I hope that you never have to. Thanks for the warning, and
I will update those interfaces when I make the new release (hopefully
by friday).
For the record. Xerces.pm keeps a private copy of all the Xerces
header files in the Xerces_header directory. This is because SWIG does
not fully parse C++ files and in order to get it to work, we have to
comment out certain pieces (macro's, etc). Therefore we need our own
copies. If you want something working in the meantime, you can comment
out the getScanner() method definition lines in:
Xerces_headers/parser/DOMParser.hpp
Xerces_headers/parser/IDOMParser.hpp
Xerces_headers/parser/SAXParser.hpp
and then run make again. You need to set your XERCES_DEVEL environment
variable (to any true value) and then rerun 'perl makefile.PL' if you
haven't yet set XERCES_DEVEL. That will automatically rerun swig if
you have modified any of the header files in Xerces_headers.
Thanks for your help!
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]