|
|
NetApp Manageability SDK OLH - master : Getting started with SDK : Upgrading the libxml library
|
|
2.
|
Find the latest version of libxml and save the .tar.gz file.
|
|
3.
|
|
4.
|
Verify that a subdirectory named libxml2-x.x.x is created.
|
|
1.
|
Change directory: $ cd libxml2-x.x.x
|
|
2.
|
Configure libxml: $ ./configure
|
|
3.
|
|
4.
|
Verify that the location of the libxml library is libxml2-x.x.x/.libs.
|
|
2.
|
|
3.
|
|
5.
|
Create an nmake file called Makefile.msvc: libxml2-x.x.x\win32>cscript configure.js compiler=msvc prefix=win32outLIB include=C:\xml\xml2\libxml2-x.x.x\include\libxml debug=no
|
|
6.
|
Set the path to pick the vcvarsall.bat file: set PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC;%PATH%
|
|
7.
|
Set the path to pick nmake file and compiler: set PATH=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin;%PATH%
|
|
◦
|
For 32-bit platform: libxml2-x.x.x\win32>vcvarsall.bat x86
|
|
◦
|
For 64-bit platform :libxml2-x.x.x\win32>vcvarsall.bat x64
|
|
9.
|
|
10.
|
Open the library from the libxml2-2.9./win32/win32outLIB path.
|
|
Was this topic helpful? Send comments to NetApp.
|
|
Copyright © 2017 NetApp, Inc. All rights reserved.
|