Install issue -lwrap

Reid Torosian rtorosia at rackspace.com
Tue Mar 22 18:49:29 EST 2005


Alright it was the ./ instead of ../, there were two references to it.  
But now I get a new error:

making all in server
make[1]: Entering directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
gcc  -o rwhoisd class_directive.o daemon.o deadman.o directive.o 
display.o dump.o exit.o forward.o guardian.o holdconnect.o limit.o 
main.o notify.o referral.o register.o reg_ext.o reg_utils.o 
register_directive.o rwhois_directive.o schema_directive.o security.o 
security_directive.o session.o soa.o sresponse.o sschema.o sslave.o 
ssoa.o sstate.o state.o status.o sxfer.o xfer.o  -L../tools/tcpd_wrapper 
-lwrap -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp 
-lresolv -lnsl -lcrypt 
../mkdb/libmkdb.a(index_file.o): In function `generate_index_file_tmpname':
/home/rtorosia/rwhoisd-1.5.9.3/mkdb/index_file.c:69: the use of `mktemp' 
is dangerous, better use `mkstemp'
../mkdb/libmkdb.a(y.tab.o): In function `yyparse':
/usr/local/share/bison.simple:387: undefined reference to `yylex'
../mkdb/libmkdb.a(y.tab.o): In function `parse_query':
/home/rtorosia/rwhoisd-1.5.9.3/mkdb/./parse.y:264: undefined reference 
to `set_lexstring'
collect2: ld returned 1 exit status
make[1]: *** [rwhoisd] Error 1
make[1]: Leaving directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
make: *** [binaries] Error 1


David Blacka wrote:

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

-- 
Reid Torosian, Project Manager        The Managed Hosting Specialist(TM)  
Rackspace Managed Hosting                    <http://www.rackspace.com/> 
9725 Datapoint Drive, Suite 100                  
San Antonio, TX 78229
Email:<rtorosia at rackspace.com>           (w)210.447.4483 (f)210.447.4038

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.verisignlabs.com/pipermail/rwhois/attachments/20050322/06186c48/attachment-0001.html


More information about the Rwhois mailing list