mailr20571 - /trunk/docs/Mac_framework_build_3way


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 09, 2013 - 10:02:
Author: bugman
Date: Fri Aug  9 10:02:09 2013
New Revision: 20571

URL: http://svn.gna.org/viewcvs/relax?rev=20571&view=rev
Log:
A number of updates and improvements to the document explaining how to setup 
a Mac OS X framework.

This Framework Python setup is used to build the binary distribution files.


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=20571&r1=20570&r2=20571&view=diff
==============================================================================
--- trunk/docs/Mac_framework_build_3way (original)
+++ trunk/docs/Mac_framework_build_3way Fri Aug  9 10:02:09 2013
@@ -14,7 +14,7 @@
 PATH=$PATH:$HOME/bin
 export PATH
 
-Check the Python Framework 3-way architecture using the 
scripts/framework_bin_test script.  The Tk module might fail as the 10.5 Mac 
SDK could be only i386 and ppc build.  Then a custom Tcl/Tk build will be 
required (e.g. at http://cran.r-project.org/bin/macosx/tools/) and the 
tkinter module build by hand, changing the -isysroot flag to / at the last 
step.
+Check the Python Framework 3-way architecture using the 
devel_scripts/framework_bin_test script.  The Tk module might fail as the 
10.5 Mac SDK could be only i386 and ppc build.  Then a custom Tcl/Tk build 
will be required (e.g. at http://cran.r-project.org/bin/macosx/tools/) and 
the tkinter module build by hand, changing the -isysroot flag to / at the 
last step.
 
 
 
@@ -32,9 +32,9 @@
 
 Install the appropriate GNU fortran version to add to Xcode (for example 
gfortran-42-5664.pkg from http://r.research.att.com/tools/).  Xcode does not 
come with a Fortran compiler and the fink version will not be able to create 
Universal 3-way binaries.
 
-$ PATH=/usr/local/bin/:$PATH ~/bin/python2.7 setup.py install
+$ 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 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.
 
 
 
@@ -98,4 +98,28 @@
 Download and unpack the latest source release.  In the base directory, type:
 
 $ cd wxPython
-$ ~/bin/python2.7 build-wxpython.py --build_dir=../bld --osx_cocoa 
--mac-universal-binary --prefix=$HOME --unicode --install
+$ ~/bin/python2.7 build-wxpython.py --build_dir=../bld --osx_cocoa 
--mac_universal_binary --prefix=$HOME --unicode --install
+
+
+
+# SCons.
+
+Download and unpack the latest 2.x.x release, then type:
+
+$ ~/bin/python2.7 setup.py install
+$ cd ~/bin
+$ ln -s 
/Users/edward/Library/Frameworks/Python.framework/Versions/2.7/bin/scons-2.x.x
 scons
+
+Then edit the scons file and change the top of the file from:
+
+#! /usr/bin/env python
+#
+# SCons - a Software Constructor
+#
+
+To:
+
+#! /Users/edward/bin/python
+#
+# SCons - a Software Constructor
+#




Related Messages


Powered by MHonArc, Updated Fri Aug 09 11:40:02 2013