[Mailman-Users] mailman post mail to list error

Barry Finkel b19141 at britaine.ctd.anl.gov
Wed Apr 18 15:40:17 CEST 2007


Calvin Muller wrote:

>>When using Ubuntu and apt-get, it seems like there is no such directory as a
>>pytonlib. I don't know if it's called something else, but how do I install
>>the email module for python, your help is greatly appreciated.

and Mark Sapiro <msapiro at value.net> replied, in part:

>I can't help you with Ubuntu/Debian packaging issues per se. You should
>really contact Ubuntu/Debian and see if they have a fix/workaround/bug
>report for this issue, and if not, report it there.
>
>A normal Mailman installation from source contains a pythonlib/
>directory (note pythonlib, not pytonlib). This in turn contains the
>email package and possibly japanese and korean codecs packages.

There was a thread about pythonlib a few months ago, and I did some
research when I was building a Mailman 2.1.9 package for Ubuntu.
Here are dates and Subject lines for two threads:

     27 Sep 2006   Re: [Mailman-Users] Mail Man Help
     10 Jan 2007   Re: [Mailman-Users] us-ascii problem with new install in Ubuntu (SOLVED)

Basically, Debian change 242740 was created because at one time there
was a problem (or more than one) with the pythonlib, so the Debian
solution (incorrect) was to delete that library.  In the

     debian/rules

file there is this line:

     rmdir debian/$(package)/var/lib/mailman/pythonlib

When I first attempted the build using the 2.1.5 Debian rules and the
2.1.9 Mailman source, I received an error message stating that this
pythonlib was not empty and thus could not be removed.   I had to
comment this line in the debian/rules file to keep the directory.

Look at the two threads referenced above for more details.

This is one reason why I chose to build a Mailman 2.1.9 package for
Ubuntu from the 2.1.9 SourceForge source, and not rely on the source
that Debian/Ubuntu claims is 2.1.9.  In my case, I did not need
pythonlib, but I had no idea what other changes Debian/Ubuntu had made
to the source.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Information Systems Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994



More information about the Mailman-Users mailing list