Install issue -lwrap

David Blacka davidb at verisignlabs.com
Tue Mar 22 18:00:34 EST 2005


David Blacka wrote:
> Reid Torosian wrote:

>> Which to me looks exactly the same as before :(
> 
> 
> I think that the -L./tools/tcpd_wrapper statement is wrong.  It should 
> be (I think) -L../tools/tcpd_wrapper, since at that point of the build 
> you are in the ./server directory.
> 
> Hmm.  Not sure how to fix this off the top of my head.  For now, just 
> edit ./server/Makefile and change the '-L./tools/tcpd_wrapper' to 
> '-L../tools/tcpd_wrapper' and let me know if that worked.

Or, even better, apply the attached patch, and let me know if *that* worked.

-- 
David Blacka    <davidb at verisignlabs.com>
Sr. Engineer    VeriSign Applied Research
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 1819)
+++ configure	(working copy)
@@ -6198,8 +6198,8 @@
 
    LIBWRAP=libwrap
 
-   wrap_dir=$srcdir/tools/tcpd_wrapper
-   WRAP_INCLUDE=-I$wrap_dir
+   wrap_dir=../tools/tcpd_wrapper
+   WRAP_INCLUDE=-I'$(srcdir)'/$wrap_dir
    WRAP_LIBS="-L$wrap_dir -lwrap"
 else
    WRAP_INCLUDE=
Index: configure.ac
===================================================================
--- configure.ac	(revision 1819)
+++ configure.ac	(working copy)
@@ -121,8 +121,8 @@
    AC_SUBST(TCPD_EXTRA_CFLAGS)
    LIBWRAP=libwrap
    AC_SUBST(LIBWRAP)
-   wrap_dir=$srcdir/tools/tcpd_wrapper
-   WRAP_INCLUDE=-I$wrap_dir
+   wrap_dir=../tools/tcpd_wrapper
+   WRAP_INCLUDE=-I'$(srcdir)'/$wrap_dir
    WRAP_LIBS="-L$wrap_dir -lwrap"
 else
    WRAP_INCLUDE=


More information about the Rwhois mailing list