Metaproxy can be compiled with Microsoft Visual Studio. Version 2003 (C 7.1) and 2005 (C 8.0) is known to work.
Get Boost from its home page.
You also need Boost Jam (an alternative to make).
That's also available from the Boost home page.
The files to be downloaded are called something like:
boost_1_33-1.exe
and
boost-jam-3.1.12-1-ntx86.zip
.
Unpack Boost Jam first. Put bjam.exe
in your system path. Make a command prompt and ensure
it can be found automatically. If not check the PATH.
The Boost .exe is a self-extracting exe with
complete source for Boost. Compile that source with
Boost Jam (An alternative to Make).
The compilation takes a while.
For Visual Studio 2003, use
bjam "-sTOOLS=vc-7_1"
Here vc-7_1
refers to a "Toolset" (compiler system).
For Visual Studio 2005, use
bjam "-sTOOLS=vc-8_0"
To install the libraries in a common place, use
bjam "-sTOOLS=vc-7_1" install
(or vc-8_0 for VS 2005).
By default, the Boost build process installs the resulting
libraries + header files in
\boost\lib
, \boost\include
.
For more information about installing Boost refer to the getting started pages.
Libxslt can be downloaded for Windows from here.
Libxslt has other dependencies, but these can all be downloaded from the same site. Get the following: iconv, zlib, libxml2, libxslt.
Get YAZ++ as well. Version 1.0 or later is required. For now get it from Index Data's Snapshot area.
YAZ++ includes NMAKE makefiles, similar to those found in the YAZ package.
Metaproxy is shipped with NMAKE makefiles as well - similar to those found in the YAZ++/YAZ packages. Adjust this Makefile to point to the proper locations of Boost, Libxslt, Libxml2, zlib, iconv, yaz and yazpp.
DEBUG
If set to 1, the software is compiled with debugging libraries (code generation is multi-threaded debug DLL). If set to 0, the software is compiled with release libraries (code generation is multi-threaded DLL).
BOOST
Boost install location
BOOST_VERSION
Boost version (replace . with _).
BOOST_TOOLSET
Boost toolset.
LIBXSLT_DIR
,
LIBXML2_DIR
..Specify the locations of Libxslt, libiconv, libxml2 and libxslt.
After successful compilation you'll find
metaproxy.exe
in the
bin
directory.