Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2004 08:56:09 +0200
From:      Anton Berezin <tobez@FreeBSD.org>
To:        Anders Nordby <anders@FreeBSD.org>
Cc:        perl@FreeBSD.org
Subject:   Re: Perl 5.8.4 issues in FreeBSD 4.10-RELEASE
Message-ID:  <20040719065609.GA33539@heechee.tobez.org>
In-Reply-To: <20040718194326.GA81260@totem.fix.no>
References:  <20040718194326.GA81260@totem.fix.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 18, 2004 at 09:43:27PM +0200, Anders Nordby wrote:
> Hi tobez@, perl@,
> 
> I found a couple of problems/oddities with the FreeBSD port for Perl
> 5.8.4 using FreeBSD 4.10-RELEASE. I want to know if you are aware of
> them and/or are working on a fix. I'll file a PR with more information
> if you want.
> 
> It's not building:
> 
> ---snip---
>         Making MIME::Base64 (dynamic)
> Writing Makefile for MIME::Base64
> cp QuotedPrint.pm ../../../lib/MIME/QuotedPrint.pm
> cp Base64.pm ../../../lib/MIME/Base64.pm
> ../../../miniperl "-I../../../lib" "-I../../../lib"
> ../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap
> Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
> cc -c    -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.4/BSDPAN"
> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -I/usr/local/include -O -pipe    -DVERSION=\"3.01\"
> -DXS_VERSION=\"3.01\" -DPIC -fPIC "-I../../.."   Base64.c
> Base64.xs: In function `XS_MIME__Base64_decode_base64':
> Base64.xs:224: `dowarn' undeclared (first use in this function)
> Base64.xs:224: (Each undeclared identifier is reported only once
> Base64.xs:224: for each function it appears in.)
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.8/work/perl-5.8.4/ext/MIME/Base64.
> *** Error code 1
> ---snip---

Please make sure that you do not have a file named patchlevel.h in
/usr/local/include.  An old version of math/netcdf used to install this
file, which conflicts with perl build.  If so, please remove this file,
and rebuild perl (make clean is necessary).

Hope this helps,

Cheers,
\Anton.
-- 
Floating point will almost always have enough precision for the task at
hand, and by the time it doesn't, it will. :-)  -- Larry Wall



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040719065609.GA33539>