error Compile libxml2 from python 2.6.4

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


  Have the next error on install libxml2.

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

This my version of 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 
and i don't privileges of root.

The configuration to be personalized, in prefix path.

My compile line is:

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
config.status: creating python/
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:

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 manual pages.

Making install in tests
No suffix list.
No suffix list.
         /bin/sh ../../mkinstalldirs 
mkdir -p -- 
         (for test in tst.xml      valid.xml       
invalid.xml; \
           do ../.././install-sh -c -m 0644 ./$test 
; done)

This an issue?, or bug?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list