Re: ask-2.5.0-1 and Python 2.3?

Erez Zadok <[email protected]> Mon, 14 Mar 2005 12:33:32 -0500
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <[email protected]>
In message <[email protected]>, Marco Paganini writes:
> Hi Erez,
> 
> It should not be a problem. I'll investigate it here.

Marco, here's another interesting point of info in addition to the python2.3
issue.  The ask.py script is exec'ed with:

#!/usr/bin/env python2.2

This didn't work for me, even if the "python2.2" program was found in my
path.  This was the case whether I installed the python-2.2 compatibility
RPMs on my machine (in /usr/bin), or hand-built python-2.2.3 from sources
and installed it in /usr/local/bin.  I had to change the exec to list the
full path of python:

#!/usr/local/bin/python2.2

To be precise, the use of /usr/bin/env didn't work for me when python was
exec'ed by sendmail from my .forward.  But it did work if hand-exec'ed
ask.py.

So maybe there's something different about the 'env' program and sendmail on
RHEL4?

Thanks,
Erez.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click