Re: [Mailman-Users] No module named korean
Bob Holden wrote: Not sure if you're still working on this, but it's still happening on a CentOS4.2 server with the latest tarball. The tarball contains misc/KoreanCodecs-2.0.5.tar.gz. The Makefile built by configure in the misc/ directory and run by the main Makefile should install the korean package in the pythonlib/ directory in the Mailman installation. The pythonlib/ directory is included in sys.path by the various paths.py modules the import korean. What part of this process is not happening in your case? Installing Python-Devel fixed the problem. Presumably because this package installed Korean Codecs in the Python library, but that doesn't explain why they weren't installed and/or found in Mailman's pythonlib/ in the first place. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] No module named korean
Thank you for your help so far on this issue. Have you found anything new since your last email? thanx, chaim -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On 2 Jan 2003 at 11:27, Barry A. Warsaw wrote: chaim == [EMAIL PROTECTED] writes: chaim Thank you for your help so far on this issue. Have you chaim found anything new since your last email? This was resolved in 2.1 final. You must have the python -devel package installed, but the test for this was broken in the pre-2.1 final configure script. -Barry Thank you. I downloaded the package from list.org and they didn't mention anything about it being pre-2.1 beta. Can you suggest where I can find the 2.1 final and what the exact size of the file should be? thanx, chaim -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
chaim == [EMAIL PROTECTED] writes: chaim Thank you for your help so far on this issue. Have you chaim found anything new since your last email? This was resolved in 2.1 final. You must have the python -devel package installed, but the test for this was broken in the pre-2.1 final configure script. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
chaim == [EMAIL PROTECTED] writes: chaim Thank you. I downloaded the package from list.org and they chaim didn't mention anything about it being pre-2.1 beta. Can chaim you suggest where I can find the 2.1 final and what the chaim exact size of the file should be? http://sourceforge.net/project/showfiles.php?group_id=103 -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
chaim == [EMAIL PROTECTED] writes: chaim I tried to track it down and although I am an experience chaim developer/admin, I am fairly new to Python and Mailman. I chaim am a bit confused about the comments concerning korea and chaim korea.alias. Should I just comment out the importing of chaim korea? What version of Python ar you using? Can you try the following: % python Python 2.2.2 (#1, Oct 14 2002, 19:51:36) [GCC 2.96 2731 (Red Hat Linux 7.3 2.96-112)] on linux2 Type help, copyright, credits or license for more information. import distutils distutils.__version__ '1.0.3' what do you get? -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On 31 Dec 2002 at 12:18, Barry A. Warsaw wrote: What version of Python ar you using? Python 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2 Type help, copyright, credits or license for more information. import distutils distutils.__version__ '1.0.3' -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
Do you see any errors in the make output before the line about the korean package? Also, look in /usr/local/mailman/pythonlib. You should see both a korean subdir and a file called korean.pth. Are they there? -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On Tue, Dec 31, 2002 at 09:23:49AM -0800, [EMAIL PROTECTED] wrote: On 31 Dec 2002 at 12:18, Barry A. Warsaw wrote: What version of Python ar you using? Python 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2 Type help, copyright, credits or license for more information. import distutils distutils.__version__ '1.0.3' For the record, I am in the exact same bind... as are most people with RH 8.0, I'd imagine. I've seen this bug mentioned over the past few months during beta testing, but every reply I've come across says simple that it was a known error that had been repaired in later revs. Seems this wasn't the case after all. I plead utter Python ignorance. Can anyone point me in the proper direction for a workaround/fix? I'm also a little confused about the CGI wrapper error: Group mismatch error. Mailman expected the CGI wrapper script to be executed as group nobody, but the system's web server executed the CGI script as group apache. Try tweaking the web server to run the script as group nobody, or re-run configure, providing the command line option `--with-cgi-gid=apache'. I have yet to tweak my Apache, but reconfiguring with this flag did not seem to work, as I expected it would. I'll beat on the httpd.conf later today when I find a minute or two. -- warren woodward XMission DSL [EMAIL PROTECTED] (801) 303-0819 (877) XMISSION The United States, as the world knows, will never start a war. -JFK, American University, June 10, 1963 -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
WW == Warren Woodward [EMAIL PROTECTED] writes: WW For the record, I am in the exact same bind... as are most WW people with RH 8.0, I'd imagine. Is it really related to RH8.0? I've certainly never been able to reproduce it on RH7.3, which is all I have available at the moment. If so, then we need to figure out what's different about RH8.0. Here are some questions: - Are you using the standard Python from RH8 or did you build it from source? - If your Python comes from an RPM, did you install just the standard package or did you also install the devel package? - Do you see any other errors from a make install of Mailman 2.1? Look very carefully, especially where the distutils packages are being installed. - Does your /usr/local/mailman/pythonlib have both a korean subdir and a korean.pth file? -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On Tue, Dec 31, 2002 at 12:39:54PM -0500, Barry A. Warsaw wrote: - Are you using the standard Python from RH8 or did you build it from source? Standard Python from RH 8.0. - If your Python comes from an RPM, did you install just the standard package or did you also install the devel package? I didn't intentionally install the devel package. I don't believe it's there (can't check at the moment). - Do you see any other errors from a make install of Mailman 2.1? Look very carefully, especially where the distutils packages are being installed. Not that I can see. Here's a tee of it: http://home.thescratchpad.net/mminstall.txt - Does your /usr/local/mailman/pythonlib have both a korean subdir and a korean.pth file? It has neither. In fact, it's quite empty (hadn't noticed that before). Note also that RH (for whatever reason) uses /var/mailman as the default install path, so I built the upgrade to use the same. I attempted an alternate installation in the /usr/local/mailman/, but obviously, had the same error. -- warren woodward XMission DSL [EMAIL PROTECTED] (801) 303-0819 (877) XMISSION The United States, as the world knows, will never start a war. -JFK, American University, June 10, 1963 -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On 31 Dec 2002 at 12:29, Barry A. Warsaw wrote: Do you see any errors in the make output before the line about the korean package? No Also, look in /usr/local/mailman/pythonlib. You should see both a korean subdir and a file called korean.pth. That directory is empty. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
chaim == [EMAIL PROTECTED] writes: chaim On 31 Dec 2002 at 12:29, Barry A. Warsaw wrote: Do you see any errors in the make output before the line about the korean package? chaim No Also, look in /usr/local/mailman/pythonlib. You should see both a korean subdir and a file called korean.pth. chaim That directory is empty. Okay so the distutils installation in the misc directory is failing. The question is, why? Can you do the following: % make distclean % configure (with whatever options you used) % make install And send me the output. Hopefully there's a clue in the make output. Thanks, -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
WW == Warren Woodward [EMAIL PROTECTED] writes: - Do you see any other errors from a make install of Mailman 2.1? Look very carefully, especially where the distutils packages are being installed. WW Not that I can see. Here's a tee of it: WW http://home.thescratchpad.net/mminstall.txt Thanks. Okay, I believe that the distutils install is failing, but the make output gives no clue as to why. Can you do the following for me at the shell: % cd source directory % cd misc % gunzip -c email-2.4.3.tar.gz | tar xf - % cd email-2.4.3 % umask 02 % PYTHONPATH=/var/mailman/pythonlib /usr/bin/python setup.py install --install-lib /var/mailman/pythonlib --install-purelib /var/mailman/pythonlib --install-data /var/mailman/pythonlib And please send me the output. Thanks, -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
Hmm. I think I'm back to blaming Red Hat. _ [root@home email-2.4.3]# PYTHONPATH=/var/mailman/pythonlib /usr/bin/python setup.py install --install-lib /var/mailman/pythonlib --install-purelib /var/mailman/pythonlib --install-data /var/mailman/pythonlib running install Traceback (most recent call last): File setup.py, line 38, in ? cmdclass={'install_lib': EmailInstall}, File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/core.py, line 138, in setup File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/dist.py, line 893, in run_commands File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/dist.py, line 912, in run_command File /usr/lib/python2.2/cmd.py, line 112, in ensure_finalized return stop File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/command/install.py, line 267, in finalize_options File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/sysconfig.py, line 408, in get_config_vars File /usr/src/build/143041-i386/install/usr/lib/python2.2/distutils/sysconfig.py, line 313, in _init_posix distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory) -- warren woodward XMission DSL [EMAIL PROTECTED] (801) 303-0819 (877) XMISSION The United States, as the world knows, will never start a war. -JFK, American University, June 10, 1963 -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On 31 Dec 2002 at 14:39, Barry A. Warsaw wrote: Okay so the distutils installation in the misc directory is failing. The question is, why? Can you do the following: % make distclean % configure (with whatever options you used) % make install And send me the output. Hopefully there's a clue in the make output. [mailman@www mailman-2.1]$ make clean make[1]: Entering directory `/usr/local/mailman/mailman-2.1/bin' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/bin' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/cron' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/cron' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/misc' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/misc' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/Mailman' for d in Cgi Logging Archiver Handlers Bouncers Queue MTA Gui Commands; \ do \ (cd $d; make clean); \ done make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Cgi' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Cgi' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Logging' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Logging' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Archiver' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Archiver' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Handlers' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Handlers' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Bouncers' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Bouncers' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Queue' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Queue' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/MTA' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/MTA' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Gui' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Gui' make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Commands' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/local/mailman/mailman- 2.1/Mailman/Commands' make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/Mailman' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/scripts' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/scripts' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/src' rm: cannot lstat `*.o': No such file or directory make[1]: [clean] Error 1 (ignored) make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/src' make[1]: Entering directory `/usr/local/mailman/mailman- 2.1/templates' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/templates' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/messages' rm -f marked.files docstring.files make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/messages' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/tests' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/tests' rm -f update.log [mailman@www mailman-2.1]$ WWWHOST=lists.indigo-confederation.com [mailman@www mailman-2.1]$ MAILHOST=mail.indigo-confederation.com [mailman@www mailman-2.1]$ export WWWHOST MAILHOST [mailman@www mailman-2.1]$ make distclean make[1]: Entering directory `/usr/local/mailman/mailman-2.1/bin' rm Makefile make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/bin' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/cron' rm Makefile crontab.in make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/cron' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/misc' rm Makefile paths.py mailman rm -rf email-2.4.3 JapaneseCodecs-1.4.9 KoreanCodecs-2.0.5 make[1]: Leaving directory `/usr/local/mailman/mailman-2.1/misc' make[1]: Entering directory `/usr/local/mailman/mailman-2.1/Mailman' rm Makefile Defaults.py mm_cfg.py.dist rm *.pyc rm: cannot lstat `*.pyc': No such file or directory make[1]: [distclean] Error 1 (ignored) for d in Cgi Logging Archiver Handlers Bouncers Queue MTA Gui Commands; \ do \ (cd $d; make distclean); \ done make[2]: Entering directory `/usr/local/mailman/mailman- 2.1/Mailman/Cgi' rm *.pyc rm: cannot lstat `*.pyc': No such file
Re: [Mailman-Users] No module named korean
Thanks, that's actually very helpful. Okay, next, try this: % python Python 2.2.2 (#1, Oct 14 2002, 19:51:36) [GCC 2.96 2731 (Red Hat Linux 7.3 2.96-112)] on linux2 Type help, copyright, credits or license for more information. import distutils.sysconfig len(distutils.sysconfig.get_config_vars()) 123 I don't care what the number is, I just care if you get an exception or not. If not, then I'll be really confused. If you do get an exception, then I know what to add to configure to catch this problem, but it essentially means you'll have to install the python-devel package to get the needed files. I think it looks like RedHat changes their Python RPMs again. Sigh. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
WW == Warren Woodward [EMAIL PROTECTED] writes: WW Hmm. I think I'm back to blaming Red Hat. Me too. See my followup to Chaim. I'm betting (hoping) that if you install the python-devel package, it'll work for you. Unfortunately, configure had a catch for this, but it looks like RH changed their packages again and that catch doesn't work. Should be easy to fix. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
On 31 Dec 2002 at 15:15, Barry A. Warsaw wrote: Thanks, that's actually very helpful. Okay, next, try this: % python Python 2.2.2 (#1, Oct 14 2002, 19:51:36) [GCC 2.96 2731 (Red Hat Linux 7.3 2.96-112)] on linux2 Type help, copyright, credits or license for more information. import distutils.sysconfig len(distutils.sysconfig.get_config_vars()) 123 I don't care what the number is, I just care if you get an exception or not. If not, then I'll be really confused. If you do get an exception, then I know what to add to configure to catch this problem, but it essentially means you'll have to install the python-devel package to get the needed files. I think it looks like RedHat changes their Python RPMs again. Sigh. -Barry [mailman@www mailman-2.1]$ python Python 2.2.1 (#1, Aug 30 2002, 12:15:30) [GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2 Type help, copyright, credits or license for more information. import distutils.sysconfig len(distutils.sysconfig.get_config_vars()) Traceback (most recent call last): File stdin, line 1, in ? File /usr/src/build/143041- i386/install/usr/lib/python2.2/distutils/sysconfig.py, line 408, in get_config_vars File /usr/src/build/143041- i386/install/usr/lib/python2.2/distutils/sysconfig.py, line 313, in _init_posix distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory) [mailman@www mailman-2.1]$ -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
Could folks who are having these no korean package problems please try the following configure script? If I'm right about the problem, this should bomb out with an error pretty early on. If it does, please install the python-devel package and see if that fixes your problems. If we can resolve this in the next couple of hours, I can upload a new tarball before the release announcement. Thanks! -Barry #! /bin/sh # From configure.in Revision: 2.37 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_default_prefix=/usr/local/mailman ac_help=$ac_help --with-pythonspecify path to Python interpreter ac_help=$ac_help --without-gcc never use gcc ac_help=$ac_help --with-var-prefix directory for mutable data [/var/mailman] ac_help=$ac_help --without-permcheck skip the check for target directory permissions ac_help=$ac_help --with-username specify a user name other than \mailman\ ac_help=$ac_help --with-groupname specify a group name other than \mailman\ ac_help=$ac_help --with-mail-gid group name mail programs run as ac_help=$ac_help --with-cgi-gid group name CGI programs run as ac_help=$ac_help --with-cgi-ext specify extension for CGI programs (include dot) ac_help=$ac_help --with-mailhost specify the hostname part for outgoing email ac_help=$ac_help --with-urlhost specify the hostname part of urls # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache exec_prefix=NONE host=NONE no_create= nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= target=NONE verbose= x_includes=NONE x_libraries=NONE bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 ac_prev= for ac_option do # If the previous option needs an argument, assign it. if test -n $ac_prev; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in -*=*) ac_optarg=`echo $ac_option | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) ac_optarg= ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` # Reject names that are not valid shell variable names. if test -n `echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`; then { echo configure: error: $ac_feature: invalid feature name 12; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` eval enable_${ac_feature}=no ;; -enable-* | --enable-*) ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` # Reject names that are not valid shell variable names. if test -n `echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`; then { echo configure: error: $ac_feature: invalid feature name 12; exit 1; } fi ac_feature=`echo $ac_feature| sed 's/-/_/g'` case $ac_option in *=*) ;; *) ac_optarg=yes ;; esac eval enable_${ac_feature}='$ac_optarg' ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* |
Re: [Mailman-Users] No module named korean
On Tue, Dec 31, 2002 at 03:23:28PM -0500, Barry A. Warsaw wrote: Content-Description: message body text Could folks who are having these no korean package problems please try the following configure script? If I'm right about the problem, this should bomb out with an error pretty early on. If it does, please install the python-devel package and see if that fixes your problems. It did: _ [root@home mailman-2.1rc1]# ./configure loading cache ./config.cache checking for --with-python... no checking for python... (cached) /usr/bin/python checking Python interpreter... /usr/bin/python checking Python version... 2.2.1 checking that Python has distutils... configure: error: * Distutils is not available or is incomplete for /usr/bin/python * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details _ I'll compile Python from source in a bit here and try again. -- warren woodward XMission DSL Domo/Mailman [EMAIL PROTECTED] (801) 303-0819 (877) XMISSION The United States, as the world knows, will never start a war. -JFK, American University, June 10, 1963 -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
Thanks, I'm going to make this change to the 2.1 tarball. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No module named korean
BAW == Barry A Warsaw [EMAIL PROTECTED] writes: BAW Thanks, I'm going to make this change to the 2.1 tarball. I've just uploaded a new tarball and am about to make the announcements. I've tested the new configure script as best I can on RH 7.3 and it seems to do the trick (I tried removing and adding the python2-devel package). Thanks all who helped, and have a great new year. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org