From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "John M(dot) Flinchbaugh" <glynis(at)butterfly(dot)hjsoft(dot)com> |
Cc: | pgsql-bugs(at)postgreSQL(dot)org |
Subject: | Re: perl 5.6.0 almost working! |
Date: | 2000-04-06 13:33:49 |
Message-ID: | 200004061333.JAA12195@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
> -(at)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(at)hjsoft(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | John | 2000-04-07 01:40:07 | Something to look into Adding a discussion forum to your site, (message boards, live chat, newsletters) |
Previous Message | Peter Eisentraut | 2000-04-06 13:20:46 | Re: perl 5.6.0 almost working! |