Ignore:
Timestamp:
2019-04-01T15:06:44+13:00 (5 years ago)
Author:
davidb
Message:

Tidy up of text

Location:
other-projects/is-sheet-music-encore/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • other-projects/is-sheet-music-encore/trunk/README.txt

    r32930 r32947  
    11
    2 export IS_MUSIC2_HOME=`pwd`
     21. Source the SETUP.bash file
    33
    4 # Install a portable/relocatable Perl:
     4  source ./SETUP.bash
    55
    6 curl -sSL https://git.io/perl-install | bash -s "$IS_MUSIC2_HOME/perl-relocatable"
     6Assumes you are in the directory where this README file is located.
     7  Sets IS_SHEET_MUSIC_ENCORE_HOME to this directory
     8
     9  It will install a portable/relocatable Perl if not already done
     10  so, and set PATH to it.
     11
     12  It will set various environment variables needed to run the code
     13====
     14
     152. If your system does not have openssl-dev installed, (include header and
     16libraries to compile up code that uses ssl), then do the following:
     17
     18  tar xvzf openssl-1.1.1b.tar.gz
     19
     20  cd openssl-1.1.1b
     21  ./config --prefix=$IS_SHEET_MUSIC_ENCORE_HOME/openssl
     22  make
     23  make install
     24====
     25
     263. Now install the Perl packages/modules needed with cpanm (cpan-minus):
     27
     28  If openssl-dev already installed then:
     29    cpanm CGI
     30    cpanm OAuth::Lite
     31    cpanm LWP::Protocol::https
     32   
     33
     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 
     39
     40    CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\""
     41
     42    cpanm Crypt::OpenSSL::Random  --configure-args "$CONFIG_ARGS"
     43
     44    cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS"
     45
     46    cpanm OAuth::Lite --configure-args "$CONFIG_ARGS"
     47
     48    cpanm CGI --configure-args "$CONFIG_ARGS"
     49
     50    cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS"
     51
     52    cpanm LWP::Protocol::https  --configure-args "$CONFIG_ARGS"
    753
    854
    955
    10 # Configure and install openssl
    11 
    12 ./config --prefix=$IS_MUSIC2_HOME/openssl
    13 
    14 
    15 # Use cpanm (cpan-minus) to install Perl packages
    16 
    17 
    18 CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\""
    19 
    20 cpanm Crypt::OpenSSL::Random  --configure-args "$CONFIG_ARGS"
    21 # --interactive --verbose
    22 
    23 cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS"
    24 
    25 cpanm OAuth::Lite --configure-args "$CONFIG_ARGS"
    26 
    27 cpanm CGI --configure-args "$CONFIG_ARGS"
    28 
    29 cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS"
    30 
    31 cpanm LWP::Protocol::https  --configure-args "$CONFIG_ARGS"
    32 
    33 
    34 
  • other-projects/is-sheet-music-encore/trunk/TEST-RUN.sh

    r32946 r32947  
    11#!/bin/bash
    22
    3 ./dapiclient2.pl > tmp4.png && head -n 16 tmp4.png && echo
     3echo "Saving document image to tmp.png"
     4echo ""
     5
     6./dapiclient2.pl > tmp.png
     7
     8echo ""
     9echo "In running this script from the command-line, some editing of 'tmp.png'"
     10echo "  to remove text log messages is needed to view the PNG file"
Note: See TracChangeset for help on using the changeset viewer.