Home | Download/Install | Documentation | Packages | Screenshots | News | Forum/Mailing-lists | Contact | GForge

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:developper:release:macosx [2012/03/29 17:44]
user [Mac OS X release process]
documentation:developper:release:macosx [2012/08/13 14:45] (current)
user [Mac OS X release process]
Line 7: Line 7:
 === Developer notes for installation in Lion === === Developer notes for installation in Lion ===
  
-MacOSXhomebrew documentation +  * Install Python 2.7 universal, numpy, scipy, matplotlib: 
-  * https://github.com/mxcl/homebrew/wiki/installation    +    * http://penandpants.com/2012/03/01/install-python-2/ 
-::: working but homebrew requires to install the Command Line Tools in Xcode ::: +  * Install homebrew: 
-  * http://penandpants.com/2012/03/01/install-python-2/ +    * https://github.com/mxcl/homebrew/wiki/installation 
-::: working ::: +  * Clean your system: 
-  * http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/+    * [[http://guide.macports.org/#installing.macports.uninstalling|Uninstall MacPorts if exists]] 
 +    * Remove OpenAlea and all the config files 
 +      <code bash> rm ~/.pydistutils.cfg # if this file exists 
 +sudo vi /etc/bashrc # remove the line source ~/.openalea.sh if it exists 
 +# modify the ~/.profile 
 +# Remove all the eggs 
 +# Remove all the shared libraries 
 +      </code> 
 +  * Relocate python: 
 +    * <code bash>sudo rm /usr/bin/python2.7  
 +sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /usr/bin/python2.7 </code> 
 +    * <code bash>sudo rm /usr/bin/python2.7-config  
 +sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config /usr/bin/python2.7-config </code> 
 +    * <code bash>sudo rm /usr/bin/pythonw2.7  
 +sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7 /usr/bin/pythonw2.7 </code> 
 +    * <code bash>sudo rm /usr/lib/libpython2.7.dylib  
 +sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib /usr/lib/libpython2.7.dylib</code>  
 +    * <code bash>sudo rm /usr/lib/python2.7 
 +sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /usr/lib/python2.7</code>  
 +  * Launch a new shell 
 +    * Install distribute (aka setuptools) 
 +    * <code bash>  
 +curl -O http://python-distribute.org/distribute_setup.py 
 +sudo python distribute_setup.py</code> 
 +    * <code bash> sudo easy_install pip </code> 
 +    * <code bash> brew install readline </code> 
 +    * <code bash> sudo easy_install readline </code> 
 +    * <code bash> sudo pip install ipython </code> 
 + 
 +  * Add our Formula to build qscintilla2, libQGLViewer and PyQGLViewer 
 +    * <code bash>  
 +cd /usr/local/Library/Formula 
 +curl -O https://raw.github.com/pradal/homebrew/master/Library/Formula/qscintilla2.rb 
 +curl -O https://raw.github.com/pradal/homebrew/master/Library/Formula/libqglviewer.rb 
 +curl -O https://raw.github.com/pradal/homebrew/master/Library/Formula/pyqglviewer.rb 
 +cd 
 + 
 +</code> 
 +  * Install with brew: 
 +    * <code bash>brew install qt  </code> 
 +    * <code bash> brew install sip pyqt </code> 
 +    * <code bash> brew install pil </code> 
 +    * <code bash> brew install gnuplot </code> 
 +    * <code bash> sudo pip install pyopengl </code> 
 +  * Install Boost.Python 
 +    * **Warning** Boost.Python use the wrong Python version!! 
 +    * <code bash>brew install boost --build-from-source </code> 
 +  * Install other libs: 
 +   * <code bash>brew install ann cgal qscintilla2 qhull scons </code> 
 +   * <code bash> brew install pyqglviewer </code> 
 + 
 +  * Install pylibtiff : 
 +   * <code bash> brew install libtiff </code> 
 +   * <code bash> svn checkout http://pylibtiff.googlecode.com/svn/trunk/ ~/pylibtiff-svn </code> 
 +   * <code bash> cd ~/pylibtiff-svn </code> 
 +   * <code bash> python setup.py </code> 
 + 
 +  * Install OpenAlea, VPlants & co using the [[http://openalea.gforge.inria.fr/dokuwiki/doku.php?id=download:source_distribution&#building_openalea_and_friends_and_installing_them_in_develop_mode_recommended_for_developpers|recommandations]] 
 + 
 + 
 +<note warning> If you have an error with libJPEG add to your ~/.profile: 
 +<code bash> export DYLD_INSERT_LIBRARIES=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib:/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 
 +</code> 
 +</note>
 ==== How to create a release package with PackageMaker ==== ==== How to create a release package with PackageMaker ====
  
 
documentation/developper/release/macosx.1333035892.txt.gz · Last modified: 2012/03/29 17:44 by user   Back to top
INRIA   INRA     CIRAD     AGROPOLIS
INRIA GForge RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki