Skip to content

Commit

Permalink
Merge pull request #1205 from maximemulder/2024-10-24_fix-perl-install
Browse files Browse the repository at this point in the history
Fix Perl dependencies (& CI)
  • Loading branch information
maximemulder authored Oct 25, 2024
2 parents d3ce28b + ef686d2 commit 9810e93
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 57 deletions.
38 changes: 21 additions & 17 deletions install/INSTALL.Mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,27 @@ sudo ln -s /usr/local/mysql/lib/*.dylib .
```

```
sudo -S cpan install Math::Round
sudo -S cpan install Getopt::Tabular
sudo -S cpan install Time::JulianDay
sudo -S cpan install Path::Class
sudo -S cpan install DBI
sudo -S cpan install DBD::mysql
sudo -S cpan install Archive::Extract
sudo -S cpan install Archive::Zip
sudo -S cpan install Pod::Perldoc
sudo -S cpan install Pod::Markdown
sudo -S cpan install Pod::Usage
sudo -S cpan install JSON
sudo -S cpan install Moose
sudo -S cpan install MooseX::Privacy
sudo -S cpan install TryCatch
sudo -S cpan install Throwable
sudo -S cpan install App::cpanminus
sudo -S cpan App::cpanminus
sudo -S cpanm Module::[email protected]
sudo -S cpanm DBD::[email protected]
sudo -S cpanm Math::Round
sudo -S cpanm DateTime
sudo -S cpanm DBI
sudo -S cpanm Getopt::Tabular
sudo -S cpanm Time::JulianDay
sudo -S cpanm Path::Class
sudo -S cpanm Archive::Extract
sudo -S cpanm Archive::Zip
sudo -S cpanm Pod::Perldoc
sudo -S cpanm Pod::Markdown
sudo -S cpanm Pod::Usage
sudo -S cpanm JSON
sudo -S cpanm Moose
sudo -S cpanm MooseX::Privacy
sudo -S cpanm TryCatch
sudo -S cpanm Throwable
sudo -S cpanm File::Type
sudo -S cpanm String::ShellQuote
sudo -S cpanm https://github.com/aces/Loris-MRI/raw/main/install/Digest-BLAKE2-0.02.tar.gz
```

Expand Down
41 changes: 21 additions & 20 deletions install/imaging_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,28 +85,29 @@ echo "Successfully connected to database\n"
#################################################################################################
echo "Installing the perl libraries...This will take a few minutes..."
#echo $rootpass | sudo perl -MCPAN -e shell
sudo -S cpan install Math::Round
#echo $rootpass | sudo -S cpan install Bundle::CPAN
sudo -S cpan install DBI
sudo -S cpan install DBD::mysql
sudo -S cpan install Getopt::Tabular
sudo -S cpan install Time::JulianDay
sudo -S cpan install Path::Class
sudo -S cpan install Archive::Extract
sudo -S cpan install Archive::Zip
sudo -S cpan install Pod::Perldoc
sudo -S cpan install Pod::Markdown
sudo -S cpan install Pod::Usage
sudo -S cpan install JSON
sudo -S cpan install Moose
sudo -S cpan install MooseX::Privacy
sudo -S cpan install TryCatch
sudo -S cpan install Throwable
sudo -S cpan install App::cpanminus
sudo -S cpan App::cpanminus
sudo -S cpanm Module::[email protected]
sudo -S cpanm DBD::[email protected]
sudo -S cpanm Math::Round
sudo -S cpanm DateTime
sudo -S cpanm DBI
sudo -S cpanm Getopt::Tabular
sudo -S cpanm Time::JulianDay
sudo -S cpanm Path::Class
sudo -S cpanm Archive::Extract
sudo -S cpanm Archive::Zip
sudo -S cpanm Pod::Perldoc
sudo -S cpanm Pod::Markdown
sudo -S cpanm Pod::Usage
sudo -S cpanm JSON
sudo -S cpanm Moose
sudo -S cpanm MooseX::Privacy
sudo -S cpanm TryCatch
sudo -S cpanm Throwable
sudo -S cpanm File::Type
sudo -S cpanm String::ShellQuote
sudo -S cpanm https://github.com/aces/Loris-MRI/raw/main/install/Digest-BLAKE2-0.02.tar.gz
sudo -S cpan install File::Type
sudo -S cpan install String::ShellQuote
sudo -S cpan install DateTime
echo

################################################################################
Expand Down
45 changes: 25 additions & 20 deletions test/mri.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,26 +70,31 @@ RUN dpkg -i /tmp/bic-mni-models-0.1.1-20120421.deb && \
RUN apt-get install -y libmariadb-dev libmariadb-dev-compat

# Install the Perl libraries
RUN cpan install Math::Round && \
cpan install DBI && \
cpan install DBD::[email protected] && \
cpan install Getopt::Tabular && \
cpan install Time::JulianDay && \
cpan install Path::Class && \
cpan install Archive::Extract && \
cpan install Archive::Zip && \
cpan install Pod::Perldoc && \
cpan install Pod::Markdown && \
cpan install Pod::Usage && \
cpan install JSON && \
cpan install Moose && \
cpan install MooseX::Privacy && \
cpan install TryCatch && \
cpan install Throwable && \
cpan install App::cpanminus && \
cpan install File::Type && \
cpan install String::ShellQuote && \
cpan install DateTime && \
# NOTES:
# - Module::Pluggable is required by other modules. Installation fails for v6.1
# (at the time of this writing)
# - DBD::mysql v5+ is no longer compatible with MariaDB
RUN cpan App::cpanminus && \
cpanm Module::[email protected] && \
cpanm DBD::[email protected] && \
cpanm Math::Round && \
cpanm DateTime && \
cpanm DBI && \
cpanm Getopt::Tabular && \
cpanm Time::JulianDay && \
cpanm Path::Class && \
cpanm Archive::Extract && \
cpanm Archive::Zip && \
cpanm Pod::Perldoc && \
cpanm Pod::Markdown && \
cpanm Pod::Usage && \
cpanm JSON && \
cpanm Moose && \
cpanm MooseX::Privacy && \
cpanm TryCatch && \
cpanm Throwable && \
cpanm File::Type && \
cpanm String::ShellQuote && \
cpanm https://github.com/aces/Loris-MRI/raw/main/install/Digest-BLAKE2-0.02.tar.gz

# Install the Python libraries
Expand Down

0 comments on commit 9810e93

Please sign in to comment.