Re: [xml] error compiling libxml2-2.6.13

Hi Nicolas,

On Fri, 2004-09-17 at 18:28 +0200, nicolas wrote:
when i compiling libxml2, i have this error message:

make[3]: Entering directory `/home/nicolas/gnome 2.8/libxml2-2.6.13/python'
/bin/sh ../libtool --mode=link gcc  -g -O2 -pedantic -W -Wunused -Wimplicit 
-Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts 
-Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline -Wredundant-decls   -o 
-rpath /usr/lib/python2.3/site-packages -module -avoid-version -L../.libs 
libxml.lo types.lo libxml2-py.lo ../
libtool: link: cannot find the library `'

This is a sign that eitherthe libtool script has become very confused
about what is going on. Although you will only be seeing this error
message towards the end of the compilation, the problem actually
occurred very early on. Unfortunately, I cannot remember the ways this
can occur (only that I have seen it a number of times when my build
setup was slightly broken).

The only thing I can think to recommend is to ensure you are starting
the build from a completely clean tarball. If that fails (which I think
means there is a problem with the packaged tarball -- I'll download it
and have a look) and if you have automake, autoconf and libtool
installed, try starting the build process with


rather than


(pass the same parameters to as you would to configure). That
should regenerate the libtool scripts and things might work.

Let us know how it goes in case other people are seeing the same problem
(plus, I would like to try to refresh my memory on why this happens).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]