Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version 1.6.0 of the library has been tested with versions 3.x and 2.8.0 of Xerces-C, and Version 0.9.7 (and above) of OpenSSL. Xalan-C has no official releases that will build successfully with Xerces-C 3.x.

Getting the source

You can download the sources via WWW in the distribution directory from one of the Apache mirrors.

...

XML Security C++ is currently fully supported on Red Hat and SUSE Linux, Solaris, and Mac OS X. It has been built and tested using GNU gcc 3.x/4.x and Sun Workshop (Solaris).

...

The build process has been automated corrected as much as possible to rely on standard configure and make commands and not environment variables.

If configure cannot find anything for Xalan, it will assume that you are not interested in XPath or XSLT support and will compile XSEC without linking to Xalan. Any attempt to use these features will raise an exception in the library.

...

  • --without-xalan disable linkage to Xalan.
  • --with-xerces=<dir> define Xerces directory rather than use XERCESCROOT
  • --with-openssl=<dir> define OpenSSL directory rather than use OPENSSLROOTdirectory
  • --with-nss=<dir> define NSS directory (must be used to get NSS support)
  • --enable-debug cause the library to be built with symbols

Using the --without-xalan option will automatically mean that the library does not support XPath or XSLT transformations (although envelope transforms will work as the library can now perform these without going through an XPath transform).

...

Assuming the output of the above command looks reasonable simply type make (or gmake - you must use the GNU make utility) in the base directory. This will make build the shared library. In addition, make tools will make the tools (or examples) in the src/tools directory.

...

XML Security C++ has been built and tested on Microsoft's Visual C++ 6.0 and 2005/2008/2010 compilers. The following subsections briefly describe how to rebuild the library, tools and samples using the supplied workspaces. The specific information is for VC6, but the process for 2005 or 2008 later versions is similar.

As of version 0.2, the The library can be built without OpenSSL on a Windows platform. (The WinCAPI provider will be used instead). See below for details on how to do this. This is still experimental, but should work for some scenarios.

Setup Directories

The workspace and project files provided do not make any assumptions about where Xerces, Xalan or OpenSSL might be on the system. The first step is therefore to configure VC directories under Tools->Options (Directories).

...