Re: pltcl_*mod commands are broken on Solaris 10

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

Tom Lane napsal(a):
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
>> But problem is also in configure which does not fail when tclsh is not
>> found.
>
> Yes it does ...
>
> if test $[#] -eq 0; then
> test -z "$TCLSH" && AC_MSG_ERROR([unable to locate tclConfig.sh because no Tcl shell was found])
>

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

...
checking for tclsh... no
checking for tcl... no
checking for tclConfig.sh... /usr/sfw/lib/tclConfig.sh
...

and configure finish successfully but plttcl_* scripts are broken.

If I define TCLSH env variable it seems to me be OK.

...
checking for tclsh... /usr/sfw/bin/tclsh8.3
checking for tclConfig.sh... /usr/sfw/lib/tclConfig.sh
...

Zdenek

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-07-22 15:25:57 Re: [patch] plproxy v2
Previous Message Gregory Stark 2008-07-22 15:00:34 Re: Do we really want to migrate plproxy and citext into PG core distribution?