[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RAQ2] Python Install Successful
- Subject: [cobalt-users] [RAQ2] Python Install Successful
- From: Dennis <dkc@xxxxxxxxxxxxx>
- Date: Wed Jan 19 14:36:04 2000
Hello-
Recently and in the past people have asked about Python on a RaQ2. I
just finished compiling Python from source (Latest version 1.5.2). Below
are the instructions (It was quick and easy!):
1. Download py152.tgz from http://www.python.org
2. Upload py152.tgz to server. Move to /root (See Comments Below).
3. As root - cd /root
4. Type: tar -xzvf py152.tgz
5. Type: cd Python-1.5.2
6. Type: ./configure --prefix=/usr --exec-prefix=/usr (See Comments
Below)
7. Type: make
8. Type: make test
9. Type: make install
The installation went through on my RaQ2 seamlessly. Regarding Step #2
you can move the source code to almost any directory, but I like to put
my source code in /root. Regarding Step #6 you must specify the correct
directories to install python into. Also at this point you can add other
modules. Refer to the README.
To run python scripts make sure to name them with the .cgi extension and
have #!/usr/bin/python at the top of all your scripts.
Disclaimer: The usual. This will probably "void" your warranty with
Cobalt. It worked for me, but I don't guarantee that it will work for
you.
Hope this helps.
-Dennis