Changeset 12536


Ignore:
Timestamp:
06/25/12 14:59:30 (13 years ago)
Author:
cborstad
Message:

updated install script for OSX 10.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/python/install-macosx-snowleopard.sh

    r12469 r12536  
    2424#Configure doxygen
    2525cd src
    26 ./configure --prefix="$ISSM_DIR/externalpackages/python/install" --enable-framework="$ISSM_DIR/externalpackages/python/install" --enable-universalsdk --with-universal-archs="32-bit"
     26# --enable-framework needs to have the form "$SOME_PATH/Library/Frameworks" to avoid installing components in /Applications directory
     27# --prefix is recognized as $SOME_PATH as long as this form is taken, so it's not necessary to include
     28./configure --enable-framework="$ISSM_DIR/externalpackages/python/install/Library/Frameworks"
    2729if [ -z $1 ]; then
    2830        make
     
    4345#Some modifications to be done in case version is 2.7
    4446if [[ $version == "2.7.2" ]]; then
    45         cd install/
    46         ln -s Python.framework/Headers include
    47         ln -s Python.framework/Versions/2.7/lib lib
     47        cd ../install
     48        ln -s Library/Frameworks/Python.framework/Headers include
     49        ln -s Library/Frameworks/Python.framework/Versions/2.7/lib lib
    4850fi
Note: See TracChangeset for help on using the changeset viewer.