Thread: Installing PostgreSQL

Installing PostgreSQL

From
"Donnahoo, George"
Date:
I recently tried installing postgresql using a configuration that included
the parameter "--with-tcl".  When I called make, it returned some sort of
error which I don't have handy at the moment.  I reconfigured dropping the
"--with-tcl" and the make worked fine.  I want the "--with-tcl" option so
that I can use the pgaccess.  Is there something additional I need to
download in order to use "--with-tcl" in my configuration, or should it all
be included in the postgresql download?

Re: Installing PostgreSQL

From
sol
Date:
I could be wrong, but I don't think that you need --with-tcl option to
use pgaccess. The --with-tcl option is more for if you want to do
development using TCL programming. Pgaccess should run no problem. I
didn't do anything special on my machine to get them running together.

And I think TCL-Postgresql development may be somewhat beyond the scope
of this list. :-)
sol

Donnahoo, George wrote:

>I recently tried installing postgresql using a configuration that included
>the parameter "--with-tcl".  When I called make, it returned some sort of
>error which I don't have handy at the moment.  I reconfigured dropping the
>"--with-tcl" and the make worked fine.  I want the "--with-tcl" option so
>that I can use the pgaccess.  Is there something additional I need to
>download in order to use "--with-tcl" in my configuration, or should it all
>be included in the postgresql download?
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>



Re: Installing PostgreSQL

From
Oliver Elphick
Date:
On Wed, 2002-08-21 at 09:08, sol wrote:
> I could be wrong, but I don't think that you need --with-tcl option to
> use pgaccess. The --with-tcl option is more for if you want to do
> development using TCL programming. Pgaccess should run no problem. I
> didn't do anything special on my machine to get them running together.

pgaccess does require libpgtcl.so and therefore you must use --with-tcl

...
> Donnahoo, George wrote:
>
> >I recently tried installing postgresql using a configuration that included
> >the parameter "--with-tcl".  When I called make, it returned some sort of
> >error which I don't have handy at the moment.  I reconfigured dropping the
> >"--with-tcl" and the make worked fine.  I want the "--with-tcl" option so
> >that I can use the pgaccess.  Is there something additional I need to
> >download in order to use "--with-tcl" in my configuration, or should it all
> >be included in the postgresql download?

You probably need to use --with-tclconfig and --with-tkconfig

              configure \
                ...
                --with-tcl \
                --with-tclconfig=/usr/lib/tcl8.3 \
                --with-tkconfig=/usr/lib/tk8.3 \
                ...

The pathnames on your system are probably different.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For the Lord himself shall descend from heaven with a
      shout, with the voice of the archangel, and with the
      trump of God; and the dead in Christ shall rise first;
      Then we which are alive and remain shall be caught
      up together with them in the clouds, to meet the Lord
      in the air; and so shall we ever be with the Lord."
                          I Thessalonians 4:16,17