From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 05:15:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8EB216A4B3 for ; Wed, 24 Sep 2003 05:15:15 -0700 (PDT) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC89543FD7 for ; Wed, 24 Sep 2003 05:15:12 -0700 (PDT) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail3.panix.com (Postfix) with ESMTP id 43A6598266; Wed, 24 Sep 2003 08:15:12 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id 013E72AA10; Wed, 24 Sep 2003 08:15:11 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1A28Y3-00087M-00; Wed, 24 Sep 2003 08:15:11 -0400 Date: Wed, 24 Sep 2003 08:15:11 -0400 From: stan To: Danny Pansters Message-ID: <20030924121511.GA31095@teddy.fas.com> Mail-Followup-To: Danny Pansters , Free BSD Questions list References: <20030923143104.GA2316@teddy.fas.com> <200309232337.02175.danny@ricin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309232337.02175.danny@ricin.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.21 X-Uptime: 08:10:13 up 41 days, 1:07, 2 users, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown cc: Free BSD Questions list Subject: Re: How can I install the python "snack" module? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 12:15:15 -0000 On Tue, Sep 23, 2003 at 11:37:02PM +0200, Danny Pansters wrote: > On Tuesday 23 September 2003 16:31, stan wrote: > > I'm trying to poart a small python application to FreeBSD from linux > > (routeplanner if you are curious). It requires a number of python > > modules, including "snack" I located the tarball for the module, but > > when I run configure for it I get: > > > > $ ./configure > > loading cache ./config.cache > > checking for Tcl configuration... configure: warning: Can't find Tcl > > configuration definitions > > I don't know this module. Hmm, I hope it only wants tcl to do some > precompile scripting not statically in the module. You do have tcl and > tk installed? You might have to change some paths in the config script > and Makefile. Yes, probably several versions as required by various ports. Dosen't FreeBSD put the tki/tcl stuff in some non-stnadard places to allow for having more than one version installed at once? Might this be part of the problem? > > > A brief primer on the general python module installation mthodology > > would be useful as well. I'm mainly a perl type, so python is a new > > fronteir for me. > > Usually a module or package of modules go into > /usr/local/lib/python2.3/site-packages/somedir. This is python > convention, not FreeBSD's. Thnaks. Perl has a very structured way of doing the installation of modules for it. I was assuming that python would have at least a subset of this. Are python modules typically compiled binaries (as this one is) or are thet more typucally python code itself (as in perl modules)? > > > HTH > > Dan > > (who likes messing with python but isn't an expert) I'm a bit of a perl hacker, but, other thna jusy using things installed by, for instnace, the ports mechanisim, this is my firs foray intot python. Thanks for the help. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin