Re: XML::Xerces trouble

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

> 1.  Yes, I still get the wrong value for CC in the makefile after
>     running Makefile.PL.

Sorry, not sure here. Did you set XERCES_CONFIG properly? If so,
please show me the output of Makefile.PL, thanks.

> 3.  I'll try the next version of XML::Xerces today and see where that
>     gets me.  I'll post any info after that.

Unfortunately, it's not very unlikey to help. Those inline
declarations in Xerces-c are causing the trouble. I've just tried
building the XML-Xerces-2.3.0-4 code against the latest CVS snapshot,
and unfortunately they've changed the public API again.

So you have a few choices:

* build xerces-c-2.3.0 from source, and then delete the offending
  inline directives from XMLPlatformUtils.cpp

* I can add %ignore directives in XML-Xerces to eliminate offending
  methods from Xerces.so

* wait for me to make an experimental XML-Xerces-2.4 release so that
  you can build against the CVS Xerces-C snapshot.

The first is probably the most flexible.

> 4.  I have actually tried building the xerces-c in the past, too.  But
>     I ended up with the same results when building the perl code.
>     That is, "make test" still failed and the sample perls still
>     dumped core.  Basically, I've been having the same problems from
>     the beginning no matter which version of Xerces-C or XML::Xerces
>     perl I've used.  I have a suspicion that it's something simple on
>     my end that would fix all this.  I just can't figure out what the
>     'something simple' is.

I don't think so. If you look at the list archives for last month,
you'll see three other reports of this same problem. In all cases that
I know of, removing the inline directives solved the problem.

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.