[Pythonmac-SIG] python 2.4.2 source builds 2.4.1?

Samuel M. Smith smithsm at samuelsmith.org
Mon Jan 9 06:20:38 CET 2006


I next tried removing the old 2.4.1 installation by changing the name  
of the directory
/library/frameworks/python.framework/versions/2.4 to 2.4a

I then did a ./configure and make
I tried to run ./python.exe and got the following error
AlBook:/install/python/macpython/python2.4.2/python-2.4.2 smithsm$ ./ 
python.exe
dyld: Library not loaded: /Library/Frameworks/Python.framework/ 
Versions/2.4/Python
   Referenced from: /Install/Python/MacPython/Python2.4.2/ 
Python-2.4.2/./python.exe
   Reason: image not found
Trace/BPT trap

so apparently I can't run the python.exe without the framework fully  
installed so I did
sudo make install
and got this error

Framework build: use "make frameworkinstall" in stead of "make install"
make: *** [altbininstall] Error 1

so I tried
sudo make frameworkinstall

and this worked.

So the real way to build 2.4.2 is first removed any previous 2.4.x  
builds then
run
./configure --enable-framework
make
sudo make frameworkinstall

this is different from every instruction I have seen. Nobody has ever  
said use make framworkinstall.
So either everyone else is wrong or I am missing something important.

Also it really is a pain to remove the old installation since I then  
have to reinstall every singe package that I installed
in the previous 2.4.x installation. I thought the whole ideas was  
that I could upgrade to a newer 2.4.x without removing the old one.

Help would be much appreciated!

Has no one else actually installed 2.4.2 on os x 10.4.3?


On 08 Jan, 2006, at 21:44, Samuel M. Smith wrote:

>
> On 08 Jan, 2006, at 21:32, Samuel M. Smith wrote:
>
>> I downloaded Python-2.4.2.tgz expanded it into the directory
>> Python-2.4.2
>> I cd in python-2.4.2 and run
>>
>> ./configure --enable--framework
>> make
>
> excuse the typo here I actually ran
> ./configure --enable-framework
>
> I have os x 10.4.3 I had previously installed 2.4.1 using the package
> installer on undefined.org
>
>>
>> this creates a file in the python-2.4.2 directory called python.exe
>> if I run
>> ./python.exe
>> I get the following prompt
>> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
>> Type "help", "copyright", "credits" or "license" for more  
>> information.
>>
>> If I do sudo make install I still get python 2.4.1 prompt
>> Is this an error?
>> What is happening here. Why don't I get 2.4.2
>>
>>
>>
>> ********************************************************************* 
>> *
>> Samuel M. Smith Ph.D.
>> 2966 Fort Hill Road
>> Eagle Mountain, Utah 84043
>> 801-768-2768 voice
>> 801-768-2769 fax
>> ********************************************************************* 
>> *
>> "The greatest source of failure and unhappiness in the world is
>> giving up what we want most for what we want at the moment"
>> ********************************************************************* 
>> *
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
> **********************************************************************
> Samuel M. Smith Ph.D.
> 2966 Fort Hill Road
> Eagle Mountain, Utah 84043
> 801-768-2768 voice
> 801-768-2769 fax
> **********************************************************************
> "The greatest source of failure and unhappiness in the world is
> giving up what we want most for what we want at the moment"
> **********************************************************************
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84043
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************



More information about the Pythonmac-SIG mailing list