[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 |
|
---|
[33137] | 15 | 2. If your system does not have openssl-dev installed, (includes header and
|
---|
| 16 | libraries to compile up code that uses ssl) and 'apt install libssl-dev'
|
---|
| 17 | isn't an option, then do the following:
|
---|
[32930] | 18 |
|
---|
[32947] | 19 | tar xvzf openssl-1.1.1b.tar.gz
|
---|
[32930] | 20 |
|
---|
[32947] | 21 | cd openssl-1.1.1b
|
---|
| 22 | ./config --prefix=$IS_SHEET_MUSIC_ENCORE_HOME/openssl
|
---|
| 23 | make
|
---|
| 24 | make install
|
---|
| 25 | ====
|
---|
[32930] | 26 |
|
---|
[32947] | 27 | 3. Now install the Perl packages/modules needed with cpanm (cpan-minus):
|
---|
[32930] | 28 |
|
---|
[32947] | 29 | If openssl-dev already installed then:
|
---|
| 30 | cpanm CGI
|
---|
| 31 | cpanm OAuth::Lite
|
---|
| 32 | cpanm LWP::Protocol::https
|
---|
| 33 |
|
---|
[32930] | 34 |
|
---|
[32947] | 35 | If you have had to compile up your own openssl, then do the following
|
---|
| 36 | (note, since it is a bit harder to get the customized INC, and FLAGS down
|
---|
| 37 | to the dependency-installed packages, then there are a few more
|
---|
| 38 | packages to install, and the order in certain places is important)
|
---|
| 39 |
|
---|
[32930] | 40 |
|
---|
[32947] | 41 | CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\""
|
---|
[32930] | 42 |
|
---|
[32947] | 43 | cpanm Crypt::OpenSSL::Random --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 44 |
|
---|
[32947] | 45 | cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 46 |
|
---|
[32947] | 47 | cpanm OAuth::Lite --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 48 |
|
---|
[32947] | 49 | cpanm CGI --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 50 |
|
---|
[32947] | 51 | cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 52 |
|
---|
[32947] | 53 | cpanm LWP::Protocol::https --configure-args "$CONFIG_ARGS"
|
---|
[32930] | 54 |
|
---|
| 55 |
|
---|
[32947] | 56 |
|
---|