Results 1 to 3 of 3

Thread: Probs installing Authen::Libwrap

  1. #1
    Join Date
    Apr 2009

    Probs installing Authen::Libwrap

    Hi there,

    Trying to install the perl module Authen::Libwrap to enable https for webmin, but keep getting this error when compiling the module:
    Executing /usr/bin/perl Makefile.PL && make ..

    # running Build.PL 
    /usr/bin/perl Build.PL
    enter include directory to use: [/usr/include ]/usr/include 
    enter library directory to use: [/usr/lib ]/usr/lib 
    Checking whether your kit is complete...
    Looks good
    Checking prerequisites...
    Looks good
    Creating new 'Build' script for 'Authen-Libwrap' version '0.21'
    /usr/bin/perl Build --makefile_env_macros 1
    Copying lib/Authen/ -> blib/lib/Authen/
    lib/Authen/Libwrap.xs -> lib/Authen/Libwrap.c
    Error: Function definition too short '/ * EOF * /' in Libwrap.xs, line 32
    cc -I/usr/lib/perl/5.8/CORE -DXS_VERSION="0.21" -DVERSION="0.21" -fPIC -I/usr/include -c -D_REENTRAN
    T -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARG
    EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/Authen/Libwrap.o lib/Authen/Libwrap.c
    lib/Authen/Libwrap.xs:9:18: error: tcpd.h: No such file or directory
    error building lib/Authen/Libwrap.o from 'lib/Authen/Libwrap.c' at /usr/share/perl5/ExtUtils/CBuilde
    r/ line 108.
    make: *** [all] Error 2
    Can any one help?


  2. #2
    Join Date
    Apr 2010

    Re: Probs installing Authen::Libwrap

    You have to install libwrap0 and libwrap0-dev by
    apt-get install libwrap0 libwrap0-dev
    as of this package delivers tcpd.h (and more).

    (I also had this problem several times. I post this here to have a location to find the solution when I forget it the next time ...)
    Last edited by Webcreature; April 28th, 2010 at 10:19 AM.

  3. #3
    Join Date
    Apr 2009

    Re: Probs installing Authen::Libwrap



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts