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

Tobias Oetiker tobi at oetiker.ch
Mon Dec 19 17:04:09 CET 2011


Hi Alex,

Today Alex Bennee wrote:

> 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"

ok, applied your patch ...

what did

./libtool --config | grep pic_flag

return on your system?

also, what does configure report once it has run through.

cheers
tobi



>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list