[Mailman-Developers] 'make install' error in cvs

Barry A. Warsaw barry@zope.com
Sat, 25 May 2002 12:04:46 -0400


>>>>> "DG" == David Gibbs <david@midrange.com> writes:

    DG> I just updated cvs and ran 'make install', and got the
    DG> following error ...

    DG> make[1]: Entering directory
    DG> `/root/mailman-2.1-beta/mailman/misc' for p in email-2.0.4
    DG> JapaneseCodecs-1.4.5 KoreanCodecs-2.0.4; \ do \
    DG>     gunzip -c $p.tar.gz | tar xf -; \ (cd $p ;
    DG> PYTHONPATH=/usr/local/mailman/pythonlib /usr/bin/python2
    | setup.py --quiet install --install-lib
    | /usr/local/mailman/pythonlib --install-purelib
    | /usr/local/mailman/pythonlib); \
    | done
    DG>   File "/usr/local/mailman/pythonlib/email/_compat22.py", line
    DG> 21 yield self ^
    | SyntaxError: invalid syntax
    | ^C [ I killed it at this point ]
    | interrupted
    | make[1]: *** [install-packages] Error 1
    | make: *** [doinstall] Interrupt

    DG> Ideas?

Yup, it's part of the (in)compatibility hacks to make the email
package work with both python2.1 and python2.2.

Question: why did you "kill it at this point"?  Did the installation
process hang for you?

I believe that if you just ignore this error everything should still
work for you.  You can verify this by cd'ing to
/root/mailman-2.1-beta/mailman/misc/email-2.0.4 and typing:

    % PYTHONPATH=/usr/local/mailman/pythonlib python test.py

If you see no errors, you're good to go.  Let me know if you do get
errors.

I'll have to figure out a way to get distutils to not try to compile
the _compat22.py file. :(

-Barry