Skip site navigation (1) Skip section navigation (2)

Re: perl5 interface won't compile

From: Marc Lehmann <pcg(at)goof(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Marc Lehmann <pcg(at)goof(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: perl5 interface won't compile
Date: 2000-04-01 19:46:57
Message-ID: 20000401214657.P3163@cerebro.laendle (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
On Sat, Mar 25, 2000 at 11:49:09AM -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> compile against 5.005_03 --- without options --- and AFAICT that is
> still considered the current stable release of Perl.  I'm pretty

5.6 is out ;) Wether that is considered stable is another question, of
course ;)

> > using
> >    perl Makefile.PL POLLUTE=1
> > which will enable some kind of compatibility mode.
> Interesting.  I could not find anything about POLLUTE at
> What does it do, and will it cause problems on pre-5.005 perls?

Apart from warnings it should work. What is does it to enable commonly used
symbols to eb available under the old names, i.e. sv_undef instead of
PL_sv_undef, thereby "polluting" your namespace.

I have no diea where it is documentd ;)

> This looks like it could be the Right Thing To Do.  Anyone have time to
> make it happen (and perhaps even access to a few different perl versions

I don't, but that module is basiclly a header file. Just rename it to
somethign else (e.g. pgppport.h) and _run_ it against the interface files:

       perl -x pgppport.h *.c *.h *.xs foo/*.c [etc]

It will tell you about most things that need to be fixed.

      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg(at)opengroup(dot)org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |

pgsql-bugs by date

Next:From: Tom LaneDate: 2000-04-02 04:33:28
Subject: Re: backend crash
Previous:From: wernerDate: 2000-04-01 19:31:50
Subject: --enable-locale doesn't work

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group