[Lxml-checkins] r51349 - in lxml/trunk: . doc

scoder at codespeak.net scoder at codespeak.net
Fri Feb 8 20:43:39 CET 2008


Author: scoder
Date: Fri Feb  8 20:43:38 2008
New Revision: 51349

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/doc/build.txt
Log:
 r3453 at delle:  sbehnel | 2008-02-08 20:43:13 +0100
 mention new --with-xslt-config option in build docs


Modified: lxml/trunk/doc/build.txt
==============================================================================
--- lxml/trunk/doc/build.txt	(original)
+++ lxml/trunk/doc/build.txt	Fri Feb  8 20:43:38 2008
@@ -88,9 +88,13 @@
 
 If you get errors about missing header files (e.g. ``libxml/xmlversion.h``)
 then you need to make sure the development packages of both libxml2
-and libxslt are properly installed.  If this doesn't help, you may
-have to add the location of the header files to the include path
-like::
+and libxslt are properly installed.  Try passing the following option to
+setup.py to make sure the right config is found::
+
+  python setup.py build --with-xslt-config=/path/to/xslt-config
+
+If this doesn't help, you may have to add the location of the header
+files to the include path like::
 
   python setup.py build_ext -i  -I /usr/include/libxml2
 
@@ -178,7 +182,11 @@
 provided by fink or macports) are used at *build time*, you must take
 care that the script ``xslt-config`` is found from the newly installed
 version when running the build setup.  The system libraries also
-provide this script, but the new one must come first in the PATH.
+provide this script, but the new one must come first in the PATH.  The
+best way to make sure the right version is used is by passing the path
+to the script as an option to setup.py::
+
+  python setup.py build --with-xslt-config=/path/to/xslt-config
 
 To make sure the newer libxml2 and libxslt versions are used at
 *runtime*, you should add *all* directories where the newer libraries


More information about the lxml-checkins mailing list