[Lxml-checkins] r32100 - lxml/branch/lxml-1.0/doc

scoder at codespeak.net scoder at codespeak.net
Sat Sep 9 07:59:01 CEST 2006


Author: scoder
Date: Sat Sep  9 07:58:59 2006
New Revision: 32100

Modified:
   lxml/branch/lxml-1.0/doc/build.txt
Log:
merged in build doc update from trunk

Modified: lxml/branch/lxml-1.0/doc/build.txt
==============================================================================
--- lxml/branch/lxml-1.0/doc/build.txt	(original)
+++ lxml/branch/lxml-1.0/doc/build.txt	Sat Sep  9 07:58:59 2006
@@ -53,8 +53,16 @@
 
   make
 
-If you then place lxml's ``src`` directory on your PYTHONPATH somehow, you can
-import ``lxml.etree`` and play with it.
+If you get errors about missing header files (e.g., ``libxml/xmlversion.h``)
+then you need to add the location of that file to the include path like::
+
+  python setup.py build_ext -i -I /usr/include/libxml2
+
+where the file is in ``/usr/include/libxml2/libxml/xmlversion.h``
+
+To use lxml.etree in-place, you can place lxml's ``src`` directory on your
+Python module search path (PYTHONPATH) and then import ``lxml.etree`` to play
+with it.
 
 To recompile after changes, note that you may have to run ``make clean`` or
 delete the file ``src/lxml/etree.c``.  Distutils do not automatically pick up


More information about the lxml-checkins mailing list