From owner-freebsd-questions@FreeBSD.ORG Fri Jun 23 19:13:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4757616A49E for ; Fri, 23 Jun 2006 19:13:51 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [216.9.132.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8866043D45 for ; Fri, 23 Jun 2006 19:13:50 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id D5F1F7E8D2 for ; Fri, 23 Jun 2006 15:13:49 -0400 (EDT) X-Virus-Scanned: by amavisd-new at netmusician.org Received: from netmusician.org ([127.0.0.1]) by localhost (jauty.suso.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wvPXVCnvPMKV for ; Fri, 23 Jun 2006 15:13:49 -0400 (EDT) Received: from [156.56.12.213] (loony.uits.indiana.edu [156.56.12.213]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 5B7407E8D1 for ; Fri, 23 Jun 2006 15:13:49 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-119-984134368" Message-Id: Content-Transfer-Encoding: 7bit From: Joe Auty Date: Fri, 23 Jun 2006 15:13:46 -0400 To: FreeBSD Questions X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.750) Subject: Re: Python port problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 19:13:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-119-984134368 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed This problem has been resolved, thanks to my new friend Alex Zbyslaw! The problem was that my /usr/local/lib/python2.4 was set with perms 754 rather than 755. I didn't realize that doing a port uninstall and reinstall doesn't necessarily correct permission problems on parent directories. I hope this is useful to somebody else =) On May 22, 2006, at 12:02 AM, Joe Auty wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > Starting up Mailman on one machine I'm on produces the following > error message (see below). For some reason, this is not a problem > with the same version on another FreeBSD machine I'm on, both > installed from ports. I have 'mail/mailman' => 'MAIL_GID=mailman' > in my pkgtools.conf on both machines, and a mailman user/group... > > According to the Mailman list, this is actually a Python build > problem, which is why I'm posting this there (can't explain the > fact that I'm not reproducing it on the same machine, although I > think I may have accidently messed up some of the permissions in / > usr on the machine this is no longer working on)... The list > suggests that the configure arguments reference the Python > executables, not the lib directory. I'm not sure if this applies to > my problem, but here is the thread: > > http://www.mail-archive.com/mailman-users@python.org/msg28164.html > > > Any ideas? > > >> Could not find platform independent libraries >> Could not find platform independent libraries >> Could not find platform dependent libraries >> Consider setting $PYTHONHOME to [:] >> 'import site' failed; use -v for traceback >> Could not find platform independent libraries >> Could not find platform dependent libraries >> Consider setting $PYTHONHOME to [:] >> 'import site' failed; use -v for traceback >> Could not find platform independent libraries >> Could not find platform dependent libraries >> Consider setting $PYTHONHOME to [:] >> 'import site' failed; use -v for traceback >> Traceback (most recent call last): >> Traceback (most recent call last): >> File "/usr/local/mailman/bin/qrunner", line 76, in ? >> import getopt >> ImportError: No module named getopt >> >> (snip... all sorts of similar errors) > > > > > > > > > - ----------- > Joe Auty > NetMusician: web publishing software for musicians > http://www.netmusician.org > joe@netmusician.org > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (Darwin) > > iD8DBQFEcTfyCgdfeCwsL5ERAiUSAJ9HVru6UkqytTBCBgt/BZESQ2cEwQCcDnIK > hqoZq3z42bhokFJ0r/5PvJA= > =s/2K > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" --Apple-Mail-119-984134368 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEnD1qCgdfeCwsL5ERAsKUAJ9CeNdwtBU45rtvaMqjSEqmfaljyACeMhsv 1IWyn0fhCbTclvE1pFtMMdk= =5vfF -----END PGP SIGNATURE----- --Apple-Mail-119-984134368--