Add pkg-config to toolRequirements

Fixes https://github.com/haskell/ghcup-hs/issues/1039
This commit is contained in:
Julian Ospald 2024-04-21 15:59:14 +08:00
parent 1d55bd79dc
commit 6a586c209f
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43
4 changed files with 161 additions and 32 deletions

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 12": ">= 12":
distroPKGs: distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -42,6 +44,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses6 - libncurses6
- libtinfo6 - libtinfo6
- pkg-config
notes: '' notes: ''
Linux_Mint: Linux_Mint:
"( >= 20 && < 21 )": "( >= 20 && < 21 )":
@ -55,6 +58,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 21": &linux-mint-req21 ">= 21": &linux-mint-req21
distroPKGs: distroPKGs:
@ -67,6 +71,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: *linux-mint-req21 unknown_versioning: *linux-mint-req21
Linux_Ubuntu: Linux_Ubuntu:
@ -81,6 +86,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
"( >= 20.10 && < 23 )": "( >= 20.10 && < 23 )":
distroPKGs: distroPKGs:
@ -93,6 +99,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 23": &linux-ubuntu-req23 ">= 23": &linux-ubuntu-req23
distroPKGs: distroPKGs:
@ -103,6 +110,7 @@ toolRequirements:
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- pkg-config
notes: '' notes: ''
unknown_versioning: *linux-ubuntu-req23 unknown_versioning: *linux-ubuntu-req23
Linux_CentOS: Linux_CentOS:
@ -116,6 +124,7 @@ toolRequirements:
- ncurses - ncurses
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -128,6 +137,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
Linux_Fedora: Linux_Fedora:
unknown_versioning: unknown_versioning:
@ -141,6 +151,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
Linux_Alpine: Linux_Alpine:
unknown_versioning: unknown_versioning:
@ -156,6 +167,7 @@ toolRequirements:
- musl-dev - musl-dev
- ncurses-dev - ncurses-dev
- perl - perl
- pkgconfig
- tar - tar
- xz - xz
notes: '' notes: ''
@ -163,7 +175,7 @@ toolRequirements:
unknown_versioning: unknown_versioning:
distroPKGs: [] distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.' packages.'
Darwin: Darwin:
unknown_versioning: unknown_versioning:
@ -183,6 +195,7 @@ toolRequirements:
- gmake - gmake
- ncurses - ncurses
- perl5 - perl5
- pkg-confg
- libffi - libffi
- libiconv - libiconv
notes: '' notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 12": ">= 12":
distroPKGs: distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -42,6 +44,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses6 - libncurses6
- libtinfo6 - libtinfo6
- pkg-config
notes: '' notes: ''
Linux_Mint: Linux_Mint:
"( >= 20 && < 21 )": "( >= 20 && < 21 )":
@ -55,6 +58,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 21": &linux-mint-req21 ">= 21": &linux-mint-req21
distroPKGs: distroPKGs:
@ -67,6 +71,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: *linux-mint-req21 unknown_versioning: *linux-mint-req21
Linux_Ubuntu: Linux_Ubuntu:
@ -81,6 +86,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
"( >= 20.10 && < 23 )": "( >= 20.10 && < 23 )":
distroPKGs: distroPKGs:
@ -93,6 +99,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 23": &linux-ubuntu-req23 ">= 23": &linux-ubuntu-req23
distroPKGs: distroPKGs:
@ -103,6 +110,7 @@ toolRequirements:
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- pkg-config
notes: '' notes: ''
unknown_versioning: *linux-ubuntu-req23 unknown_versioning: *linux-ubuntu-req23
Linux_Rocky: Linux_Rocky:
@ -117,6 +125,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
'>= 9': &linux-rocky-req9 '>= 9': &linux-rocky-req9
distroPKGs: distroPKGs:
@ -128,6 +137,7 @@ toolRequirements:
- ncurses - ncurses
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
unknown_versioning: *linux-rocky-req9 unknown_versioning: *linux-rocky-req9
Linux_CentOS: Linux_CentOS:
@ -141,6 +151,7 @@ toolRequirements:
- ncurses - ncurses
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -153,6 +164,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
Linux_Fedora: Linux_Fedora:
unknown_versioning: unknown_versioning:
@ -166,6 +178,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
Linux_Alpine: Linux_Alpine:
unknown_versioning: unknown_versioning:
@ -181,6 +194,7 @@ toolRequirements:
- musl-dev - musl-dev
- ncurses-dev - ncurses-dev
- perl - perl
- pkgconfig
- tar - tar
- xz - xz
notes: '' notes: ''
@ -197,6 +211,7 @@ toolRequirements:
- ncurses-devel - ncurses-devel
- ncurses-libtinfo-libs - ncurses-libtinfo-libs
- perl - perl
- pkg-config
- tar - tar
- xz - xz
notes: These instructions are for glibc based Void. If you use musl flavor, check out https://www.haskell.org/ghcup/install/#void-linux notes: These instructions are for glibc based Void. If you use musl flavor, check out https://www.haskell.org/ghcup/install/#void-linux
@ -204,7 +219,7 @@ toolRequirements:
unknown_versioning: unknown_versioning:
distroPKGs: [] distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.' packages.'
Darwin: Darwin:
unknown_versioning: unknown_versioning:
@ -224,6 +239,7 @@ toolRequirements:
- gmake - gmake
- ncurses - ncurses
- perl5 - perl5
- pkg-confg
- libffi - libffi
- libiconv - libiconv
notes: '' notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 12": ">= 12":
distroPKGs: distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -42,7 +44,36 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses6 - libncurses6
- libtinfo6 - libtinfo6
- pkg-config
notes: '' notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi7
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu: Linux_Ubuntu:
"( >= 20.04 && < 20.10 )": "( >= 20.04 && < 20.10 )":
distroPKGs: distroPKGs:
@ -55,41 +86,33 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
"( >= 20.10 && < 23 )": "( >= 20.10 && < 23 )":
distroPKGs: distroPKGs:
- build-essential - build-essential
- curl - curl
- libffi-dev - libffi-dev
- libffi8ubuntu1 - libffi8
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 23": ">= 23": &linux-ubuntu-req23
distroPKGs: distroPKGs:
- build-essential - build-essential
- curl - curl
- libffi-dev - libffi-dev
- libffi8ubuntu1 - libffi8
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning: *linux-ubuntu-req23
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi6
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
notes: ''
Linux_CentOS: Linux_CentOS:
'( >= 7 && < 8 )': '( >= 7 && < 8 )':
distroPKGs: distroPKGs:
@ -101,6 +124,7 @@ toolRequirements:
- ncurses - ncurses
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -113,6 +137,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
Linux_Fedora: Linux_Fedora:
unknown_versioning: unknown_versioning:
@ -126,6 +151,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
Linux_Alpine: Linux_Alpine:
unknown_versioning: unknown_versioning:
@ -141,6 +167,7 @@ toolRequirements:
- musl-dev - musl-dev
- ncurses-dev - ncurses-dev
- perl - perl
- pkgconfig
- tar - tar
- xz - xz
notes: '' notes: ''
@ -148,7 +175,7 @@ toolRequirements:
unknown_versioning: unknown_versioning:
distroPKGs: [] distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.' packages.'
Darwin: Darwin:
unknown_versioning: unknown_versioning:
@ -168,6 +195,7 @@ toolRequirements:
- gmake - gmake
- ncurses - ncurses
- perl5 - perl5
- pkg-confg
- libffi - libffi
- libiconv - libiconv
notes: '' notes: ''

