[xml] Compile problem libxml2-2.6.8 on MSVC .NET / WinXP
- From: "uttam rao" <auttamrao hotmail com>
- To: xml gnome org
- Subject: [xml] Compile problem libxml2-2.6.8 on MSVC .NET / WinXP
- Date: Tue, 06 Apr 2004 12:21:26 +0000
Hello Daneil,
I have downloaded version libxml2-2.6.8 .
and its not compiling.
I have run the configured script as
cscript configure.js compiler=msvc include=
lib=C:\downloads\xml\xslt\libxml2-2.6.8 debug=yes iconv=no
prefix=c:\work\libxml\lib incdir=c:\work\libxml\include
And trying to compile with
nmake /f Makefile.msvc
The problem is that script is unable to map path to the system header files
and libraries.
I have checked the environment variables its ok.
config.msvc file generated is as follows:
-------------------------------------------------------------------------------------------------------------------------------------------
# .\config.msvc
# This file is generated automatically by configure.js.
LIBXML_MAJOR_VERSION=2
LIBXML_MINOR_VERSION=6
LIBXML_MICRO_VERSION=8
LIBXML_MICRO_VERSION_SUFFIX=
XML_SRCDIR=..
UTILS_SRCDIR=..
WITH_TRIO=0
WITH_THREADS=native
WITH_FTP=1
WITH_HTTP=1
WITH_HTML=1
WITH_C14N=1
WITH_CATALOG=1
WITH_DOCB=1
WITH_XPATH=1
WITH_XPTR=1
WITH_XINCLUDE=1
WITH_ICONV=0
WITH_ISO8859X=0
WITH_ZLIB=0
WITH_DEBUG=1
WITH_MEM_DEBUG=0
WITH_SCHEMAS=1
WITH_REGEXPS=1
WITH_TREE=1
WITH_READER=1
WITH_WRITER=1
WITH_WALKER=1
WITH_PATTERN=1
WITH_PUSH=1
WITH_VALID=1
WITH_SAX1=1
WITH_LEGACY=1
WITH_OUTPUT=1
WITH_PYTHON=0
DEBUG=1
STATIC=0
PREFIX=c:\work\libxml\lib
BINPREFIX=$(PREFIX)\bin
INCPREFIX=c:\work\libxml\include
LIBPREFIX=$(PREFIX)\lib
SOPREFIX=$(PREFIX)\lib
INCLUDE=$(INCLUDE);C:\Programme\Microsoft\Visual Studio
.NET\Vc7\include,C:\downloads\xml\xslt\libxml2-2.6.8\include
LIB=$(LIB);C:\downloads\xml\xslt\libxml2-2.6.8
CRUNTIME=/MD
---------------------------------------------------------------------------------------------------------------------------------------
Errors generated as follows:
---------------------------------------------------------------------------------------------------------------------------------------
if not exist bin.msvc mkdir bin.msvc
if not exist int.msvc mkdir int.msvc
cl.exe /EP /nologo /I..\include /D "_REENTRANT" libxml2.def.src >
int.msvc\libxml2.def
cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W1 /MD /I..
/I..\include /Ic:\work\libxml\include /D "_REENTRANT" /D
"HAVE_WIN32_THREADS" /D "_DEBUG" /Od /Z7 /Foint.msvc\ /c ..\c14n.c
..\catalog.c ..\chvalid.c ..\debugXML.c ..\dict.c ..\DOCBparser.c
..\encoding.c ..\entities.c ..\error.c ..\globals.c ..\hash.c
..\HTMLparser.c ..\HTMLtree.c ..\legacy.c ..\list.c ..\nanoftp.c
..\nanohttp.c ..\parser.c ..\parserInternals.c ..\pattern.c ..\relaxng.c
..\SAX2.c ..\SAX.c ..\threads.c ..\tree.c ..\uri.c ..\valid.c ..\xinclude.c
..\xlink.c ..\xmlIO.c ..\xmlmemory.c ..\xmlreader.c ..\xmlregexp.c
..\xmlsave.c ..\xmlschemas.c ..\xmlschemastypes.c ..\xmlunicode.c
..\xmlwriter.c ..\xpath.c ..\xpointer.c ..\xmlstring.c
c14n.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
catalog.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
chvalid.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
debugXML.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
dict.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
DOCBparser.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
encoding.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
entities.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
error.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
globals.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
hash.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
HTMLparser.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
HTMLtree.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
legacy.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
list.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
nanoftp.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
nanohttp.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
parser.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
parserInternals.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
pattern.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
Generating Code...
Compiling...
relaxng.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
SAX2.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
SAX.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
threads.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
tree.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
uri.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
valid.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xinclude.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xlink.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlIO.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlmemory.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlreader.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlregexp.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlsave.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlschemas.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlschemastypes.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlunicode.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xmlwriter.c
..\xmlwriter.c(12) : fatal error C1083: Cannot open include file:
'string.h': Invalid argument
xpath.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
xpointer.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
Generating Code...
Compiling...
xmlstring.c
..\config.h(20) : fatal error C1083: Cannot open include file: 'io.h':
Invalid argument
Generating Code...
---------------------------------------------------------------------------------------------------------------------------------------
I also tried by encapsulating 'C:\Programme\Microsoft\Visual Studio
.NET\Vc7\include\' within strings and by removing spaces but still the
same.
Could u please tell me where I am wrong.
I am sure its not a bug but I could not another link to send the queries.
Kind regards
Uttam
_________________________________________________________________
Buzz on your screen! Download on your screen.
http://www.msn.co.in/Download/screensaver/ Keep yourself smiling!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]