Re: postgresql, pgaccess and tcl/tk (in X11) - Mailing list pgsql-general

From Tom Lane
Subject Re: postgresql, pgaccess and tcl/tk (in X11)
Date
Msg-id 8738.1117144027@sss.pgh.pa.us
Whole thread Raw
In response to postgresql, pgaccess and tcl/tk (in X11)  ("daniellewis" <03101417@brookes.ac.uk>)
List pgsql-general
"daniellewis" <03101417@brookes.ac.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

pgsql-general by date:

Previous
From: Hrishikesh Deshmukh
Date:
Subject: Re: Just a crazy idea!
Next
From: David Fetter
Date:
Subject: Re: Just a crazy idea!