View File

@ -18,6 +18,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 12": ">= 12":
distroPKGs: distroPKGs:
@ -30,6 +31,7 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -42,7 +44,36 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses6 - libncurses6
- libtinfo6 - libtinfo6
- pkg-config
notes: '' notes: ''
Linux_Mint:
"( >= 20 && < 21 )":
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi7
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
">= 21": &linux-mint-req21
distroPKGs:
- build-essential
- curl
- libffi-dev
- libffi8
- libgmp-dev
- libgmp10
- libncurses-dev
- libncurses5
- libtinfo5
- pkg-config
notes: ''
unknown_versioning: *linux-mint-req21
Linux_Ubuntu: Linux_Ubuntu:
"( >= 20.04 && < 20.10 )": "( >= 20.04 && < 20.10 )":
distroPKGs: distroPKGs:
@ -55,41 +86,60 @@ toolRequirements:
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
"( >= 20.10 && < 23 )": "( >= 20.10 && < 23 )":
distroPKGs: distroPKGs:
- build-essential - build-essential
- curl - curl
- libffi-dev - libffi-dev
- libffi8ubuntu1 - libffi8
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- libncurses5 - libncurses5
- libtinfo5 - libtinfo5
- pkg-config
notes: '' notes: ''
">= 23": ">= 23": &linux-ubuntu-req23
distroPKGs: distroPKGs:
- build-essential - build-essential
- curl - curl
- libffi-dev - libffi-dev
- libffi8ubuntu1 - libffi8
- libgmp-dev - libgmp-dev
- libgmp10 - libgmp10
- libncurses-dev - libncurses-dev
- pkg-config
notes: '' notes: ''
unknown_versioning: unknown_versioning: *linux-ubuntu-req23
Linux_Rocky:
'( >= 8 && < 9)':
distroPKGs: distroPKGs:
- build-essential - gcc
- curl - gcc-c++
- libffi-dev - gmp
- libffi6 - gmp-devel
- libgmp-dev - make
- libgmp10 - ncurses
- libncurses-dev - ncurses-compat-libs
- libncurses5 - xz
- libtinfo5 - perl
- pkg-config
notes: '' notes: ''
'>= 9': &linux-rocky-req9
distroPKGs:
- gcc
- gcc-c++
- gmp
- gmp-devel
- make
- ncurses
- xz
- perl
- pkg-config
notes: ''
unknown_versioning: *linux-rocky-req9
Linux_CentOS: Linux_CentOS:
'( >= 7 && < 8 )': '( >= 7 && < 8 )':
distroPKGs: distroPKGs:
@ -101,6 +151,7 @@ toolRequirements:
- ncurses - ncurses
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
unknown_versioning: unknown_versioning:
distroPKGs: distroPKGs:
@ -113,6 +164,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkgconfig
notes: '' notes: ''
Linux_Fedora: Linux_Fedora:
unknown_versioning: unknown_versioning:
@ -126,6 +178,7 @@ toolRequirements:
- ncurses-compat-libs - ncurses-compat-libs
- xz - xz
- perl - perl
- pkg-config
notes: '' notes: ''
Linux_Alpine: Linux_Alpine:
unknown_versioning: unknown_versioning:
@ -141,14 +194,32 @@ toolRequirements:
- musl-dev - musl-dev
- ncurses-dev - ncurses-dev
- perl - perl
- pkgconfig
- tar - tar
- xz - xz
notes: '' notes: ''
Linux_Void:
unknown_versioning:
distroPKGs:
- binutils
- curl
- gcc
- gmp-devel
- glibc-devel
- libffi-devel
- make
- ncurses-devel
- ncurses-libtinfo-libs
- perl
- pkg-config
- tar
- xz
notes: These instructions are for glibc based Void. If you use musl flavor, check out https://www.haskell.org/ghcup/install/#void-linux
Linux_UnknownLinux: Linux_UnknownLinux:
unknown_versioning: unknown_versioning:
distroPKGs: [] distroPKGs: []
notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath notes: 'You need the following packages: curl g++ gcc gmp make ncurses realpath
xz-utils. Consult your distro documentation on the exact names of those xz-utils pkg-config. Consult your distro documentation on the exact names of those
packages.' packages.'
Darwin: Darwin:
unknown_versioning: unknown_versioning:
@ -168,6 +239,7 @@ toolRequirements:
- gmake - gmake
- ncurses - ncurses
- perl5 - perl5
- pkg-confg
- libffi - libffi
- libiconv - libiconv
notes: '' notes: ''