[oclug] xs breakage from Perl 5.005 -> 5.6?

Michael P. Soulier msoulier at storm.ca
Wed Aug 14 07:46:40 EDT 2002


On 13/08/02 Milan Budimirovic did speaketh:

> After a lengthy search on Google I found out that Perl 5.6 does indeed
> break xs on occasion. I also found that people attempting to compile
> Postgres ran into a set of compiler errors similar to what I was
> getting. The moral of the story is, when making the Makefile, instead of
> just the normal "perl Makefile.PL", do a:
> 
>   perl Makefile.PL POLLUTE=1
> 
> Anyway, I did that and it built. I haven't had a chance to test it yet,
> though. What exactly does "POLLUTE" do when enabled? The name doesn't
> exactly inspire confidence.

    See here

    http://perldoc.com/perl5.8.0/lib/ExtUtils/MakeMaker.html

    Mike

POLLUTE

    Release 5.005 grandfathered old global symbol names by providing
preprocessor macros for extension source compatibility. As of release 5.6,
these preprocessor definitions are not available by default. The POLLUTE flag
specifies that the old names should still be defined:

  perl Makefile.PL POLLUTE=1  

Please inform the module author if this is necessary to successfully install a
module under 5.6 or later. 

-- 
Michael P. Soulier <msoulier at storm.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix
HTML Email Considered Harmful: http://expita.com/nomime.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20020814/b004739f/attachment.bin


More information about the OCLUG mailing list