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{______________________
> | [EMAIL PROTECTED] 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
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026