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

Tobias Oetiker tobi at oetiker.ch
Fri Dec 16 14:26:44 CET 2011


Hi Alex,

ah ...  I found something ... try changeing

include "tcpd.h"

into

include <tcpd.h>

in the configure script
and run it again.

cheers
tobi


Today Alex Bennee wrote:

> On 12 December 2011 16:52, Tobias Oetiker <tobi at oetiker.ch> wrote:
> > Hi Alex,
> >
> > Today Alex Bennee wrote:
> >
> >> On 8 November 2011 09:22, Alex Bennee <kernel-hacker at bennee.com> wrote:
> >> > Hi,
> >> >
> >> > I've just recently updated to 11.10 and thought I'd get upto date on
> >> > the trunk. It seems that there is some autotools breakage for libwrap.
> >> > I get the following compile error:
> >> >
> >> > <snip>
> >> > rrdcached-rrd_daemon.o: In function `connection_thread_main':
> >> > /export/csrc/packages/rrdtool/rrdtool.git-svn/src/rrd_daemon.c:2657:
> >> > undefined reference to `request_init'
> >> > /export/csrc/packages/rrdtool/rrdtool.git-svn/src/rrd_daemon.c:2658:
> >> > undefined reference to `sock_host'
> >> > /export/csrc/packages/rrdtool/rrdtool.git-svn/src/rrd_daemon.c:2659:
> >> > undefined reference to `hosts_access'
> >> > /export/csrc/packages/rrdtool/rrdtool.git-svn/src/rrd_daemon.c:2660:
> >> > undefined reference to `eval_client'
> >> > /export/csrc/packages/rrdtool/rrdtool.git-svn/src/rrd_daemon.c:2660:
> >> > undefined reference to `eval_client'
> >> > collect2: ld returned 1 exit status
> >> > make[2]: *** [rrdcached] Error 1
> >> > make[2]: Leaving directory `/export/csrc/packages/rrdtool/rrdtool.git-svn/src'
> >> > make[1]: *** [all-recursive] Error 1
> >> > make[1]: Leaving directory `/export/csrc/packages/rrdtool/rrdtool.git-svn'
> >> > make: *** [all] Error 2
> >>
> >> I take it from the radio silence no one else has come across this
> >> problem? For now I'll just switch back to the stable branch without
> >> the libwrap support. However I suspect this will need fixing when 1.6
> >> is released so things can be packaged appropriately.
> >
> > this looks as if you were missing tcp wrapper headers ... maybe
> > this does not get checked explicitly in configure ... can you try
> > installing them
>
> Oh they are installed. It just seems somewhere in the libtool magic it
> drops the needed link lines.
>
> 12:32 root at sloy/x86_64 [~] >dpkg --status libwrap0-dev
> Package: libwrap0-dev
> Status: install ok installed
>
> >
> >
> >> Is there a plan for a release of 1.6 at some point?
> >
> > yes certainly ... it's just that the plan has no date yet :-)
> >
> > 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
>
>
>
>

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