export IS_MUSIC2_HOME=`pwd` # Install a portable/relocatable Perl: curl -sSL https://git.io/perl-install | bash -s "$IS_MUSIC2_HOME/perl-relocatable" # Configure and install openssl ./config --prefix=$IS_MUSIC2_HOME/openssl # Use cpanm (cpan-minus) to install Perl packages CONFIG_ARGS="INC=\"$CFLAGS\" LDDLFLAGS=\"-shared -L/usr/local/lib -fstack-protector-strong $LDFLAGS\" LDFLAGS=\"-fstack-protector-strong $LDFLAGS\"" cpanm Crypt::OpenSSL::Random --configure-args "$CONFIG_ARGS" # --interactive --verbose cpanm Crypt::OpenSSL::RSA --configure-args "$CONFIG_ARGS" cpanm OAuth::Lite --configure-args "$CONFIG_ARGS" cpanm CGI --configure-args "$CONFIG_ARGS" cpanm --notest NET::SSLeay --configure-args "$CONFIG_ARGS" cpanm LWP::Protocol::https --configure-args "$CONFIG_ARGS"