]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Module installation options, move to 3.5
authorWill Budic <redacted>
Thu, 16 Jun 2022 10:02:39 +0000 (20:02 +1000)
committerWill Budic <redacted>
Thu, 16 Jun 2022 10:02:39 +0000 (20:02 +1000)
Installation.txt
install.sh [new file with mode: 0755]
install_as_system_modules.sh [moved from install_modules.sh with 95% similarity]
install_lifelog_req_modules_2.0.sh [deleted file]

index 5720d84e01b8227e57294003e43b11098b54e11e..58e39a805618f5756d5a00a69149c968877bf582 100644 (file)
@@ -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 (executable)
index 0000000..df2ab7d
--- /dev/null
@@ -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'
similarity index 95%
rename from install_modules.sh
rename to install_as_system_modules.sh
index 545a216e94d711898462168e91459cfa23c6c6d9..1f1116bb9dffcdcfcf6fb2a42da3cc7df3257d67 100755 (executable)
@@ -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 (executable)
index ccba72b..0000000
+++ /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;