Skip to content

Commit

Permalink
Merge pull request #1663 from whitwham/install_updates
Browse files Browse the repository at this point in the history
CentOS, Alpine Linux and Windows additions.
  • Loading branch information
pd3 authored Feb 18, 2022
2 parents 2f89c1e + 0ab0b82 commit 310cd8c
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,22 @@ Note: libcurl4-openssl-dev can be used as an alternative to libcurl4-gnutls-dev.
RedHat / CentOS
---------------

Note: To install gsl-devel, it may be necessary to enable the "crb" repository.
dnf --enablerepo=crb install gsl-devel

sudo yum install autoconf automake make gcc perl-Data-Dumper zlib-devel bzip2 bzip2-devel xz-devel curl-devel openssl-devel gsl-devel perl-ExtUtils-Embed

Note: On some versions, Perl FindBin will need to be installed to make the tests work.
sudo yum install perl-FindBin

Alpine Linux
------------

Note: To install gsl-dev, it may be necessary to enable the "community"
repository in /etc/apk/repositories.

sudo apk update # Ensure the package list is up to date
sudo apk add autoconf automake make gcc musl-dev perl bash zlib-dev bzip2-dev xz-dev curl-dev libressl-dev gsl-dev perl-dev
doas apk update # Ensure the package list is up to date
doas apk add autoconf automake make gcc musl-dev perl bash zlib-dev bzip2-dev xz-dev curl-dev libressl-dev gsl-dev perl-dev

OpenSUSE
--------
Expand All @@ -240,4 +246,23 @@ MacOS, assuming Xcode is installed:
xz
gsl (optional)

Windows MSYS2/MINGW64
---------------------

The configure script must be used as without it the compilation will
likely fail.

Follow MSYS2 installation instructions at
https://www.msys2.org/wiki/MSYS2-installation/

Then relaunch to MSYS2 shell using the "MSYS2 MinGW x64" executable.
Once in that environment (check $MSYSTEM equals "MINGW64") install the
compilers using pacman -S and the following package list:

base-devel mingw-w64-x86_64-toolchain
mingw-w64-x86_64-libdeflate mingw-w64-x86_64-zlib mingw-w64-x86_64-bzip2
mingw-w64-x86_64-xz mingw-w64-x86_64-curl mingw-w64-x86_64-autotools
mingw-w64-x86_64-tools-git

(The last is only needed for building libraries compatible with MSVC.)

0 comments on commit 310cd8c

Please sign in to comment.