Re: Postgres 7.3 from source --with-tcl : Errors again...

Lists: pgsql-cygwin
From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: jason(at)tishler(dot)net (Jason Tishler), and_k_98(at)yahoo(dot)com (Andrew Klimov)
Cc: peter_e(at)gmx(dot)net (Peter Eisentraut), pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Postgres 7.3 from source --with-tcl : Errors again...
Date: 2003-01-15 09:31:06
Message-ID: 0E49A397.6D4FBB35.00013D13@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Jason,

[...]
>BTW, I'm wondering if PostgreSQL's autoconf stuff (i.e., config/tcl.m4)
>should be modified to find Cygwin's tclsh (i.e., tclsh83.exe)? I
>believe that this should obviate the need to configure --with-tclconfig.
[...]

As far as I recalled cgf's announcement about 20021218-1 tcltk release ( http://www.cygwin.com/ml/cygwin/2002-12/msg00992.html ) and the thread you've taken part, there _still_ are problems with tcl/tk autoconf stuff. They were emphasized by Chuck Wilson, and cgf admitted to discuss them only on insight mail-list.

The lack of tcl/tk autoconf (which includes the presence of non-standard paths in tclConfig.sh/tkConfig.sh) for cygwin, leads to wrong Makefile/Makefile.tcldefs for pltcl. I usually managed to bypass this by manually running gcc linking line and completing the missing parts.

SLao

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


From: Jason Tishler <jason(at)tishler(dot)net>
To: "S(dot) L(dot)" <s0lao(at)netscape(dot)net>
Cc: Andrew Klimov <and_k_98(at)yahoo(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Postgres 7.3 from source --with-tcl : Errors again...
Date: 2003-01-16 13:00:22
Message-ID: 20030116130022.GB2204@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

SLao,

On Wed, Jan 15, 2003 at 04:31:06AM -0500, S. L. wrote:
> The lack of tcl/tk autoconf (which includes the presence of
> non-standard paths in tclConfig.sh/tkConfig.sh) for cygwin, leads to
> wrong Makefile/Makefile.tcldefs for pltcl.

Nevertheless, PostgreSQL's autoconf does a very good job of getting
things right for Cygwin with the exception of the need to configure
--with-tclconfig. Essentially all of my patch deals with supplying
missing libraries and the DLLIMPORT name clash problem. Note that I am
just supplying libraries that were already determined by the autoconf
process.

BTW, what is "Makefile/Makefile.tcldefs"?

> I usually managed to bypass this by manually running gcc linking line
> and completing the missing parts.

The need for the above has been obviated by my patch. IMO, it makes
more sense to polish my patch and get it accepted, than run manual links
over and over again. Now that Cygwin has upgraded to a more modern
Tcl/Tk, shouldn't we take advantage of this?

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