Re: [xml] Release candidate 1 of libxml2 2.8.0



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]