Re: Compiling python from soruce vs RPM ?

2007-04-18 Thread howa
On Apr 19, 6:10 am, Paul Boddie <[EMAIL PROTECTED]> wrote:
>
> Since /usr/bin/python isn't found, it doesn't look like there's an
> existing version of Python that you might overwrite, but it's
> important to verify such things when installing software. That's where
> your distribution's packages have an advantage, and it's arguably a
> better idea to install such packages instead, possibly building them
> from source if no binary packages exist yet for Python 2.5. (If no
> source packages exist, you have a bit more work to do.)
>
> Paul


Thanks.


One more question:

How to uninstall using the source package?

the source package doesn't come with `make uninstall`?




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Compiling python from soruce vs RPM ?

2007-04-19 Thread howa
On 4月19日, 下午5時49分, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 19 Apr, 04:39, howa <[EMAIL PROTECTED]> wrote:
>
>
>
> > One more question:
>
> > How to uninstall using the source package?
>
> > the source package doesn't come with `make uninstall`?
>
> Right. That's another pitfall of most source distributions (ie. the
> Python sources from python.org) compared to system packages (ie. the
> package built from a source RPM or equivalent system source package).
> If you want a really quick solution to this which seems to work much
> of the time, look at checkinstall:
>
> http://asic-linux.com.mx/~izto/checkinstall/
>
> This tool will make system packages by taking control of the usual
> build process, and you can then install and uninstall those system
> packages.
>
> Paul

but i have the source package being installed...so any method/script
to remove them?

since finally i want to install via RPM ...

thanks anyway

-- 
http://mail.python.org/mailman/listinfo/python-list

Compiling python from soruce vs RPM ?

2007-04-18 Thread howa
I have compiled python 2.5 from source

i.e.

./configure
make
make install


but when i try to install another package require python, seems it
can't regonize python...

e.g..


/usr/bin/python is needed by xyz

-- 
http://mail.python.org/mailman/listinfo/python-list

Beginner question

2008-05-25 Thread howa
Hi,

Just want to try mod_python but it is more complicated then I
expected...

I just followed the tutorial on: 
http://www.modpython.org/live/mod_python-2.7.8/doc-html/inst-testing.html


E.g.

URL = http://www.example.com/mptest.py

It return

ImportError: No module named mptest

1. If I removed addHandler mod_python .py and PythonHandler mptest, I
can see the SOURCE CODE

2. The PythonHandler mod_python.testhandler seems return correct
result, showing I am using python 2.4.3


any idea?

Thanks.
--
http://mail.python.org/mailman/listinfo/python-list