From: Will Budic Date: Thu, 16 Jun 2022 10:02:39 +0000 (+1000) Subject: Module installation options, move to 3.5 X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=ad11fe147fb570e366e3551f7c59964c2a230e76;p=LifeLog.git Module installation options, move to 3.5 --- diff --git a/Installation.txt b/Installation.txt index 5720d84..58e39a8 100644 --- a/Installation.txt +++ b/Installation.txt @@ -52,6 +52,21 @@ PATH="/home/will/localperl/bin${PATH:+:${PATH}}"; export PATH; export PERL5LIB=/usr/local/share/perl/5.30.0/ +./Configure -des \ + -Duse64bitall \ + -Dcccdlflags='-fPIC' \ + -Dcccdlflags='-fPIC' \ + -Dccdlflags='-rdynamic' \ + -Dlocincpth=' ' \ + -Duselargefiles \ + -Dusethreads \ + -Duseshrplib \ + -Dd_semctl_semun \ + -Dusenm \ + -Dprefix=~$HOME/localperl + + + ## Development Environment Perl Install # Developer? Install VSCode, not from flatpack. Use Microsoft site -> https://code.visualstudio.com/ diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..df2ab7d --- /dev/null +++ b/install.sh @@ -0,0 +1,34 @@ +# +# From LifeLog v.3.5 installation is to local user directory if you have latest perl recompiled under your users home. +# And want to develop and test it from latest relases runing user localy, which is recomended. When all works and you are happy +# with latest changes and release, you can then move cgi and files, setup to your system or production server. +# Run this script as user root, if want to install required modules for the whole system. +# +perl -MCPAN -e 'install DBI' +perl -MCPAN -e 'install CGI' +perl -MCPAN -e 'install CGI::Session' +perl -MCPAN -e 'install DBD::SQLite' +perl -MCPAN -e 'install DBD::Pg' +perl -MCPAN -e 'install Exception::Class ' +perl -MCPAN -e 'install Syntax::Keyword::Try' +perl -MCPAN -e 'install DateTime::Format::SQLite' +perl -MCPAN -e 'install Capture::Tiny' +perl -MCPAN -e 'install Text::CSV' +perl -MCPAN -e 'install Text::Markdown' +perl -MCPAN -e 'install Regexp::Common' +perl -MCPAN -e 'install Gzip::Faster' +perl -MCPAN -e 'install CGI:Session' +perl -MCPAN -e 'install Crypt::CBC' +perl -MCPAN -e 'install Crypt::Blowfish' +perl -MCPAN -e 'install DateTime' +perl -MCPAN -e 'install DateTime::Format::Human::Duration' +perl -MCPAN -e 'install DateTime::Format::SQLite' +perl -MCPAN -e 'install IO::Compress::Gzip' +perl -MCPAN -e 'install IO::Interactive ' +perl -MCPAN -e 'install IO::Prompter' +perl -MCPAN -e 'install IPC::Run' +perl -MCPAN -e 'install JSON' +perl -MCPAN -e 'install Regexp::Common' +perl -MCPAN -e 'install Perl::LanguageServer' +perl -MCPAN -e 'install Log::Log4perl' +perl -MCPAN -e 'install Number::Bytes::Human' diff --git a/install_modules.sh b/install_as_system_modules.sh similarity index 95% rename from install_modules.sh rename to install_as_system_modules.sh index 545a216..1f1116b 100755 --- a/install_modules.sh +++ b/install_as_system_modules.sh @@ -29,7 +29,7 @@ sudo ./$LifeLogInstall #Used for stats, required utility sudo apt install inxi -y -echo;echo "Done with Life Log modules installation!" +echo -e "\nDone with Life Log modules installation!" diff --git a/install_lifelog_req_modules_2.0.sh b/install_lifelog_req_modules_2.0.sh deleted file mode 100755 index ccba72b..0000000 --- a/install_lifelog_req_modules_2.0.sh +++ /dev/null @@ -1,27 +0,0 @@ -sudo apt install cpanminus -y -sudo apt install perlbrew -y -sudo apt install libperl-critic-perl -y -sudo apt install libperl-dev -y -sudo apt install openssl -y -sudo cpan Perl::LanguageServer -# before was -> sudo cpanm Try::Tiny; -sudo cpan Log::Log4per -sudo cpan Syntax::Keyword::Try -sudo cpan DateTime; -sudo cpan DateTime::Format::Human::Duration -sudo cpan DateTime::Format::SQLite; -sudo cpan Text::CSV; -sudo cpan Number::Bytes::Human; -sudo cpan Gzip::Faster; -sudo cpan CGI::Session; -sudo cpan Number/Bytes/Human.pm; -sudo cpan Regexp::Common; -sudo cpan JSON; -sudo cpan Switch; -sudo cpan IPC::Run; -sudo cpan Syntax::Keyword::Try; -sudo cpan Text::Markdown -sudo cpan Crypt::Blowfish; -sudo cpan Crypt::CBC; -sudo cpan DBI; -sudo cpan DBD::SQLite;