Rob Richards schrieb am 17.05.2012 um 15:51 (-0400):
> Win32 build and tests look good

So building on Windows is really easy now! (Last time I tried it
was very discouraging for me.)

:: cd C:\Opt\Cygwin\usr\local\src\libxml2\libxml2-2.8.0\win32

:: cscript configure.js ^
    prefix=C:\Opt\CLib\LibXML28 ^
   include=C:\Opt\CLib\LibXML\include ^
    libdir=C:\Opt\CLib\LibXML\lib

:: nmake -f Makefile.msvc
:: nmake -f Makefile.msvc install


:: nmake /nologo XMLtests

## XML regression tests
../test/ebcdic_566012.xml:1: parser error : encoding not supported
EBCDIC
Loºöô@ÑàÖóëûò~⌂±K­⌂@àòâûäëòç~⌂╔┬È`±±¶±⌂@on%Lúàóú@üúúÖ~⌂JÓZ⌂@an%
^
../test/ebcdic_566012.xml:1: parser error : Start tag expected, '<' not
found
Loºöô@ÑàÖóëûò~⌂±K­⌂@àòâûäëòç~⌂╔┬È`±±¶±⌂@on%Lúàóú@üúúÖ~⌂JÓZ⌂@an%
^

So that appears to be a problem with EBCDIC again. Not sure how relevant
it is, ultimately, but Perl has 124 encodings and doesn't do EBCDIC
either.

:: perl -MEncode -lwe "print for Encode->encodings(':all')" | wc -l
:: perl -MEncode -lwe "print for Encode->encodings(':all')" | findstr /i ebc


There's also a target called "tests" ("XPath regression tests"),
but it fails.


:: cd ..
C:\Opt\Cygwin\usr\local\src\libxml2\libxml2-2.8.0

:: win32\bin.msvc\runtest.exe
…
Total 2826 tests, 10 errors, 0 leaks

All of the errors are related to EBCDIC.


:: set XML_CATALOG_FILES=C:\Opt\Cygwin\usr\local\src\libxml2\katalog.xml
:: win32\bin.msvc\testapi.exe

All fine.


The runxmlconf.exe for the xstc tests hasn't been built.

Michael
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to