Re: [HACKERS] PostgreSQL v6.4 BETA2 ...

From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: Roland Roberts <roberts(at)panix(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PostgreSQL v6.4 BETA2 ...
Date: 1998-10-15 05:00:15
Message-ID: 199810150500.BAA08064@bgalli.mug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> library_dirs="$LIBRARY_DIRS /usr/lib"
> TCL_CONFIG_SH=
> for dir in $library_dirs; do
> [...]
> done
>
> If you can assume that Tcl is installed and the version the user wants
> is first in their path, you should be able to limit this to
>
> library_dirs=`echo 'puts $auto_path' | tclsh`
>

This is one of those cases where you sit back and think "Now why didn't I think of that!"

The only thing I would add is to allow $LIBRARY_DIR to be searched first to allow an alternate version of TCL/TK to be specified. Also, I would add a check to see if tclsh is in the path.

Can anyone think of a good reason not to use this method?
--
____ | 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 |

Browse pgsql-hackers by date

  From Date Subject
Next Message Constantin Teodorescu 1998-10-15 05:13:22 Wishes for PostgreSQL 6.4
Previous Message Hiroshi Inoue 1998-10-15 04:52:32 RE: [HACKERS] What about LIMIT in SELECT ?