From owner-freebsd-questions Thu Dec 27 12:55:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id D4AEA37B417 for ; Thu, 27 Dec 2001 12:55:10 -0800 (PST) Received: from fwd11.sul.t-online.de by mailout05.sul.t-online.de with smtp id 16JhYO-0004Gx-04; Thu, 27 Dec 2001 21:55:04 +0100 Received: from harry.my.net (320020256018-0001@[217.2.82.20]) by fwd11.sul.t-online.com with esmtp id 16JhYH-0e0cC7C; Thu, 27 Dec 2001 21:54:57 +0100 Received: (from kister@localhost) by harry.my.net (8.11.6/8.11.1) id f9NIbuS01641; Tue, 23 Oct 2001 20:37:56 +0200 (CEST) (envelope-from kister) To: Mike Meyer Cc: questions@freebsd.org Subject: Re: python 2.1.1 with AND without threads References: <15317.28603.296849.864129@guru.mired.org> From: Ulf.Kister@t-online.de (Ulf Kister) Date: 23 Oct 2001 20:37:56 +0200 In-Reply-To: <15317.28603.296849.864129@guru.mired.org> Message-ID: <87hesqkxrv.fsf@harry.my.net> Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender: 320020256018-0001@t-dialin.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Mike, thank you for taking the time to awnser. Mike Meyer writes: > First question - if you're running zope, why would you want > mod_python? Zope comes with a very nice server that makes plugging in > python code straightforward, and provides excellent performance. Yes, but this is a development machine and I'm developing for different target platforms. > First suggestion - look on the for > the PyApache module, and see if it will do what you want. It works > fine with threaded python. According to the shorthand description the versions (apache 1.2, python 1.4) are far below the ones required, and the main site for PyApache seems to be down :-( > Second suggestion. Build Python sans threads. Build Apache with the > python module and interpreter statically linked into it, instead of > dynamically linked into it. Now build Python with threads for Zope to > use. Or vice versa. Or build both versions in two different locations, > and set the LD_LIBRARY_PATH appropriately for the two binaries. I'll try to do it that way and report if I was successful. > If there aren't two binaries, but just one - I don't think it can be > done without rewriting python so all the external symbols have > different names for one version. Hell, no. Three numbers too large :-) later, u -- gpg public key at http://www.keyserver.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message