Re: perl 5.6.0 almost working! - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: perl 5.6.0 almost working!
Date
Msg-id 200004061333.JAA12195@candle.pha.pa.us
Whole thread Raw
In response to Re: perl 5.6.0 almost working!  ("John M. Flinchbaugh" <glynis@butterfly.hjsoft.com>)
List pgsql-bugs
Got it.   Thanks.


-- Start of PGP signed section.
> On Wed, 5 Apr 2000, Bruce Momjian wrote:
> > > it seems in src/interfaces/Makefile, the perl5/Makefile rule gets the
> > > POLLUTE=1 option as necessary, which makes it work for make all, but
> > > doing a ``make install'' uses the perl5-install, which does not build the
> > > perl5/Makefile with POLLUTE=1.
> > Well, that is interesting.  I am quite confused how Makefile can get
> > generated without the parameter.  Can you suggest a patch?
>
> well this is what the block in src/interfaces/Makefile needs to look like
> in the end:
> ...
> perl5/Makefile: perl5/Makefile.PL
>     cd perl5 && $(PERL) Makefile.PL POLLUTE=1
>
> install-perl5: perl5/Makefile
>     $(MAKE) -C perl5 clean
>     cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL POLLUTE=1
>     $(MAKE) -C perl5 all
>     -@if [ -w `sed -n -e 's/^ *INSTALLSITELIB *= *//p' perl5/Makefile` ]; then \
>         $(MAKE) $(MFLAGS) -C perl5 install; \
>         rm -f perl5/Makefile; \
>     else \
>         echo "Skipping install of Perl module for lack of permissions."; \
>         echo "To install it, cd into interfaces/perl5, su to become the"; \
>         echo "appropriate user, and do '$(MAKE) install'."; \
>     fi
>
> .PHONY: install-perl5
> ---
>
> note the change from:
> cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL
> to:
> cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL POLLUTE=1
>
> thanks for you time.
>
> ____________________}John Flinchbaugh{______________________
> | glynis@hjsoft.com         http://www.hjsoft.com/~glynis/ |
> ~~Powered by Linux: Reboots are for hardware upgrades only~~-- End of PGP signed section.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: perl 5.6.0 almost working!
Next
From: "John"
Date:
Subject: Something to look into Adding a discussion forum to your site, (message boards, live chat, newsletters)