Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 13:47:33 -0500
From:      "Dan Bent" <dbent@comcast.net>
To:        <freebsd-perl@freebsd.org>
Subject:   Perl Install Problem on FreeBSD
Message-ID:  <01bd01c3f006$5837d570$0202a8c0@DANPC>

next in thread | raw e-mail | index | archive | help
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=3Dperl" "LIBPERL_A=3Dlibperl.a"
Writing Makefile for sdbm
Writing Makefile for SDBM_File
=3D=3D> Your Makefile has been rebuilt. <=3D=3D
=3D=3D> Please rerun the make command.  <=3D=3D
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  =20
-DVERSION=3D\"0.10\"  -DXS_VERSION=3D\"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.=20
"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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd01c3f006$5837d570$0202a8c0>