Re: Compile failure due to libwrap on Ubuntu 11.10
Tobias Oetiker <[email protected]> Fri, 16 Dec 2011 14:26:44 +0100 (CET)
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > > Hi Alex, > > > > Today Alex Bennee wrote: > > > >> On 8 November 2011 09:22, Alex Bennee <[email protected]> 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@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 [email protected] ++41 62 775 9902 / sb: -9900 > > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900