Author: bugman Date: Wed Aug 14 18:53:13 2013 New Revision: 20592 URL: http://svn.gna.org/viewcvs/relax?rev=20592&view=rev Log: Updated the Mac Framework setup document to help with scipy compilation problems. Modified: trunk/docs/Mac_framework_build_3way Modified: trunk/docs/Mac_framework_build_3way URL: http://svn.gna.org/viewcvs/relax/trunk/docs/Mac_framework_build_3way?rev=20592&r1=20591&r2=20592&view=diff ============================================================================== --- trunk/docs/Mac_framework_build_3way (original) +++ trunk/docs/Mac_framework_build_3way Wed Aug 14 18:53:13 2013 @@ -34,7 +34,12 @@ $ PATH=/usr/local/bin/:$PATH C_INCLUDE_PATH=/sw/include/suitesparse/ ~/bin/python2.7 setup.py install -The PATH option is needed if gfortran is located in both /usr/local/bin/ and /sw/bin/. The C_INCLUDE_PATH may be needed if the suitesparse header files cannot be found. +The PATH option is needed if gfortran is located in both /usr/local/bin/ and /sw/bin/. The C_INCLUDE_PATH may be needed if the suitesparse header files cannot be found. If you still encounter swig problems finding the umfpack_*.h files, then manually type: + +$ swig -I/sw/include/suitesparse/ -python -o build/src.macosx-10.5-fat3-2.7/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c -outdir build/src.macosx-10.5-fat3-2.7/scipy/sparse/linalg/dsolve/umfpack scipy/sparse/linalg/dsolve/umfpack/umfpack.i +$ PATH=/usr/local/bin/:$PATH C_INCLUDE_PATH=/sw/include/suitesparse/ ~/bin/python2.7 setup.py install + +The swig command will build the Scipy part requining the umfpack_*.h files, and then the python command will continue happily.