Perl Install Problem on FreeBSD

Dan Bent dbent at comcast.net
Tue Feb 10 10:47:34 PST 2004


I'm trying to install perl-5.6.1 on an i386 box running FreeBSD
5.1-RELEASE, It fails, and I don't know what to do next. My apologies if I've posted inappropriately. Here's the error:

        Making SDBM_File (dynamic)
Makefile out-of-date with respect to ../../lib/Config.pm
../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL
"INSTALLDIRS=perl" "LIBPERL_A=libperl.a"
Writing Makefile for sdbm
Writing Makefile for SDBM_File
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File.
make config failed, continuing anyway...
Skip ../../lib/SDBM_File.pm (unchanged)
cd sdbm && make all
cc -c -I../../.. -fno-strict-aliasing -I/usr/local/include -O   
-DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fPIC -I../../..
-DSDBM -DDUFF sdbm.c
sdbm.c:40: conflicting types for `malloc'
/usr/include/stdlib.h:100: previous declaration of `malloc'
sdbm.c:41: conflicting types for `free'
/usr/include/stdlib.h:96: previous declaration of `free'
*** Error code 1

Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File/sdbm.
*** Error code 1

Stop in /usr/ports/lang/perl5/work/perl-5.6.1/ext/SDBM_File.
*** Error code 1

Stop in /usr/ports/lang/perl5/work/perl-5.6.1. 
"Baby, you're not with me, and I did not want to be mean,
but do they call it envy if an avacado's green?"
Johnny Winter


More information about the freebsd-perl mailing list