Re: pltcl_*mod commands are broken on Solaris 10

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pltcl_*mod commands are broken on Solaris 10
Date: 2008-07-22 17:26:03
Message-ID: 664.1216747563@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
> Yeah, I looked deeply on our solaris build script and problem is with following
> configure setup:

> ./configure --prefix=/tmp/pg --with-tcl --with-tclconfig=/usr/sfw/lib

> It found tclconfig, but not tclsh

Ah. So actually there is a bug in our configure: if you've set
--with-tcl, and it fails to find tclsh, it should error out instead
of allowing an incorrect path to be substituted into the pltcl_*mod
scripts. The configure code is assuming that the only thing it
really needs tclsh for is to find tclConfig.sh, but that's not so.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-07-22 17:35:06 Re: Schema-qualified statements in pg_dump output
Previous Message David E. Wheeler 2008-07-22 17:23:50 Re: Plans for 8.4