[32930] | 1 |
|
---|
[32947] | 2 | 1. Source the SETUP.bash file
|
---|
[32930] | 3 |
|
---|
[32947] | 4 | source ./SETUP.bash
|
---|
[32930] | 5 |
|
---|
[32947] | 6 | Assumes you are in the directory where this README file is located.
|
---|
| 7 | Sets IS_SHEET_MUSIC_ENCORE_HOME to this directory
|
---|
[32930] | 8 |
|
---|
[32947] | 9 | It will install a portable/relocatable Perl if not already done
|
---|
| 10 | so, and set PATH to it.
|
---|
[32930] | 11 |
|
---|
[32947] | 12 | It will set various environment variables needed to run the code
|
---|
| 13 | ====
|
---|
[32930] | 14 |
|
---|
[32947] | 15 | 2. If your system does not have openssl-dev installed, (include header and
|
---|
| 16 | libraries to compile up code that uses ssl), then do the following:
|
---|
[32930] | 17 |
|
---|
[32947] | 18 | tar xvzf openssl-1.1.1b.tar.gz
|
---|
[32930] | 19 |
|
---|
[32947] | 20 | cd openssl-1.1.1b
|
---|
| 21 | ./config --prefix=$IS_SHEET_MUSIC_ENCORE_HOME/openssl
|
---|
| 22 | make
|
---|
| 23 | make install
|
---|
| 24 | ====
|
---|
[32930] | 25 |
|
---|
[32947] | 26 | 3. Now install the Perl packages/modules needed with cpanm (cpan-minus):
|
---|
[32930] | 27 |
|
---|
[32947] | 28 | If openssl-dev already installed then:
|
---|
| 29 | cpanm CGI
|
---|
| 30 | cpanm OAuth::Lite
|
---|
| 31 | cpanm LWP::Protocol::https
|
---|
| 32 |
|
---|
[32930] | 33 |
|
---|
[32947] | 34 | If you have had to compile up your own openssl, then do the following
|
---|
| 35 | (note, since it is a bit harder to get the customized INC, and FLAGS down
|
---|
| 36 | to the dependency-installed packages, then there are a few more
|
---|
| 37 | packages to install, and the order in certain places is important)
|
---|
| 38 |
|
---|
[32930] | 39 |
|
---|
[32947] | 40 | CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\""
|
---|
[32930] | 41 |
|
---|
[32947] | 42 | cpanm Crypt::OpenSSL::Random --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 43 |
|
---|
[32947] | 44 | cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 45 |
|
---|
[32947] | 46 | cpanm OAuth::Lite --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 47 |
|
---|
[32947] | 48 | cpanm CGI --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 49 |
|
---|
[32947] | 50 | cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 51 |
|
---|
[32947] | 52 | cpanm LWP::Protocol::https --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 53 |
|
---|
| 54 |
|
---|
[32947] | 55 |
|
---|