On Tuesday 15 June 2010 09:00:24 Luca Berra wrote: > configure.in has code to detect if libwrap requires libnsl to link, but > it falis to add -lnsl to WRAPLIBS > note, line numbers matter in this patch, since there are two instances > of similar code. -lnsl should be added to second one > > --- bacula-5.0.2/autoconf/configure.in~ 2010-06-14 08:19:21.449360410 > +0000 > +++ bacula-5.0.2/autoconf/configure.in 2010-06-14 08:19:21.479289510 > +0000 > @@ -1092,7 +1092,7 @@ AC_ARG_WITH(tcp-wrappers, > AC_DEFINE(HAVE_LIBWRAP, 1, [Set to enable libwraper > support]) > TCPW_MSG="yes" > LIBS="$saved_LIBS" > - WRAPLIBS="-lwrap" > + WRAPLIBS="-lwrap -lnsl" > ], [ > AC_MSG_ERROR([*** libwrap missing]) > ]
Where are you having this problem? We build Bacula on *many* systems without this change, and if libnsl is not available, this will cause the build to fail. Kern ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
