From owner-freebsd-ports Sun Nov 23 23:50:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA13208 for ports-outgoing; Sun, 23 Nov 1997 23:50:05 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from ghpc8.ihf.rwth-aachen.de (ghpc8.ihf.RWTH-Aachen.DE [134.130.90.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA13173 for ; Sun, 23 Nov 1997 23:49:59 -0800 (PST) (envelope-from thomas@ghpc8.ihf.rwth-aachen.de) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.rwth-aachen.de [134.130.90.6]) by ghpc8.ihf.rwth-aachen.de (8.8.7/8.8.6) with ESMTP id IAA15345; Mon, 24 Nov 1997 08:49:57 +0100 (CET) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.7/8.8.5) id IAA25588; Mon, 24 Nov 1997 08:49:56 +0100 (CET) To: Random Junk Cc: freebsd-ports@FreeBSD.ORG Subject: Re: python 1.4 port in 2.2.5 References: <199711211802.KAA08386@hudsucker.gamespot.com> From: Thomas Gellekum Date: 24 Nov 1997 08:49:55 +0100 In-Reply-To: Random Junk's message of Fri, 21 Nov 1997 10:02:40 -0800 (PST) Message-ID: <873ekmn330.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 40 X-Mailer: Gnus v5.4.37/XEmacs 19.16 Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Random Junk writes: > has anyone got a python 1.4 built with thread support on freebsd > 2.2.5? i made and installed libc_r but python is looking for -lthread > or something like that and i don't know anything about threads, so i > am loathe to just blithely replace a library. >From /usr/ports/lang/python/Makefile: # If you want to use Python's thread module, you need to set WITH_THREADS # to 'yes', and you must have the FreeBSD threading c library (libc_r) # installed. See 'man 3 pthread' for details on libc_r. `make WITH_THREADS=yes' in /usr/ports/lang/python should do the trick. As long as we don't enable libc_r by default (I hope this will change, btw) we need to take some precautions. > the python in /usr/ports/lang depends on tcl and tk which seems odd to > me, given that it's mainly a text-based language. i am not installing > X on this machine just to build a language interpreter. There's nothing odd to it. Tk is the standard widget set for python and many of our ports assume that X is installed. Diskspace is cheap today. > if anybody has any of the following, please get in touch: > > 1. prebuilt tarball of python with threads that will run on FBSD 2.2.5 I can prepare a package, but currently you would get Tk support with it. > 2. instructions on how to build python with thread support on 2.2.5 See above. > 3. a python port that doesn't require X for installation I'll try to think of something. tg