Received: with ECARTIS (v1.0.0; list gopher); Wed, 14 Apr 2004 09:01:18 -0500 (CDT) Return-Path: X-Original-To: gopher@complete.org Delivered-To: gopher@complete.org Received: from localhost (localhost [127.0.0.1]) by glockenspiel.complete.org (Postfix) with ESMTP id D3E102C5; Wed, 14 Apr 2004 09:01:16 -0500 (CDT) Received: from glockenspiel.complete.org ([127.0.0.1]) by localhost (glockenspiel [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 28062-04; Wed, 14 Apr 2004 09:01:15 -0500 (CDT) Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gatekeeper.elmer.external.excelhustler.com", Issuer "excelhustler.com" (not verified)) by glockenspiel.complete.org (Postfix) with ESMTP id BD14E1B; Wed, 14 Apr 2004 09:01:14 -0500 (CDT) Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id 3E928E0247; Wed, 14 Apr 2004 09:01:06 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 039065C006; Wed, 14 Apr 2004 09:01:06 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id CDE5C5C005; Wed, 14 Apr 2004 09:01:05 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id 34EC92606F; Wed, 14 Apr 2004 09:01:07 -0500 (CDT) Date: Wed, 14 Apr 2004 09:01:07 -0500 From: John Goerzen To: gopher@complete.org Subject: [gopher] Re: pygopherd on Debian stable Message-ID: <20040414140107.GB14612@excelhustler.com> References: Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at complete.org Content-Transfer-Encoding: 8bit X-archive-position: 913 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Wed, Apr 14, 2004 at 09:53:03AM +0200, Alessandro Selli wrote: > I'm considering installing pygopherd to replace UMN gopherd on a > Debian stable server running on a SPARCStation5. However, this > distribution comes with python version 2.1.3, while pygopherd > needs version 2.3. In order to have pygopherd running I'd need > to upgrade the server to the testing python package, plus a > small number of other dependencies. I wished I didn't need to You have several different options. You can probably get a usable Python for woody from www.backports.org or www.apt-get.org. However, I have an even easier solution -- you can just install Python from source. Python is easy to build and install from source and you'll have no problem doing this on your woody box. Just download Python 2.3 and configure it to go to somewhere other than the system's default location -- /opt/python2.3, for instance. This location should also *NOT* be on your PATH. PyGopherd uses few C extensions to Python, so you don't have to worry about the Tk, GDBM, etc. stuff that the Debian maintainers do. Essentially, all that happens when you build Python from source like this is that it builds the interpreter and installs the Python sources and C modules for the standard library. Now, install PyGopherd from source. All you should have to do is run "/opt/python2.3/bin/python setup.py install" in the PyGopherd directory and you should be set. > have mixed stable/unstable packages on the "frontline" server, > so before I give up on the server's "purity" and upgrade python > with the testing package I wanted to ask this: when pygopherd > was developped, was python 2.3 used because some of it's > features where needed in order to have a fully functional > gopherd server, or was it just because that was the python > version available on the developer's computer and maybe > pygopherd can work on python2.1? Any idea? Should I just try > that? There was nothing about 2.1 that would make it impossible to use for PyGopherd. In fact, PyGopherd may well still work fine with Python 2.2, though I'm not certain. Newer versions of Python do provide features that make the job of implementing the server *easier*. I do not nkow exactly how prevalent the use of post-2.1 features is; I believe that I wrote PyGopherd against Python 2.2 originally. I did think about compatibility, but what it comes down to is that I decided that restricting myself to only features that worked on older Python versions was not a desirable goal, and since I didn't use those older versions, could also not be readily tested. And given that Python 2.3 is trivial to install on just about any system that supports at least Python 1.5, I figured it would not be a major problem. -- John