"Martin Raspe" <[EMAIL PROTECTED]> writes:
> Thank you so much! Finally it compiles (quasi out of the box,
> without running SWIG). This is Win2000, Perl 5.6.1 and VC 6.0.
Whoa! No way! You're the first person to report success on
Windows. That's cool!
I'd really recommend upgrading your Perl to 5.8.x, Xerces relies
heavily on Perl's Unicode support and it was pretty buggy in 5.6.
> A few issues concern "makefile.pl":
> "config.status" is not included in the xerces-c Windows binaries.
Hmmm. I'll talk to the Xerces-C people about this.
I'll add a hints file for Windows - could you tell me what the output
of $^O (the operating system variable) is?
> my $LIBXERCES = "-lxerces-c_2";
> # this is the library name on Windows
OK.
> my $CFLAGS = '-D_REENTRANT -DWIN32 -TP -GX -DHAS_BOOL';
> # with config.status missing $CFLAGS are undefined
OK.
> \$(MAKE) -C Handler static
> # this syntax doesn't work on Windows, replace with:
> cd Handler && \${MAKE} static
Yes, this is gnu make syntax, I'll add an exception for windows.
> For some reason, Xerces.C isn't compiled by the makefile. I had to
> compile it by hand.
This one I don't understand.
> Testing: All tests fail unless the system path is set to include the
> location of Xerces-c_2_3_0.dll.
There's probably a linker flag that tells it where the library is
located at runtime - if you find that out, I'll include it in the
windows help file.
> Some of the tests fail because of unix syntax in the test files
> (like "2>/dev/null").
Yeah, this is I/O redirection on Unix - I'll test, I may not need this.
> Exception handling seems particularly weak (tests fail mainly on
> exceptions). The message is always "Handling Unknown exception".
Hmmm... Not sure about this one - that message comes from my exception
handler getting some exception that it can't deal with and killing
Xerces. It seems that almost all the methods are failing - I'd be
surprised if you could write an application that works.
Looks like there's some more debugging needed.
Thanks for the report!
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]