-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjjsHLQACgkQCGPRljI8080/9gCdHqJv44OAWI+N8mEHr84IvgBH
1kcAnRiLAOAXyM4dZx0X2fDDr4kVG8hq
=PAi3
-----END PGP SIGNATURE-----