Re: Python port problems
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 [EMAIL PROTECTED] -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- [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part
Re: Python port problems
Joe Auty wrote: On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote: Joe Auty wrote: On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: Joe Auty wrote: jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/ getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/ bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? My Mailman rc script (exactly identical to the one on my working machine): You're getting your error when mailman starts at boot time; is that right? If so, what happens if you try as root (csh): # sh -x /usr/local/etc/rc.d/mailman.sh start (you might have to check the exact name of the rc.d script). If this starts mailman then something bizarre is going on. If you get the same error as usual, then judicious snippets with the error and prior context. Running the RC script under sh, csh, and bash yields the same error spew I've attached the errors spewed out in their entirety: Sorry, the csh/sh distinction should have been edited out by me - I was redirecting the output in my first edit then took it out. However, the point was to run with sh -x as that will trace execution and might find where prefix has been written. Can you try: $ ls /usr/local/etc/rc.d/mailman* $ ls /etc/rc.d/mailman* (in case some old script has hung around) $ find /usr/local/mailman -type f -exec egrep -H 'prefix' {} \; (to try to find prefix somewhere in mailman install) and if that finds nothing $ sh -x /usr/local/etc/rc.d/mailman.sh start [from mailman list] One wild guess - look at bin/paths.py. It should contain real paths as definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so probably are cron/paths.py and scripts/paths.py (and who knows what else). We tried looking in that first file a couple iterations ago :-( Above I've tried looking in others but I don't think that will be it. don't think it's the mailman install per se as you ran qrunner from the command line and it worked. Try again to be sure: /usr/local/mailman/bin/qrunner and you' should get the help message and not an import error. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 19, 2006, at 4:34 AM, Alex Zbyslaw wrote: Joe Auty wrote: On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote: Joe Auty wrote: On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: Joe Auty wrote: jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/ lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/ getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/ bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? My Mailman rc script (exactly identical to the one on my working machine): You're getting your error when mailman starts at boot time; is that right? If so, what happens if you try as root (csh): # sh -x /usr/local/etc/rc.d/mailman.sh start (you might have to check the exact name of the rc.d script). If this starts mailman then something bizarre is going on. If you get the same error as usual, then judicious snippets with the error and prior context. Running the RC script under sh, csh, and bash yields the same error spew I've attached the errors spewed out in their entirety: Sorry, the csh/sh distinction should have been edited out by me - I was redirecting the output in my first edit then took it out. However, the point was to run with sh -x as that will trace execution and might find where prefix has been written. Can you try: $ ls /usr/local/etc/rc.d/mailman* # ls /usr/local/etc/rc.d/mailman* /usr/local/etc/rc.d/mailman.sh $ ls /etc/rc.d/mailman* # ls /etc/rc.d/mailman* ls: No match. (in case some old script has hung around) $ find /usr/local/mailman -type f -exec egrep -H 'prefix' {} \; (to try to find prefix somewhere in mailman install) # find /usr/local/mailman -type f -exec egrep -H 'prefix' {} \; /usr/local/mailman/messages/ja/README.ja:% cd prefix/pythonlib and if that finds nothing $ sh -x /usr/local/etc/rc.d/mailman.sh start Same problem, would you like a copy of this output? I'm presuming the lines prefaced by a + are of interest to you? + named_symlink_enable=YES + kerberos5_server_enable=NO + kerberos5_server=/usr/libexec/kdc + kadmind5_server_enable=NO + kadmind5_server=/usr/libexec/kadmind + kpasswdd_server_enable=NO + kpasswdd_server=/usr/libexec/kpasswdd + rwhod_enable=NO Anything in particular you'd like me to pull from this output? [from mailman list] One wild guess - look at bin/paths.py. It should contain real paths as definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so probably are cron/paths.py and scripts/paths.py (and who knows what else). We tried looking in that first file a couple iterations ago :- ( Above I've tried looking in others but I don't think that will be it. don't think it's the mailman install per se as you ran qrunner from the command line and it worked. Try again to be sure: /usr/local/mailman/bin/qrunner and you' should get the help message and not an import error. Indeed, I do! Thanks again for your help! I hope that isolating and resolving my problem will be useful for others too... - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFElpc2CgdfeCwsL5ERAmTMAKCP+gq9x5grPHc/2PrSLlBnvPltGQCfZj1Z sIzmqj95/1mEeuAlhOENNfo= =faPl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Joe Auty wrote: $ sh -x /usr/local/etc/rc.d/mailman.sh start and if that finds nothing Same problem, would you like a copy of this output? I'm presuming the lines prefaced by a + are of interest to you? Yes, very much! They're what the shell actually does. Most will be useless to us, but I really hope something in there points to the answer. + named_symlink_enable=YES + kerberos5_server_enable=NO + kerberos5_server=/usr/libexec/kdc + kadmind5_server_enable=NO + kadmind5_server=/usr/libexec/kadmind + kpasswdd_server_enable=NO + kpasswdd_server=/usr/libexec/kpasswdd + rwhod_enable=NO Anything in particular you'd like me to pull from this output? Why don't you mail *just me* the whole thing and if I can figure out what's going wrong I'll summarise to the list the bits that helped. Also a copy of /usr/local/etc/rc.d/mailman.sh Of course, if you have a Web site, you could just pop the full output and the script there and email the links to the list. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Joe Auty wrote: On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: Joe Auty wrote: jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? My Mailman rc script (exactly identical to the one on my working machine): You're getting your error when mailman starts at boot time; is that right? If so, what happens if you try as root (csh): # sh -x /usr/local/etc/rc.d/mailman.sh start (sh/bash) # sh -x /usr/local/etc/rc.d/mailman.sh start (you might have to check the exact name of the rc.d script). If this starts mailman then something bizarre is going on. If you get the same error as usual, then judicious snippets with the error and prior context. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote: Joe Auty wrote: On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: Joe Auty wrote: jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/ getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/ bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? My Mailman rc script (exactly identical to the one on my working machine): You're getting your error when mailman starts at boot time; is that right? If so, what happens if you try as root (csh): # sh -x /usr/local/etc/rc.d/mailman.sh start (sh/bash) # sh -x /usr/local/etc/rc.d/mailman.sh start (you might have to check the exact name of the rc.d script). If this starts mailman then something bizarre is going on. If you get the same error as usual, then judicious snippets with the error and prior context. Running the RC script under sh, csh, and bash yields the same error spew I've attached the errors spewed out in their entirety: # /usr/local/etc/rc.d/mailman.sh start 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 Traceback (most recent call last): 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): 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 dependent libraries exec_prefix Consider setting $PYTHONHOME to prefix[:exec_prefix] 'import site' failed; use -v for traceback Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? File /usr/local/mailman/bin/qrunner, line 76, in ? File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt 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 import getopt ImportError: No module named getopt 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 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 import getopt ImportError: No module named getopt jauty# File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt 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 Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Could not find platform independent libraries prefix Could not find platform
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I sent on this problem to the Mailman list and got the following response is this useful? Joe Auty wrote: On Jun 18, 2006, at 12:41 PM, Mark Sapiro wrote: Joe Auty wrote: When I try to startup the Mailport FreeBSD port via its rc script, I get the following: ... snipped all sorts of stuff Traceback (most recent call last): Could not find platform independent libraries prefix File /usr/local/mailman/bin/qrunner, line 76, in ? First it seems some configuration step may have been missed. prefix should have been replaced with a path - probably /usr/local/ mailman/. Hmmm... How do I correct this? I have no idea. What I said in my first response still applies. This same port works on another FreeBSD machine of mine. I've posed this question to the FreeBSD Questions list, but I seem to have baffled some, which is why I thought I would post this question here. I hope this appropriate to post here. You might compare the 'rc' file on this machine to the one on the working machine. That might provide a clue. This is the paragraph I was referring to above by what I said ... We probably can't be much help either. The output you posted seems 'interleaved' and is not too intelligible without knowing what is being run. In general, we are not able to help much with 3rd party packages when the problem is with the package rather than the underlying Mailman. Just in case you'd like to take a stab at this, I'm enclosing the full error message. I'd *really* appreciate your help if you are able to help me, since I'd really like to get Mailman running again on this computer somehow, and have reached the end of my rope... The full output really isn't any more help than the excerpt, since we still have no idea what's in /usr/local/etc/rc.d/mailman.sh that's producing all these errors. This script is part of your FreeBSD port. It's not in our distribution. Also, we have no idea in what ways files we do know about have been changed in your package. One wild guess - look at bin/paths.py. It should contain real paths as definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so probably are cron/paths.py and scripts/paths.py (and who knows what else). -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFElhcJCgdfeCwsL5ERAt6PAJ0SXIrbu4000QYRmR7Wwo4kiOwfDwCeN0gK f5QmeUciYUq9w+e5rcHyoxw= =JWcR -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote: Joe Auty wrote: On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote: And one which may spew quite a lot. Cut it off if it gets to printing help. $ python -v /usr/local/mailman/bin/qrunner jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? My Mailman rc script (exactly identical to the one on my working machine): . /etc/rc.subr name=mailman rcvar=${name}_enable pidfile=/usr/local/mailman/data/master-qrunner.pid load_rc_config $name : ${mailman_enable=NO} start_cmd=${name}_start stop_cmd=${name}_stop extra_commands=reload mailman_start() { /usr/local/mailman/bin/mailmanctl -s -q start } mailman_stop() { /usr/local/mailman/bin/mailmanctl -q stop } run_rc_command $1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFElLx/CgdfeCwsL5ERAkzKAJwICVvUmDpHBPCfcu11Zn+VBnhk/ACfSwLA SSkS0cFRTCvxrk56WceoZ8A= =WDJc -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Joe Auty wrote: On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote: And one which may spew quite a lot. Cut it off if it gets to printing help. $ python -v /usr/local/mailman/bin/qrunner jauty# python -v /usr/local/mailman/bin/qrunner [...snip...] # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ python2.4/getopt.py import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc # /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/ paths.py import paths # precompiled from /usr/local/mailman/bin/paths.pyc [...snip...] OK, you just ran qrunner successfully without getting the error you were getting earlier about getopt. Doesn't matter that all you got was help, it found *everything* that it tried to import. I missed the start of this thread. How did you run qrunner to get your earlier error and where did the error appear? I think you said the rc script. If it's not too big can you post it? Or compare it against your working mailman? --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Joe Auty wrote: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Honestly, this looks like a screwed python install or some screw up when mailman compiled. Can you do a few basic info things? which python whereis python python # and to the command interpreter type import getopt # and exit with ^D (control D) egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf head -5 /usr/local/mailman/bin/qrunner --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote: Joe Auty wrote: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Honestly, this looks like a screwed python install or some screw up when mailman compiled. Can you do a few basic info things? Sure, happy to do so! which python /usr/local/bin/python whereis python python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ ports/lang/python python # and to the command interpreter type import getopt # and exit with ^D (control D) # python Python 2.4.3 (#2, Jun 13 2006, 21:29:49) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type help, copyright, credits or license for more information. import getopt (I'm assuming this means no issues here) egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf- # 'perl', /usr/local/etc/pkgtools.conf- # 'ruby', /usr/local/etc/pkgtools.conf: #'python', /usr/local/etc/pkgtools.conf- # ] /usr/local/etc/pkgtools.conf- # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER? =vscan CLAMAVGROUP?=vscan', /usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL', /usr/local/etc/pkgtools.conf:'mail/mailman' = 'MAIL_GID=mailman' /usr/local/etc/pkgtools.conf- } /usr/local/etc/pkgtools.conf- head -5 /usr/local/mailman/bin/qrunner # head -5 /usr/local/mailman/bin/qrunner #! /usr/local/bin/python # Copyright (C) 2001-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part
Re: Python port problems
Joe Auty wrote: On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote: Joe Auty wrote: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Honestly, this looks like a screwed python install or some screw up when mailman compiled. Can you do a few basic info things? Sure, happy to do so! I've truncated the tests since nothing there showed any problem whatsoever. I'm running out of ideas, so this one may be off the wall: ($ to indicate command lines but don;t type the $ :-)) $ egrep prefix /usr/local/mailman/bin/qrunner I've found a mailman installation I can compare this next one against. $ egrep prefix /usr/local/mailman/bin/paths.py If this doesn't look like below, then we have found the problem, if not the cause. If anything contains the you have the problem and can ignore the next item. (Yours should have /usr/local for /var but it's a cruddy Linux machine which happens to have mailman). # importing this module, sys.path gets `hacked' so that the $prefix/Mailman prefix = '/var/mailman' exec_prefix = '${prefix}' if exec_prefix == '${prefix}': exec_prefix = prefix # Hack the path to include the parent directory of the $prefix/Mailman package sys.path.insert(0, prefix) sys.path.insert(0, os.path.join(prefix, 'pythonlib')) sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], And one which may spew quite a lot. Cut it off if it gets to printing help. $ python -v /usr/local/mailman/bin/qrunner --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote: I've truncated the tests since nothing there showed any problem whatsoever. I'm running out of ideas, so this one may be off the wall: ($ to indicate command lines but don;t type the $ :-)) Just as a preface, Mailman is working fine on another FreeBSD machine of mine. I'm wondering if this could be something as simple as bad permissions set somewhere? $ egrep prefix /usr/local/mailman/bin/qrunner nothing I've found a mailman installation I can compare this next one against. $ egrep prefix /usr/local/mailman/bin/paths.py If this doesn't look like below, then we have found the problem, if not the cause. If anything contains the you have the problem and can ignore the next item. (Yours should have /usr/local for / var but it's a cruddy Linux machine which happens to have mailman). # importing this module, sys.path gets `hacked' so that the $prefix/ Mailman prefix = '/var/mailman' exec_prefix = '${prefix}' if exec_prefix == '${prefix}': exec_prefix = prefix # Hack the path to include the parent directory of the $prefix/ Mailman package sys.path.insert(0, prefix) sys.path.insert(0, os.path.join(prefix, 'pythonlib')) sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], # grep prefix /usr/local/mailman/bin/paths.py # importing this module, sys.path gets `hacked' so that the $prefix/ Mailman prefix = '/usr/local/mailman' exec_prefix = '${prefix}' if exec_prefix == '${prefix}': exec_prefix = prefix # Hack the path to include the parent directory of the $prefix/ Mailman package sys.path.insert(0, prefix) sys.path.insert(0, os.path.join(prefix, 'pythonlib')) sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], Only difference here seems to be the prefix... And one which may spew quite a lot. Cut it off if it gets to printing help. $ python -v /usr/local/mailman/bin/qrunner # grep prefix /usr/local/mailman/bin/paths.py # importing this module, sys.path gets `hacked' so that the $prefix/ Mailman prefix = '/usr/local/mailman' exec_prefix = '${prefix}' if exec_prefix == '${prefix}': exec_prefix = prefix # Hack the path to include the parent directory of the $prefix/ Mailman package sys.path.insert(0, prefix) sys.path.insert(0, os.path.join(prefix, 'pythonlib')) sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], jauty# python -v /usr/local/mailman/bin/qrunner # installing zipimport hook import zipimport # builtin # installed zipimport hook # /usr/local/lib/python2.4/site.pyc matches /usr/local/lib/python2.4/ site.py import site # precompiled from /usr/local/lib/python2.4/site.pyc # /usr/local/lib/python2.4/os.pyc matches /usr/local/lib/python2.4/os.py import os # precompiled from /usr/local/lib/python2.4/os.pyc import posix # builtin # /usr/local/lib/python2.4/posixpath.pyc matches /usr/local/lib/ python2.4/posixpath.py import posixpath # precompiled from /usr/local/lib/python2.4/ posixpath.pyc # /usr/local/lib/python2.4/stat.pyc matches /usr/local/lib/python2.4/ stat.py import stat # precompiled from /usr/local/lib/python2.4/stat.pyc # /usr/local/lib/python2.4/UserDict.pyc matches /usr/local/lib/ python2.4/UserDict.py import UserDict # precompiled from /usr/local/lib/python2.4/UserDict.pyc # /usr/local/lib/python2.4/copy_reg.pyc matches /usr/local/lib/ python2.4/copy_reg.py import copy_reg # precompiled from /usr/local/lib/python2.4/copy_reg.pyc # /usr/local/lib/python2.4/types.pyc matches /usr/local/lib/python2.4/ types.py import types # precompiled from /usr/local/lib/python2.4/types.pyc # /usr/local/lib/python2.4/warnings.pyc matches /usr/local/lib/ python2.4/warnings.py import warnings # precompiled from /usr/local/lib/python2.4/warnings.pyc # /usr/local/lib/python2.4/linecache.pyc matches /usr/local/lib/ python2.4/linecache.py import linecache # precompiled from /usr/local/lib/python2.4/ linecache.pyc import encodings # directory /usr/local/lib/python2.4/encodings # /usr/local/lib/python2.4/encodings/__init__.pyc matches /usr/local/ lib/python2.4/encodings/__init__.py import encodings # precompiled from /usr/local/lib/python2.4/ encodings/__init__.pyc # /usr/local/lib/python2.4/codecs.pyc matches /usr/local/lib/ python2.4/codecs.py import codecs # precompiled from /usr/local/lib/python2.4/codecs.pyc import _codecs # builtin # /usr/local/lib/python2.4/encodings/aliases.pyc matches /usr/local/ lib/python2.4/encodings/aliases.py import encodings.aliases # precompiled from /usr/local/lib/python2.4/ encodings/aliases.pyc # /usr/local/lib/python2.4/encodings/ascii.pyc matches /usr/local/lib/ python2.4/encodings/ascii.py import encodings.ascii # precompiled from /usr/local/lib/python2.4/ encodings/ascii.pyc Python 2.4.3 (#2, Jun 13 2006, 21:29:49) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type help, copyright, credits or license for more information. # /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/
RE: Python port problems
Try reloading the cvs base for changes / updates before reinstalling both Python and Mailman. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Auty Sent: Wednesday, June 14, 2006 12:11 PM To: Alex Zbyslaw Cc: FreeBSD Questions Subject: Re: Python port problems On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote: Joe Auty wrote: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Honestly, this looks like a screwed python install or some screw up when mailman compiled. Can you do a few basic info things? Sure, happy to do so! which python /usr/local/bin/python whereis python python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ ports/lang/python python # and to the command interpreter type import getopt # and exit with ^D (control D) # python Python 2.4.3 (#2, Jun 13 2006, 21:29:49) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type help, copyright, credits or license for more information. import getopt (I'm assuming this means no issues here) egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf- # 'perl', /usr/local/etc/pkgtools.conf- # 'ruby', /usr/local/etc/pkgtools.conf: #'python', /usr/local/etc/pkgtools.conf- # ] /usr/local/etc/pkgtools.conf- # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER? =vscan CLAMAVGROUP?=vscan', /usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL', /usr/local/etc/pkgtools.conf:'mail/mailman' = 'MAIL_GID=mailman' /usr/local/etc/pkgtools.conf- } /usr/local/etc/pkgtools.conf- head -5 /usr/local/mailman/bin/qrunner # head -5 /usr/local/mailman/bin/qrunner #! /usr/local/bin/python # Copyright (C) 2001-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
I did do my usual portsnap update before my reinstallation, and have reinstalled both ports several times... On Jun 14, 2006, at 3:36 PM, fbsd wrote: Try reloading the cvs base for changes / updates before reinstalling both Python and Mailman. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joe Auty Sent: Wednesday, June 14, 2006 12:11 PM To: Alex Zbyslaw Cc: FreeBSD Questions Subject: Re: Python port problems On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote: Joe Auty wrote: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Honestly, this looks like a screwed python install or some screw up when mailman compiled. Can you do a few basic info things? Sure, happy to do so! which python /usr/local/bin/python whereis python python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ ports/lang/python python # and to the command interpreter type import getopt # and exit with ^D (control D) # python Python 2.4.3 (#2, Jun 13 2006, 21:29:49) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 Type help, copyright, credits or license for more information. import getopt (I'm assuming this means no issues here) egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf- # 'perl', /usr/local/etc/pkgtools.conf- # 'ruby', /usr/local/etc/pkgtools.conf: #'python', /usr/local/etc/pkgtools.conf- # ] /usr/local/etc/pkgtools.conf- # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf # egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf /usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER? =vscan CLAMAVGROUP?=vscan', /usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL', /usr/local/etc/pkgtools.conf:'mail/mailman' = 'MAIL_GID=mailman' /usr/local/etc/pkgtools.conf- } /usr/local/etc/pkgtools.conf- head -5 /usr/local/mailman/bin/qrunner # head -5 /usr/local/mailman/bin/qrunner #! /usr/local/bin/python # Copyright (C) 2001-2006 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part
Re: Python port problems
On May 23, 2006, at 12:42 PM, Alex Zbyslaw wrote: Lowell Gilbert wrote: Joe Auty [EMAIL PROTECTED] writes: $ python -c 'import sys; print sys.path' ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/ usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/ python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/ local/lib/ python2.4/site-packages'] I don't have a /usr/local/bin/python in there. Is that my problem? That's where the ports would install it, so that does sound like a problem. Look at which python and pkg_info|grep python. The executable /usr/local/bin/python has no business being in the path for *modules*. This is not your problem. I have never used mailman so do not know how it picks up its modules. It *might* install them into one of these directories on the module patch, but more likely it just pushes its own directory of modules onto this path when it runs, in which case the output you have won't help. Have you tried simply re-installing mailman? Maybe you upgraded python at some point after installing mailman and that is throwing something. Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: ... snip Traceback (most recent call last): : : No module named getopt File /usr/local/mailman/bin/qrunner, line 76, in ? ImportErrorimport getopt No module named getopt: No module named getopt ImportErrorCould 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 : No module named getopt Traceback (most recent call last): File /usr/local/mailman/bin/qrunner, line 76, in ? import getopt ImportError: No module named getopt Any ideas here? --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part
Re: Python port problems
On 13/06/06 Joe Auty said: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: What order did you install them in? Mailman has some compiled C code for security and performance reasons. Your Python install needs to be stable when Mailman builds against it. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpmBk3l2Aaxd.pgp Description: PGP signature
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 13, 2006, at 7:51 PM, Michael P. Soulier wrote: On 13/06/06 Joe Auty said: Sorry for the delay in response here. This is still a problem for me, and I would still like this problem resolved. Yes, I've tried reinstalling both Python and Mailman, and upgraded to newer port revisions of Mailman which have been released since this message. I'm still getting the same error message when I go to start Mailman via its rc script: What order did you install them in? Mailman has some compiled C code for security and performance reasons. Your Python install needs to be stable when Mailman builds against it. I just tried a portupgrade -f python, and then a portupgrade -f mailman, and I have the same problem... Unfortunately, I'm kind of flying blind here since I don't really know how to troubleshoot this particular problem =( Hope you can help! - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEj2dkCgdfeCwsL5ERAt0yAJ0SnNK9QjQCUG4DSEpwSY2b8oEL/gCfU3hu Fzi4bT+oNh09Ud7n4gObvck= =m4YC -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Joe Auty [EMAIL PROTECTED] writes: On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote: On 5/22/06, Joe Auty [EMAIL PROTECTED] wrote: Starting up Mailman on one machine I'm on produces the following error message (see below). For some reason, this is not a problem Test your python installation. Try python -c 'import sys; print sys.path' See which python interpreter this is, /usr/local/bin/python most likely, and make sure that mailman is using this python. I'm not sure how to determine what Python Mailman is using, but the only Python I've installed on the system is from FreeBSD ports, unless some other software bundles its own... Here is the output of the command printed above: $ python -c 'import sys; print sys.path' ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ python2.4/site-packages'] I don't have a /usr/local/bin/python in there. Is that my problem? That's where the ports would install it, so that does sound like a problem. Look at which python and pkg_info|grep python. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
Lowell Gilbert wrote: Joe Auty [EMAIL PROTECTED] writes: $ python -c 'import sys; print sys.path' ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ python2.4/site-packages'] I don't have a /usr/local/bin/python in there. Is that my problem? That's where the ports would install it, so that does sound like a problem. Look at which python and pkg_info|grep python. The executable /usr/local/bin/python has no business being in the path for *modules*. This is not your problem. I have never used mailman so do not know how it picks up its modules. It *might* install them into one of these directories on the module patch, but more likely it just pushes its own directory of modules onto this path when it runs, in which case the output you have won't help. Have you tried simply re-installing mailman? Maybe you upgraded python at some point after installing mailman and that is throwing something. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
On 5/22/06, Joe Auty [EMAIL PROTECTED] wrote: Starting up Mailman on one machine I'm on produces the following error message (see below). For some reason, this is not a problem Test your python installation. Try python -c 'import sys; print sys.path' See which python interpreter this is, /usr/local/bin/python most likely, and make sure that mailman is using this python. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Python port problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote: On 5/22/06, Joe Auty [EMAIL PROTECTED] wrote: Starting up Mailman on one machine I'm on produces the following error message (see below). For some reason, this is not a problem Test your python installation. Try python -c 'import sys; print sys.path' See which python interpreter this is, /usr/local/bin/python most likely, and make sure that mailman is using this python. I'm not sure how to determine what Python Mailman is using, but the only Python I've installed on the system is from FreeBSD ports, unless some other software bundles its own... Here is the output of the command printed above: $ python -c 'import sys; print sys.path' ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ python2.4/site-packages'] I don't have a /usr/local/bin/python in there. Is that my problem? - --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEclhpCgdfeCwsL5ERAlu4AJ9cye7laavwZtplMtl1eAYXaAnypQCcDrP5 KhrwPI/K02VISTmkjsWV0wU= =paE7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Python port problems
-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 [EMAIL PROTECTED] -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 [EMAIL PROTECTED]