Skip site navigation (1)Skip section navigation (2)
Date:      14 Mar 2001 20:43:11 -0000
From:      "Jason R. Mastaler" <jason-dated-88ce477cf68fd550@mastaler.com>
To:        freebsd-current@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   building perl 5.6.0 with `-DPERL_POLLUTE'
Message-ID:  <20010314204311.1917.qmail@nightshade.la.mastaler.com>

next in thread | raw e-mail | index | archive | help
I've noticed that lots of the perl ports are now broken since the move
to perl 5.6.0.  Some examples:

http://bento.freebsd.org/errorlogs/5-full/p5-Crypt-IDEA-1.01.log
http://bento.freebsd.org/errorlogs/5-full/p5-Devel-Peek-0.96.log

With these two in particular, the problem can be fixed by compiling
perl with `-DPERL_POLLUTE' to get back the missing preprocessor
definitions.  Would it be worth it to compile the default 5.x perl in
this manner?

$ man perldelta

[...]

C Source Incompatibilities

  `PERL_POLLUTE'
        
        Release 5.005 grandfathered old global symbol names by
        providing preprocessor macros for extension source
        compatibility.  As of release 5.6.0, these preprocessor
        definitions are not available by default.  You need to
        explicitly compile perl with `-DPERL_POLLUTE' to get these
        definitions.  For extensions still using the old symbols,
        this option can be specified via MakeMaker:

               perl Makefile.PL POLLUTE=1


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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