[edit] Sorry if this is coming through twice but I sent it yesterday and
still don't see it on the list [end edit]

OK for what ever reason tmda-ofmipd is looking for Python differently than
other tmda apps.

Here's my setup.
Red Hat 7.2
tmda 0.61
Python 1.5 installed in
/usr/bin/

Python 2.2 installed in
/usr/local/bin

Now on all other tmda apps I've had to make no change.  They all work just
fine.  tmda-ofmipd however would not start up at all.  I got syntax errors
because it was trying to use Python 1.5 in /usr/bin.

I then changed the first line in tmda-ofmipd from
#!/usr/bin/env python
to
#!/usr/local/bin/python

But that alone did not fix it.  I then renamed /usr/bin/python to
/usr/bin/python.sav and suddenly tmda-ofmipd works.

This tells me tmda-ofmipd is looking first in /usr/bin/ for python and
then in /usr/local/bin.

I can duplicate once the daemon is running.  If I have a client send and
email it works just fine.  Howver if I rename /usr/bin/python.sav back to
/usr/bin/python the client can no longer send emails because tmda-ofmipd
will give syntax errors because it has executed the old python 1.5 in
/usr/bin/.  However when python is renamed to python.sav in /usr/bin/
tmda-ofmipd doesn't find it, moves on and finds the correct python in
/usr/local/bin.

How can I fix this?  I need python 1.5 because a lot of Red Hat's apps use
it.  Including up2date and some others.  The Red Hat apps however don't
work with python 2.2 (possably because I need additional modules or
whatever).

Thanks for any help.

Malcolm
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to