Cannot install Perl module

Compiling 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/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.

Status: 
Closed (fixed)

Comments

Which Linux distro are you running there? If it is CentOS, Fedora or RHEL, you need to install TCPwrappers first with the command :

yum install tcp_wrappers

or on Debian or Ubuntu, the command is :

apt-get install libwrap0-dev libwrap0

Let us know if that helps..