error Compile libxml2 from python 2.6.4

Mauricio Martinez Garcia morfeokmg at gmail.com
Wed Aug 18 15:12:40 CEST 2010


Hi!.

  Have the next error on install libxml2.

python/bin/python setup.py install
failed to find headers for libxml2: update includes_dir

This my version of python

==> 
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/python/bin/python
Python 2.6.5 (r265:79063, Jul 21 2010, 13:05:40) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.


I'm Installing libxml2 for python 2.6.5, and this error break the install.

The  python path prefix is 
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/python, 
and i don't privileges of root.

The configuration to be personalized, in prefix path.

My compile line is:
./configure 
--with-python=/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/python 
\
--prefix=/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/libxml 
\
--with-libxml-include-prefix=/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/pythonPruebas/libxml2/libxml2-INC/usr/local/include/libxml2/libxml 




This is the output when finalize compiling this is message:

Enabled Schemas/Relax-NG support
configure: creating ./config.status
config.status: creating libxml2.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libxml/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating example/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating xml2-config
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating xml2Conf.sh
config.status: creating python/setup.py
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

And this is output of make install:

Libraries have been installed in:
    
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/python/lib/python2.6/site-packages

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - use the `-LLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

Making install in tests
No suffix list.
No suffix list.
         /bin/sh ../../mkinstalldirs 
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/libxml/share/doc/libxml2-python-2.6.4/examples
mkdir -p -- 
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/libxml/share/doc/libxml2-python-2.6.4/examples
         (for test in build.py    attribs.py      tst.py  
tstxpath.py     xpathext.py     push.py         pushSAX.py      
pushSAXhtml.py  error.py        serialize.py validate.py        
tstURI.py       cutnpaste.py xpathret.py        xpath.py        
outbuf.py       inbuf.py        resolver.py  regexp.py  reader.py       
reader2.py      reader3.py      reader4.py      reader5.py      
reader6.py      reader7.py      walker.py       ctxterror.py 
readererr.py relaxng.py    thread2.py tst.xml      valid.xml       
invalid.xml; \
           do ../.././install-sh -c -m 0644 ./$test 
/bscs/bscs/prod/523/WORK/MP/NORTEL/IN/MEXICO/CDRS/ATS/MONITOREO/reportes_Milton/libxml/share/doc/libxml2-python-2.6.4/examples 
; done)


This an issue?, or bug?



Greetings.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100818/ccba889f/attachment.html>


More information about the Python-list mailing list