Re: Building XML-Xerces-2.3.0-3 on Windows
[email protected] (Jason E. Stewart)
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Martin Raspe <[email protected]> writes: > 1. The xerces library is called "xerces-c_2" in the binary version for > Windows. The following line should be added to Makefile.pl: > > > if ($^O eq 'MSWin32') { > $LIBXERCES = "-lxerces-c_2"; > } > > 2. The xerces-c binaries for Windows don't come with a "config.status" > file. Therefore I'd propose to include the needed compiler flags from > lib/Config.pm as follows: > > > if ($^O eq 'MSWin32') { > $CFLAGS .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX"; > } I can add those conditionals, but it would be much better to create an arch file in hints/ - the problem is, I don't know what to call the file - for OS X it is darwin.pl, for linux it is linux.pl, but windows and VC++ it is different... If anyone knows, please illuminate me. > These changes seems to make everything compile and link out of the > box. Great! > I'll send a detailed report on the test results as soon a possible. Thanks Martin! It would also be really helpful if we could put together a binary release for Windows. I'm just not sure how to do it at the moment. Are you using ActivePerl? Is that what most windows users do? If so then perhaps making a PPM file is the way to go. I think that would open up Xerces to a lot more users... Thanks again Martin, jas.