Hi all,
After looking through the previous error output of runtest.exe, I realised that most of these errors were due to the installation process not copying two folders required for runtest.exe from C:\DEVEL\libxml2-2.7.6 (source code directory) to C:\opt (installation directory).
These folders are:
The folders above were manually copied as required.
I executed runtest.exe from C:\opt (as runtest.exe used relative path starting from C:\opt) with the following command:
bin\runtest.exe > libxml2_runtest_log.txt 2>&1
I’ve attached the output of runtest.exe.
I would appreciate it if someone could enlighten me on these remaining errors and how corrections can be made.
Much thanks.
Regards,
Xiangrong.
Hi all,
I would really appreciate some help in building libxml2 for Windows 32.
The summary is that I managed to configure, build and install libxml2, but all its tests from runtest.exe failed.
Following are the details.
I downloaded the libxml2-2.7.6 source code from ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz.
I extracted and placed the libxml2-2.7.6 folder in C:\DEVEL.
Configuration
Using the MSVC 10 command prompt, I navigated to the C:\DEVEL\libxml2-2.7.6\win32 directory and used cscript to configure libxml2.
The command used was:
cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include lib=c:\opt\lib debug=yes iconv=no cruntime=/MT
Compilation
In the same directory, I compiled libxml2 with the following command:
nmake /f Makefile.msvc
Installation
In the same directory, I installed libxml2 with the following command:
nmake /f Makefile.msvc install
Testing
After installation, I ran the runtest.exe from C:\opt\bin, and it seemed all the tests failed.
I’ve attached the output of runtest.exe.
System
The system I’m building libxml2 on is:
Windows XP Professional
Version 5.1 (Build 2600.xpsp_sp3_gdr.100216-1514 : Service Pack 3)
Requirements for my libxml2 installation:
I must be able to use it in MSVC++ 10 Express on my system.
All tests in libxml2 runtest.exe must pass.
I would appreciate if someone could enlighten me on what went wrong and how corrections can be made.
Much thanks.
Regards,
Xiangrong.
Attachment:
libxml2_runtest_log.txt
Description: Text document