Ignore:
Timestamp:
03/27/19 21:56:25 (20 months ago)
Author:
davidb
Message:

Update after testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/is-sheet-music-encore/trunk/SETUP.bash

    r32930 r32932  
    22#export PERL5LIB=`pwd`/venv/lib/perl5
    33
    4 export PATH=`pwd`/perl-relocatable/bin/:$PATH
     4export IS_SHEET_MUSIC_ENCORE_HOME=`pwd`
    55
    6 export CFLAGS=-I`pwd`/openssl/include
    7 export CXXFLAGS=-I`pwd`/openssl/include
    8 export LDFLAGS=-L`pwd`/openssl/lib
     6echo "Setting:"
     7echo "  IS_SHEET_MUSIC_ENCORE_HOME=$IS_SHEET_MUSIC_ENCORE_HOME"
    98
    10 export LD_LIBRARY_PATH=-L`pwd`/openssl/lib
     9if [ ! -d "$IS_SHEET_MUSIC_ENCORE_HOME/perl-relocatable" ] ; then
     10    echo "Installing a relocatable perl in user-space"
     11    curl -sSL https://git.io/perl-install | bash -s "$IS_SHEET_MUSIC_ENCORE_HOME/perl-relocatable"
     12fi
    1113
    12 echo "Set:"
     14export PATH="$IS_SHEET_MUSIC_ENCORE_HOME/perl-relocatable/bin/:$PATH"
     15echo "  PATH to include 'perl-relocatable'/bin"
     16
     17
     18if [ -d "$IS_SHEET_MUSIC_ENCORE_HOME/openssl" ] ; then
     19    export CFLAGS="-I$IS_SHEET_MUSIC_ENCORE_HOME/openssl/include"
     20    export CXXFLAGS="-I$IS_SHEET_MUSIC_ENCORE_HOME/openssl/include"
     21    export LDFLAGS="-L$IS_SHEET_MUSIC_ENCORE_HOME/openssl/lib"
     22   
     23    export LD_LIBRARY_PATH="$IS_SHEET_MUSIC_ENCORE_HOME/openssl/lib"
     24   
     25    echo "  CFLAGS, CXXFLAGS, LDFLAGS, LD_LIBRARY_PATH"
     26fi
     27
     28#echo "Set:"
    1329#echo "  PERL5LIB"
    14 echo "  CFLAGS, CXXFLAGS, LDFLAGS"
    15 echo "Updated PATH"
     30# echo "Updated PATH"
     31#else
     32#echo "Failed to find 'perl-relocatable' directory 1>&2"
     33#fi
    1634
    1735# perl Makefile.PL PREFIX=/home/davidb/research/code/is-sheet-music2/venv/ LDDLFLAGS="$LDFLAGS -shared -L/usr/local/lib -fstack-protector-strong"
Note: See TracChangeset for help on using the changeset viewer.