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

Re: perl 5.6.0 almost working!

From: "John M(dot) Flinchbaugh" <glynis(at)butterfly(dot)hjsoft(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: perl 5.6.0 almost working!
Date: 2000-04-06 05:12:17
Message-ID: Pine.LNX.4.21.0004060106180.29946-100000@butterfly.hjsoft.com (view raw or flat)
Thread:
Lists: pgsql-bugs
-----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
	-(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~~
-----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-----



In response to

Responses

pgsql-bugs by date

Next:From: John M. FlinchbaughDate: 2000-04-06 05:16:06
Subject: Re: perl 5.6.0 almost working!
Previous:From: Tom LaneDate: 2000-04-06 03:45:03
Subject: Re: perl 5.6.0 almost working!

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