Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1110437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:23:45+00:00 2026-05-17T02:23:45+00:00

I would like to install Python 2.5.5 to use with Google apps but have

  • 0

I would like to install Python 2.5.5 to use with Google apps but have been having a very hard time tracking down instructions on how to do so. I am thinking the following might work but was wondering if anyone had successfully built it?

./configure --prefix=/usr/local/python2.5.5 MACOSX_DEPLOYMENT_TARGET=10.6 --enable-framework --with-universal-archs="64-bit" CFLAGS="-arch x86_64" LDFLAGS="-arch x86_64"

~: make -j6

~: sudo make install

Any help is appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:23:46+00:00Added an answer on May 17, 2026 at 2:23 am

    Python 2.5 does not build correctly out of the box on Mac OS X 10.6. (It does build OK as is on 10.5 or 10.4, though.) There is at least one configure fix that needs to be backported from later Pythons. And you need to use gcc-4.0, not -4.2. Once you have extracted the source:

    cd ./Python-2.5.5/
    cat >patch-configure-for-10-6.patch <<EOF
    --- configure.O 2008-12-13 06:13:52.000000000 -0800
    +++ configure   2010-09-29 10:16:05.000000000 -0700
    @@ -2039,7 +2039,11 @@
       # disables platform specific features beyond repair.
       # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
       # has no effect, don't bother defining them
    -  FreeBSD/4.* | Darwin/[6789].*)
    +  FreeBSD/4.*)
    +    define_xopen_source=no;;
    +  Darwin/[6789].*)
    +    define_xopen_source=no;;
    +  Darwin/1[0-9].*)
         define_xopen_source=no;;
       # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
       # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
    EOF
    patch < patch-configure-for-10-6.patch
    export CC=/usr/bin/gcc-4.0
    ./configure --prefix=/usr/local --enable-framework MACOSX_DEPLOYMENT_TARGET=10.6
    make
    sudo make install
    

    Then there are various less obvious build issues like third-party libraries that are needed for all of the standard library modules to build and work as expected – GNU readline and bsddb come to mind – so there is no guarantee that you won’t run into other problems.

    $ python2.5
    Python 2.5.5 (r255:77872, Sep 29 2010, 10:23:54) 
    [GCC 4.0.1 (Apple Inc. build 5494)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    Module readline not available.
    >>> 
    

    You could try using the installer build script in the source tree (in Mac/BuildScript/) but it will likely need to be patched to work correctly on 10.6.

    Even though there is no official python.org installer for 2.5.5 (which just has security fixes), there is an OS X installer for 2.5.4 which works fine on 10.6. Or use the Apple-supplied 2.5.4. Or try MacPorts. It will be nice when GAE is supported on current Python versions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to install application in google tv emulator, but it don't install
I would like to use pysqlite interface between Python and sdlite database. I have
I have been trying to use Eclipse 3.6 as a Python editor. I install
I use Kodingen.com to test python scripts. I would like to install new python
I would like to install Jobberbase in my website. I have a hosting plan
I would like to install a gem (JSON) on the client side, but only
I have a centos server and would like to install selenium, primarily for taking
I have a Python module that I would like to upload to PyPI. So
I would like to try out the Google App Engine Python environment, which the
I would like to have an interface between Python and sqlite. Both are installed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.