Perl 5.8.4 issues in FreeBSD 4.10-RELEASE
Anton Berezin
tobez at FreeBSD.org
Sun Jul 18 23:56:13 PDT 2004
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
More information about the freebsd-perl
mailing list