libxml2, libxslt Binaries
Explain makes binaries for Mac OS X available for libxml2 and libxslt. Unlike Fink and MacOSPorts, these binaries are built as Frameworks, which is better for making user-installable software packages.
These libraries have been built as embeddable OS X Frameworks. This means that you may install them anywhere on your system, or within your application, and OS X will search for them. Suggested installation locations are
The frameworks may also be included in the Frameworks directory of an application. In this way the application is self-contained, and can be installed without requiring the superuser password (ie. the application may be installed by simply copying it to a destination folder). tkxmllint and tkxsltproc are examples of applications that embed the frameworks.
You may also install multiple versions without having them conflict.
The disk image contains all of the frameworks, so only a single download is needed.
Installation follows the usual Mac OS X fashion. Double-click the downloaded file to decompress and mount the disk image.
The disk image contains the libxml2, libxslt and libexslt library frameworks. The Jaguar disk image also contains the libiconv framework; Tiger and Panther does not require libiconv. These may be copied anywhere that Frameworks may be found (consult the Mac OS X documentation for more information on Frameworks). The disk image also contains the xmllint and xsltproc command line applications. Copy these to a folder on your path, such as
To build the frameworks yourself, you may use either Xcode (under OS 10.3, 10.4 or 10.5) or Project Builder (OS 10.1 to 10.2). Xcode is now the preferred build environment.
Apple's Leopard (10.5), Tiger (10.4) and Panther (10.3) operating system uses Xcode (instead of Project Builder) for developing software. Starting with libxml2 2.6.2 and libxslt 1.1.0, the frameworks are built using Xcode. Also, Tiger and Panther include libiconv so the libraries simply link against the OS-supplied dynamic library.
Also note that Leopard, Tiger and Panther include libxml2-2.5.4 (for 10.5, 10.4 and 10.3.9, libxml2-2.6.16 and libxslt 1.1.12, 1.1.11 or 1.1.9). If xmllint is all you need, and version 2.5.4 (2.6.16/1.1.12) is good enough, then there's no need to do anything!
To build the frameworks using Xcode, first download the sources from the Gnome website and unpack them. Then, fetch the appropriate tarball (below) and unpack in the library source directory. This will create a
The Project Builder files are available so that you can build the libraries for yourself. Fetch the library sources from the Gnome website and unpack them and then unpack the appropriate tarball below. This will create a
Mac OS X has a system called "prebinding" that allows an application to start faster. For prebinding to work all libraries must declare where they are loaded into the application's address space, using the
Copyright © 2005-2008 Explain. All rights reserved.Legal notices. Comments or questions about this website? Contact the webperson.