Thread: TCL with POSTGRES

TCL with POSTGRES

From
"Paul R. Sand"
Date:

I am trying to get run the Postgres front-end with TCL.  I can’t find the library (libpgtcl.dll) after I build postgres.  I did notice that when running config “tcl” and “tk” are set to “no”. Is there a way to override config (or what do I need to add to get config to decide to build “tcl” and “tk”) before running make? I need to force the creation of the libpgtcl.dll to be able to load it into the TCL interpretor.

 

Thanks

 

Paul

 

Re: TCL with POSTGRES

From
Nicolas Boretos
Date:
Paul R. Sand wrote:

> I am trying to get run the Postgres front-end with TCL. I can’t find
> the library (libpgtcl.dll) after I build postgres. I did notice that
> when running config “tcl” and “tk” are set to “no”. Is there a way to
> override config (or what do I need to add to get config to decide to
> build “tcl” and “tk”) before running make? I need to force the
> creation of the libpgtcl.dll to be able to load it into the TCL
> interpretor.
>
> Thanks
>
> Paul
>
Hi,

I think that recent releases have moved the interfaces out of the main
distro. You have to find the interfaces,
and configure with --enable-tcl, or --with-tcl="tcldirectory"..
Iy's been a while so excuse this terse reply...

regards,

nicolas boretos




Re: TCL with POSTGRES

From
s0lao@netscape.net (S. L.)
Date:
[...]
> Is there a way to override
>config (or what do I need to add to get config to decide to build "tcl" and
>"tk") before running make?
[...]

"./configure --help" could be a good start. See the options regarding tcl and tk.

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Re: TCL with POSTGRES

From
Jason Tishler
Date:
SLao,

On Fri, Nov 07, 2003 at 02:18:03AM -0500, S. L. wrote:
> [...]
> > Is there a way to override
> >config (or what do I need to add to get config to decide to build "tcl" and
> >"tk") before running make?
> [...]
>
> "./configure --help" could be a good start. See the options regarding
> tcl and tk.

Does libpgtcl.dll build cleanly under Cygwin.  IIRC, there are some
issues with it and (especially) pltcl.dll.  But, it's been a while...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Re: TCL with POSTGRES

From
s0lao@netscape.net (S. L.)
Date:
Jason,

[...]
>Does libpgtcl.dll build cleanly under Cygwin.  IIRC, there are some
>issues with it and (especially) pltcl.dll.  But, it's been a while...
[...]

I can't answer this right now. It's been a while since I stopped "struggling" with cygwin postgresql. But, yes, since
yourpltcl.dll reports (and test cases) there has been allot of while (SIC!). It's now cygwin1.dll 1.5.x, postgresql
7.3.4and the september 2003 version of tcl/tk. Anyway, the pltcl.dll issues didn't apply to libpgtcl.dll. 

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Re: TCL with POSTGRES

From
"Paul R. Sand"
Date:
SLao,

I was not able to successfully build libpgtcl.dll with postgres 7.3.4,
cygwin 1.5.5-1 and TCL 8.4. I tried your workaround from
http://archives.postgresql.org/pgsql-ports/2001-05/msg00036.php
(substituting tcl84 for tcl80). But the resulting pgtcl.dll (which was
copied to libpgtcl.dll in your instructions) does not load up in the tcl
console. Any suggestions, or is there an updated set of instructions to get
libpgtcl.dll to build?

Regards,

Paul

-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org] On Behalf Of S. L.
Sent: Monday, November 10, 2003 6:07 AM
To: pgsql-cygwin@postgresql.org
Subject: Re: [CYGWIN] TCL with POSTGRES

Jason,

[...]
>Does libpgtcl.dll build cleanly under Cygwin.  IIRC, there are some
>issues with it and (especially) pltcl.dll.  But, it's been a while...
[...]

I can't answer this right now. It's been a while since I stopped
"struggling" with cygwin postgresql. But, yes, since your pltcl.dll reports
(and test cases) there has been allot of while (SIC!). It's now cygwin1.dll
1.5.x, postgresql 7.3.4 and the september 2003 version of tcl/tk. Anyway,
the pltcl.dll issues didn't apply to libpgtcl.dll.

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial
today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org


Re: TCL with POSTGRES

From
Jason Tishler
Date:
Paul,

On Tue, Nov 11, 2003 at 08:16:06AM -0600, Paul R. Sand wrote:
> I was not able to successfully build libpgtcl.dll with postgres 7.3.4,
> cygwin 1.5.5-1 and TCL 8.4. I tried your workaround from
> http://archives.postgresql.org/pgsql-ports/2001-05/msg00036.php
> (substituting tcl84 for tcl80). But the resulting pgtcl.dll (which was
> copied to libpgtcl.dll in your instructions) does not load up in the
> tcl console. Any suggestions, or is there an updated set of
> instructions to get libpgtcl.dll to build?

See attached "patch."  Note that it is from Jan 14, 2003 -- hence, the
quotes.  You will probably have to fiddle with it to get it to apply.

I never submitted it because I could not get pltcl.dll to work:

    http://archives.postgresql.org/pgsql-cygwin/2003-01/msg00131.php
    http://www.cygwin.com/ml/cygwin/2003-02/msg00255.html

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Attachment

Re: TCL with POSTGRES

From
s0lao@netscape.net (S. L.)
Date:
Paul,

[...]
>http://archives.postgresql.org/pgsql-ports/2001-05/msg00036.php
>(substituting tcl84 for tcl80). But the resulting pgtcl.dll (which was
>copied to libpgtcl.dll in your instructions) does not load up in the tcl
>console. Any suggestions, or is there an updated set of instructions to get
>libpgtcl.dll to build?
[...]

[...]
>1.5.x, postgresql 7.3.4 and the september 2003 version of tcl/tk.
[...]

As you probably already found out, those workarounds are well outdated. I'd bet on Jason's hand ;) .

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455