[Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework

Samuel M. Smith smithsm at samuelsmith.org
Fri Aug 19 04:37:15 CEST 2005


How do I get it to include the g77 install which it needs to build?

On 12 Aug, 2005, at 13:47, Chris Barker wrote:

>
>
> Samuel M. Smith wrote:
>
>> The gcc 3.3 issue was the key. Thanks for help.
>>
>> Below is a list of what I did.
>>
>> Could someone take these directions and create a pkg installer for
>> scipy? So others can just double click to install?
>>
>
> Great idea..why not you? py2app bdist_mpkg is fabulous. If you can  
> run:
>
> python setup.py build
>
> then you should be able to run
>
> bdist_mpkg
>
> and have it build a package for you. The trick is shared libs. When I
> did this for matplotlib, I ended up making sure the libs it needed  
> were
> statically linked.
>
> -good luck!
>
>
>
>> ******************
>> scipy installation instruction for framework python 2.4.1 on OS X  
>> 10.4.2
>>
>> Get the following files
>> http://pythonmac.org/packages/Numeric-23.7-py2.4-macosx10.3.zip
>> http://pythonmac.org/packages/numarray-1.1.1-py2.4-macosx10.3.zip
>> http://prdownloads.sf.net/hpc/g77v3.4-bin.tar.gz?download
>> http://www.fftw.org/fftw-2.1.5.tar.gz
>> http://prdownloads.sourceforge.net/aquaterm/AquaTerm1.0.b2.dmg
>> http://prdownloads.sourceforge.net/gnuplot/Gnuplot-4.0.0.dmg
>> http://ipython.scipy.org/tmp/scipy_cvs_2005-07-29.tgz
>>
>> Make sure framework python 2.41 is default python by putting
>> /usr/local/bin at the front of shell PATH variable
>>
>> Install Numeric 23.7 from pkg installer
>> Install numarray 1.1.1 from pkg installer
>>
>> Set default gcc compiler to version 3.3 this must be so for
>> compatibility with g77 fortran compiler used in scipy
>>
>>
>>> sudo gcc_select 3.3
>>>
>>
>> Install g77 3.4
>>
>>> sudo tar -xvf g77v3.4-bin.tar -C /
>>>
>>
>> Install fftw 2.1.5
>>
>>
>>> tar -xvzf fftw-2.1.5.tar.gz (or tar -xvf if it has already been
>>>
>> gunzipped)
>>
>>> cd fftw*
>>> ./configure
>>> make
>>> sudo make install
>>>
>>
>>
>> Install F2PY 2.1.5
>>
>>> tar -xvzf F2PY-2-latest.tar.gz
>>> cd  F2PY*
>>> sudo python setup.py install
>>>
>>
>> Install AquaTerm 1.0b2 from pkg installer
>>
>> Install GnuPlot 4.0 from pkg installer
>>
>> Untar the scipy_cvs_2005_07_29.tgx
>> cd to the scipy directory
>> Build and Install scipy
>>
>>
>>> python setup.py build
>>> sudo python setup.py install
>>>
>>
>> Test
>>
>>> python
>>>
>>>>> import scipy
>>>>> scipy.test()
>>>>>
>>
>> Expect that some tests will fail. The test function should  
>> complete OK.
>>
>> ********************************************
>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>
> NOAA/OR&R/HAZMAT         (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> 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