yaya wrote:
Hi all!
I just downloaded the 'Python2.2.2.tar' file and as I am a new user I have no
idea on how to install it. I have successfully extracted the compressed file.
The Readme file that came along with states the following:
To start building right away (on UNIX): type ./configure in the
current directory and when it finishes, type make. This creates an
executable ./python; to install in /usr/local, first do su root
and then make install.
This confuses me as it doesn't explain in any depth what one is supposed to
do.
Can anyone assist me?
Regards
budest
You downloaded a tar ball and if you have successfully decompressed and
detarred
it you ought to be left with a Python2.2.2 file .
Your system needs a compiler, these will usually be on your CD's 1-3
and go by various versions beginning gcc , you need to have this installed.
Provided that you gcc compiler is the correct version and it is installed
you merely follow the commands listed above in a bash shell terminal, best
to do it as root. So,
[root@localhost root]#cd directory sources
[root@localhost python2.2.2]#./configure
this command makes the compiler look at all your computer setup
and look to see what is there and what is not there.Watch closely
the error messages, to help me I divert the error messages, like
this
[root@localhost python2.2.2]#./configure 2 /roor/Desktop/errorlog1
then,
[root@localhost python2.2.2]#make
this command attempts to build the executable, special watch should
be made to see what fails, indeed to help me I divert error messages
like this
[root@localhost python2.2.2]#make 2 /root/Desktop/errorlog2
because I'm not very experienced at judging what is an error message
and what is not.Then depending on what happens here you proceed to
the install,
[root@localhost python2.2.2]make install
In your info above I'm not sure what ./python does , looks like
you replace ./configure with ./python, but just experiment, it will either
work or it will not, you cannot do too much harm.
Be warned , once installed tar balls don't usually come with any
automatic means of removal. So if possible look for rpm versions
of the same programme as these are easy to remove.Take
a look at www.rpmfind.net to see if there are any available
in thecorrect versions, I happen to know that there are many
Python versions there, indeed you should also checkout your
mandrake CD's 1-3 because you almost certainly have a
good Python choices there as well.
So you are interested in learning python scripting then ?
John
--
John Richard Smith
[EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com