Subject: | PPerl doesn't build on Mac OS X |
Trying to build pperl on Mac OS X, I end up with the following failure
mode. Thanks,
Jesse Vincent
Running make for M/MS/MSERGEANT/PPerl-0.04.tar.gz
Unwrapped into directory /var/root/.cpan/build/PPerl-0.04
CPAN.pm: Going to build M/MS/MSERGEANT/PPerl-0.04.tar.gz
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/PPerl
mkdir blib/lib/auto
mkdir blib/lib/auto/PPerl
mkdir blib/man1
mkdir blib/man3
cp PPerl.pm blib/lib/PPerl.pm
cc -g -Wall -DPERL_INTERP='"/usr/bin/perl"' -o src/pperl src/pperl.c
src/pperl.c:497: undefined type, found `socklen_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
src/pperl.c: In function `DoIO':
src/pperl.c:497: `socklen_t' undeclared (first use in this function)
src/pperl.c:497: (Each undeclared identifier is reported only once
src/pperl.c:497: for each function it appears in.)
src/pperl.c:497: parse error before `namelen'
src/pperl.c:502: `namelen' undeclared (first use in this function)
make: *** [src/pperl] Error 1
/usr/bin/make -- NOT OK
Running make test
Oops, make had returned bad status
Running make install
Oops, make had returned bad status