emacs-devel
[Top][All Lists]
Advanced

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

Re: build broken: libxml - i386 vs. X86_64 - configure problem


From: David Reitter
Subject: Re: build broken: libxml - i386 vs. X86_64 - configure problem
Date: Mon, 13 Sep 2010 14:34:05 -0400

On Sep 13, 2010, at 2:08 PM, Lars Magne Ingebrigtsen wrote:
> 
> The change to "configure" was checked in at the same time as the
> "configure.in" change was.

You're right, it was.  I went by the commit log only and then thought that I 
couldn't get it to work because I had to regenerate configure.

So, it is still not working for me:

checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking for libxml-2.0 > 2.2.0... yes
checking LIBXML2_CFLAGS... -I/opt/local/include/libxml2 -I/opt/local/include  
checking LIBXML2_LIBS... -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm  
checking for htmlReadMemory in -lxml2... yes


Debugging this a bit, your check for htmlReadMemory  calls

$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5

which is, at the time

gcc -o conftest -g -O2     conftest.c -lxml2   

So I think this one will catch the library in /usr/lib, because the -L is 
missing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]