[Mailman-Users] mailman install problem - Solaris

Mark Sapiro msapiro at value.net
Wed Jan 24 04:55:31 CET 2007


Piniella, David A wrote:
>
>I did a make distclean, a new configure, patched, verified that my =
>$prefix/pythonlib/ dir had no korean dir (a japanese dir though) and =
>then make and make install and this is where it breaks:
>
>(a lot of listing and compiling, well after where it was breaking before =
>and then )
>Compiling /usr/local/mailman/Mailman/htmlformat.py ...
>Compiling /usr/local/mailman/Mailman/i18n.py ...
>Compiling /usr/local/mailman/Mailman/mm_cfg.py ...
>Compiling /usr/local/mailman/Mailman/versions.py ...
>Traceback (most recent call last):
>  File "bin/update", line 46, in ?
>    import paths
>  File "/usr/local/mailman/bin/paths.py", line 60, in ?
>    import korean
>ImportError: No module named korean
>make: *** [update] Error 1
>bash-3.00#


So mailman got completely installed and got to the last step which is
running bin/update to update the previously existing installation if
any. If this is a brand new install, you're done except there is a
problem with importing the korean codecs.

Things to check (although I don't know how your later Python update may
fit in)

Is there now a /usr/local/mailman/pythonlib/korean/ (installed by the
last make install)? Does it have at least mappings/ and python/
subdirectories and do all three of these directories including korean/
itself have several .py and .pyc files including a __init__.py and
__init__.pyc in each? Also is there a file
/usr/local/mailman/pythonlib/korean.pth?

Does /usr/local/mailman/bin/paths.py contain among other things

prefix = '/usr/local/mailman'

and later on

# We also need the pythonlib directory on the path to pick up any
overrides of
# standard modules and packages.  Note that these must go at the front
of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))

If all the above is true, I can't understand the error.


>Could this be because I am using Python 2.3.5 or my python doesn't have
>the korean module?


It's not supposed to be.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list