source: other-projects/is-sheet-music-encore/trunk/SETUP.bash@ 32930

Last change on this file since 32930 was 32930, checked in by davidb, 20 months ago

Some initial files

File size: 886 bytes
Line 
1#export PATH=`pwd`/venv/bin/:$PATH
2#export PERL5LIB=`pwd`/venv/lib/perl5
3
4export PATH=`pwd`/perl-relocatable/bin/:$PATH
5
6export CFLAGS=-I`pwd`/openssl/include
7export CXXFLAGS=-I`pwd`/openssl/include
8export LDFLAGS=-L`pwd`/openssl/lib
9
10export LD_LIBRARY_PATH=-L`pwd`/openssl/lib
11
12echo "Set:"
13#echo " PERL5LIB"
14echo " CFLAGS, CXXFLAGS, LDFLAGS"
15echo "Updated PATH"
16
17# perl Makefile.PL PREFIX=/home/davidb/research/code/is-sheet-music2/venv/ LDDLFLAGS="$LDFLAGS -shared -L/usr/local/lib -fstack-protector-strong"
18
19
20# CONFIG_ARGS=$( cat <<_EOF_ | tr '\n' ' ' INC=-I/usr/local/opt/openssl/include LDDLFLAGS="-bundle -undefined dynamic_lookup -fstack-protector-strong -L/usr/local/opt/openssl/lib" LD="env MACOSX_DEPLOYMENT_TARGET=10.11 cc" LDFLAGS="-fstack-protector-strong -L/usr/local/opt/openssl/lib" _EOF_ ) cpanm Net::SSLeay --configure-args "$CONFIG_ARGS" --interactive --verbose
21
22
Note: See TracBrowser for help on using the repository browser.