Re: Compile failure due to libwrap on Ubuntu 11.10
Tobias Oetiker <[email protected]> Mon, 19 Dec 2011 17:04:09 +0100 (CET)
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, Today Alex Bennee wrote: > On 16 December 2011 16:35, Tobias Oetiker <[email protected]> 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@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 [email protected] ++41 62 775 9902 / sb: -9900