Subject: Re: How to fix tkgate?
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Min Sik Kim <minskim@NetBSD.org>
List: tech-pkg
Date: 06/08/2004 12:21:11
--Signature=_Tue__8_Jun_2004_12_21_11_-0500_RopRPl8b0Ce93J30
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

* Julio M. Merino Vidal, Tue, 8 Jun 2004 16:45:41 +0200:
> Hi all,
> 
> from kristerw@'s "pkgsrc NetBSD 1.6.2/i386 bulk build results
> 2004-06-07", I see that tkgate is broken.  From the logs:
> [snip]
> The problem is that libtcl84 needs -lpthread and -lm (just try to link
> a simple test program against it, and you'll see), but those two
> depends are recorded nowhere.

See http://mail-index.netbsd.org/tech-pkg/2004/05/20/0015.html

Many tcl packages were patched to load tclConfig.sh in configure.

> I could patch tkgate to link against -lpthread too, but this doesn't
> look right (because thread usage is "hidden by" libtcl84, and not used
> directly in the program).
> 
> The other solution is to patch tcl so that the library ends up linked
> with whatever else it needs.  I guess this is the best solution,
> right? Does this work on all platforms we support?

I'm not sure if it would work on every platform.  If it would, then I
agree that it is the best solution.

-- 
Min Sik Kim

--Signature=_Tue__8_Jun_2004_12_21_11_-0500_RopRPl8b0Ce93J30
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUBQMX1h/QsKR/Zi7L+AQKWvQf/aSgb2c9xttQtz9YRSD2lznQrb/eh8Ijq
55qwYe0taDvYa6lRB+lr21GZ8rertaM/4T6+aiomU+devggTxnjasRdAhcfw3f5G
OwlZ5GQiAyRpazg4pYJWEZLvvRcE+uMW3HAfWdSaTQz9fwtofUvgwmFD0MVaX0ku
o85Rebb9vgQrdp2slZl3s97pJ7XLduMGCmbxSXzIxDB58hsR4Yay3u4m6wRLl1l1
pgjZpy+o/5e+yMITpoyYi7ofFG7J9BN5EZBoCsd90tTU8DZUk6UM7Q4Cfc3qHX+G
a5A2qA7s9n0DvjAGPhGvAsbE6D5Z8/dkvZ5YQOzmiH91v7Lp0dsycA==
=W09k
-----END PGP SIGNATURE-----

--Signature=_Tue__8_Jun_2004_12_21_11_-0500_RopRPl8b0Ce93J30--