We are lucky to have Ben Kim now with us at Adconion, and he posted the following:
Mac OS X Lion Software Installs
- Install compilers
- Install XCode 4.x from the App Store
- Install Command Line Tools in Preferences/Download
 
 - Install gcc, g++, and gfortran compilers
- Download tar file
 - Extract to /
- tar -xvf abc.tar -C /
 
 
 - Reference http://sites.google.
com/site/dwhipp/tutorials/mac_ compilers  
 - Install XCode 4.x from the App Store
 - Install Homebrew
- Run the install command using ruby
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
 - brew doctor
- chown /usr/local folders listed
 - Place /usr/local/bin before /usr/bin in path
 
 - Reference https://github.com/
mxcl/homebrew/wiki/ installation  
 - Run the install command using ruby
 - Install python using brew
- brew install readline sqlite gdbm pkg-config
 - brew install python
 - Note: Mac OS X Lion comes with old version 2.7.1 of python (python --version)
 
 - Set PATH in .bash_profile
- vim ~/.bash_profile
- export PATH=/usr/local/share/python:/
usr/local/bin:$PATH  
 - export PATH=/usr/local/share/python:/
 
 - vim ~/.bash_profile
 - Create symlinks
- Within /(System/)?Library/Frameworks/
Python.framework/Versions, sudo rm Current  - Within the above directories, ln -s /usr/local/Cellar/python/2.7.3 Current
 
 - Within /(System/)?Library/Frameworks/
 - Install pip, if necessary, using easy_install
- sudo easy_install pip
 
 - Using pip (sudo pip install [--upgrade] abc)
- Install nose
 - Install numpy
 - Install scipy with environmental variables settings
- sudo CC=clang CXX=clang FFLAGS=-
ff2c pip install [--upgrade] scipy  
 - sudo CC=clang CXX=clang FFLAGS=-
 - Install scikit-learn
 - Install pandas
 
 - Install matplotlib
- Download source from repo: https://github.com/matplotlib/
matplotlib  - cd ~Downloads/matplotlib-*
 - python setup.py build
 - python setup.py install
 
 - Download source from repo: https://github.com/matplotlib/
 - Install VW (Vowpal Wabbit)
- Install boost
- Download tar file
 - mv boost extracted folder to /usr/local
 - export BOOST_ROOT environmental variable
 - cd to boost directory
 - make and install
- sudo ./bootstrap
 - sudo ./bjam install
 
 - Download bjam
 - mv to directory in PATH
- mv bjam /usr/local/bin
 
 - Set bjam toolset to darwin
- bjam toolset=darwin stage
 
 - Reference http://www.boost.
org/doc/libs/1_41_0/more/ getting_started/unix-variants. html#expected-build-output  
 - cd to VW directory
- make and test
- make
 - make test
 
 
 - make and test
 
 - Install boost
 
No comments:
Post a Comment