Installation of Authen::Libwrap failed.

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/Libwrap.pm -> blib/lib/Authen/Libwrap.pm 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.10/CORE -DXS_VERSION="0.21" -DVERSION="0.21" -fPIC -I/usr/include -c -D_REENTRA NT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FIL E_OFFSET_BITS=64 -O2 -g -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/perl/5.10/ExtUtils/CBu ilder/Base.pm line 110. make: *** [all] Error 2

Installation of Authen::Libwrap failed. Check the output above and try installing manually. You can also install the module from CPAN with the command perl -MCPAN -e shell

Status: 
Closed (fixed)

Comments

You don't strictly need Authen::Libwrap to run Virtualmin .. but if you do want this module, you will need to install the C libraries for tcp-wrappers first.

On Debian or Ubuntu, the command for this is :

apt-get install libwrap0 libwrap0-dev

or on CentOS, Fedora or Redhat :

yum install tcp_wrappers

Then re-try the Perl module install.

Automatically closed -- issue fixed for 2 weeks with no activity.