On Mon, 26 May 2003, Andrew Straw wrote:
Hi All,
I've seen a few requests for help compiling scipy on Mac OS X. As I just did this again and it's fresh in my mind, let me describe what I did. This was with Python2.3b1 that I compiled myself.
0) Don't set MACOSX_DEPLOYMENT_TARGET environment variable to 10.2 -- it doesn't play nicely with g77 1) Install g77 and atlas using fink. (Make sure g77 is on your path.) 2) Get scipy from CVS (I checked out the head version yesterday)
I guess you forgot to mention that scipy building process requires also f2py2e. Currently the following steps can be recommended: 2.1) Get scipy from CVS 2.2) Install scipy_core: cd scipy_code && python setup.py install This step is required to avoid any possible conflicts with older version of scipy_distutils that is shipped with f2py2e tar-ball. 2.3) Get the latest f2py2e (either as tar-ball or from CVS) and install it. I believe that f2py2e is available also through fink.
3) Rename sample_site.cfg to site.cfg in the scipy_core/scipy_distutils directory. 4) Add /sw/lib to library_dirs and /sw/include to include_dirs in the DEFAULT section of site.cfg (This will cause scipy to use atlas installed by fink.) 5) Remove xplt from setup.py (various tk dependency errors I didn't bother to fix) 6) python setup.py build 7) sudo python setup.py install
Pearu