Before attempting xerces 2.x I thought it might be a good idea build 1.7 first. This is perl 5.8, gnu/debian unstable, gcc 2.95.4, xerces-c 1.7.0
While doing so I ran into the following issues: Problem in building Xerces.C In perl 5.8, apparently, ExtUtils::MakeMaker=Version_check is not defined. So I NOOPed it in the Makefile. GNU_SOURCE was not defined as a cflag cc -c -I. ... -D_REENTRANT -DDEBIAN -O3 ... Xerces.C Which I changed to read cc -c -I. ... -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -O3 ... Xerces.C INFINITY (as an enum in .../validators/schema/SchemaSymbols.hpp) is already defined in /usr/include/bits/mathdef.h To deal with this inconsistency I changed the INFINITY enum to INFINITES. Argument problem with the 'Perl_die' function. The perlapi man page indicates that 'croak' be used (so I did). After that is seemed to compile correctly. Of course the tests all failed :-( --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
