[rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

Alex Bennee kernel-hacker at bennee.com
Mon Dec 19 16:57:48 CET 2011


On 16 December 2011 16:35, Tobias Oetiker <tobi at oetiker.ch> wrote:
> Hi Alex,
>
> see r2241,r2242 I have modified the configure script to use standard
> techniques to deal with libwrap, ev this helps ...

I'm afraid not in my case. But it's not the autoconf logic that's
failing, it's the libtool call. If you look at
the .la file it's correct:

15:52 ajb at sloy/x86_64 [rrdtool.git-svn] >grep "wrap" src/librrd_th.la
dependency_libs=' -lpthread /usr/lib/libxml2.la -lm -lwrap
/usr/lib/libdbi.la -ldl -lpng12 -lpangocairo-1.0 -lpango-1.0
/usr/lib/x86_64-linux-gnu/libcairo.la -lgobject-2.0 -lglib-2.0'

It just never makes it to the final CC invocation.

In fact without the attached patch I see a failure in eval while
running configure:

Test Library Functions
checking for acos... no
checking for acos in -lm... yes
checking for round... yes
./configure: eval: line 13465: unexpected EOF while looking for matching `"'
./configure: eval: line 13466: syntax error: unexpected end of file

The code looks like:

eval `./libtool --config | grep pic_flag`
CFLAGS="$CFLAGS $pic_flag"

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-configure.ac-be-a-little-more-careful-when-eval-ing-.patch
Type: text/x-patch
Size: 1080 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20111219/234eb8e8/attachment.bin 


More information about the rrd-developers mailing list