Re: Building XML-Xerces-2.3.0-3 on Windows
Martin Raspe <[email protected]>
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Jason E. Stewart wrote: > Martin Raspe <[email protected]> writes: > Whoops! Sorry I didn't realize that's what you were doing. Here's some > help. First, the $^O test is redundant because MsWin32.pl will only > get called for win32 in the first place. Of course, I just copied and pasted. > Also, instead of setting > $CFLAGS, it should set $self->{CCFLAGS}, like this: > > $self->{CCFLAGS} .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX"; Yes, I read about that before but forgot again. > $self is the MakeMaker object hash that stores all the values from the > call to WriteMakefile, by setting the object directly, it should be > passed to all other Makefile.PL's (in this case, only > Handler/Makefile.PL). > > Please try this change. Sorry, no luck - the cc flags don't propagate to Handler/Makefile. Maybe someone else should test it, too - I'll be away until next Wednesday. Here is the output I get - do you see anything strange? #----------------- D:\Src\XML-Xerces-2.3.0-4>perl Makefile.PL Using XERCES_LIB = C:/xerces-c_2_3_0-win32/lib Using XERCES_INCLUDE = C:/xerces-c_2_3_0-win32/include WARNING You have defined the XERCESCROOT variable, but I am unable to locate the config.status file that was used to build your Xerces-C. Without that file, I may not be able to properly build the C++ glue files that come with Xerces.pm. Proceeding ... Using Xerces-C version info from C:/xerces-c_2_3_0-win32/include/xercesc/util/XercesVersion.hpp Checking to see if libxerces is in your library path...Success!! Using Xerces-C version: 2.3.0 Processing hints file hints\MSWin32.pl Note (probably harmless): No library found for '-lpthread' Writing Makefile for Handler Writing Makefile for XML::Xerces #---------------- Martin