471,616 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

Installing Python on a 64-Bit OS

Hi there,

I'd like to install Python 2.3.5. on a 64-Bit OS (Suse Linux Enterprise
Server 10) on an AMD Opteron 64-Bit machine.
I have to use Python 2.3.5.

Do I need a special source archive or can I use "Python-2.3.5.tgz" from
http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz ?

Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?

Regards,
Nico
Sep 19 '06 #1
4 2083
Nico Grubert wrote:
Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
It is as easy. Look around, you'll probably find a pre-built binary
package for your OS.
Sep 19 '06 #2
Nico Grubert wrote:
I'd like to install Python 2.3.5. on a 64-Bit OS (Suse Linux Enterprise
Server 10) on an AMD Opteron 64-Bit machine.
I have to use Python 2.3.5.

Do I need a special source archive or can I use "Python-2.3.5.tgz" from
http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz ?

Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
On this platform, it should be easy to build from the sources as gcc
builds 64 bit programs by default.

On some platforms (Solaris/Sparc, AIX, HP-UX/PA-RISC), the compiler
defaults to 32bit programs. You then have to convince configure to use
the right CFLAGS. The exact technique might differ from configure to
configure: some require an option, some require an environment variable.
Tip: create wrapper scripts for the compiler (and possibly ld and ar),
which uses the proper options. Add the location of these scripts at the
start of PATH, thus overiding the compiler. Now all configures will
default to 64 bit.

Daniel

Sep 19 '06 #3
Nico Grubert schrieb:
Is there anything special I have to care about or is installing Python
on a 64 Bit OS just as easy as installing it on a 32-Bit OS?
Despite what everybody else said: most likely, special care is
necessary. However, nobody probably knows what precisely you need
to be aware of.

Several changes have been made to Python 2.4 and 2.5 to support
AMD64-Linux better, and not all of these changes have been
incorporated into Python 2.3, as this software is no longer
maintained.

My advise is just to try building it, run the test suite, and
see whether it passes. If it fails to compile or pass the
test suite, post a message with the specific problem - hopefully,
somebody will remember how it was fixed.

As others have said: you should really try to use the python 2.4
that comes with the operating system. Can you share the reason why
you have to use Python 2.3?

Regards,
Martin
Sep 19 '06 #4
Several changes have been made to Python 2.4 and 2.5 to support
AMD64-Linux better, and not all of these changes have been
incorporated into Python 2.3, as this software is no longer
maintained.
As others have said: you should really try to use the python 2.4
that comes with the operating system. Can you share the reason why
you have to use Python 2.3?
I actually should use the Python 2.3.5 for an application server called
"Zope" and a Zope product that officially does not support the latest
Zope version yet. The latest stable Zope version requires Python 2.4.2
so I'll installed Python 2.4.3. and I am trying to get it running.

Thanks for the tips.

Nico
Sep 21 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by freesteel | last post: by
5 posts views Thread by Cappy2112 | last post: by
reply views Thread by Martijn de Munnik | last post: by
11 posts views Thread by John Nagle | last post: by
7 posts views Thread by Yansky | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.