Re: postgresql, pgaccess and tcl/tk (in X11)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "daniellewis" <03101417(at)brookes(dot)ac(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql, pgaccess and tcl/tk (in X11)
Date: 2005-05-26 21:47:07
Message-ID: 8738.1117144027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"daniellewis" <03101417(at)brookes(dot)ac(dot)uk> writes:
> PostgreSQL (Version 8.0.1). I installed from fink; tcl/tk 8.4.1-12, and
> changed the pgaccess bash script to read wish8.4. I tried to run this
> and I go the following error:

> Application initialization failed: no display name and no $DISPLAY
> environment variable
> Error in startup script: invalid command name "image"
> while executing
> "image create bitmap dnarw -data {

I believe this implies that you are running plain Tcl, not Tcl/Tk
(since image is a Tk command). Check whether the script is really
being executed by wish and not by plain tclsh.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2005-05-26 21:48:41 Re: Just a crazy idea!
Previous Message Hrishikesh Deshmukh 2005-05-26 21:43:39 Re: Just a crazy idea!