Date: Fri, 23 Jun 2006 15:13:46 -0400 From: Joe Auty <joe@netmusician.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Python port problems Message-ID: <F39D1561-64F3-403F-BF1F-3C09F5449295@netmusician.org> In-Reply-To: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org> References: <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <prefix> >> Could not find platform independent libraries <prefix> >> Could not find platform dependent libraries <exec_prefix> >> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] >> 'import site' failed; use -v for traceback >> Could not find platform independent libraries <prefix> >> Could not find platform dependent libraries <exec_prefix> >> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] >> 'import site' failed; use -v for traceback >> Could not find platform independent libraries <prefix> >> Could not find platform dependent libraries <exec_prefix> >> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] >> '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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F39D1561-64F3-403F-BF1F-3C09F5449295>