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

Re: [HACKERS] make install fails in perl5 ...

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] make install fails in perl5 ...
Date: 1998-10-29 06:10:32
Message-ID: 199810290610.BAA10688@bgalli.mug.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> "Thomas G. Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> > I think you are headed in this direction, but istm that the --with-xxx
> > flags on configure should work for any package at any time. So someone
> > doing an installation can look at the "./configure --help" output and
> > say "I think I want those", and actually have it do the right thing,
> > stopping before it does the wrong thing.
> 
> Right, my thoughts exactly.  A reasonable person seeing the --with-perl
> configure option would assume that he wants to use it, if he has Perl.
> As things stand, if he's following the recommended install procedure
> he probably can't use it.  That's wrong.
> 
> > I should be able to override the "--with" settings from configure with
> > my Makefile.custom, so I can reinstall the entire Postgres package just
> > by copying Makefile.custom and rerunning configure without major command
> > line parameters.

Then why use configure at all?  Configure is there to do a specific job.  
Configuring PostgreSQL to build and install on your machine.  Use it to do 
that job.

> 
> Well, that should be true as long as you also get the subsidiary
> information that configure computes (locations of tclsh and friends, in
> the Tcl case).  It is legitimate for configure to compute those because
> they are config info --- what if you have more than one version of Tcl
> installed?  You need to be able to specify which one to use.

There are options in configure to let you specify the directory that contains 
the tclConfig.sh and tkConfig.sh.  This overides the normal search sequence 
configure uses to find the *Config.sh files.

> 
> We have two problems here:
> 
> 1. Makefile.global ought to make clear which other settings need to be
>    made if you want to turn on USE_TCL/USE_TK.  This is just
>    documentation.

The documentation should make it clear that the Makefile.global file (or any 
other file that configure generates) should not be edited by hand.  Configure 
should be used to change the configuration options!

Of course, this is just my opinion, and like any other philosophical stand so 
generate interesting debates :-)

-- 
____       | Billy G. Allie    | Domain....: Bill(dot)Allie(at)mug(dot)org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie(at)email(dot)msn(dot)com
|/  |LLIE  | (313) 582-1540    | 



pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-10-29 06:13:26
Subject: Re: [HACKERS] Another bug in pg_operator.h
Previous:From: Tom LaneDate: 1998-10-29 05:47:44
Subject: Re: [HACKERS] Another bug in pg_operator.h

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