yum install で「libseccomp-devel」がインストールできません

実現したいこと

  • [ ]「libseccomp-devel」パッケージをインストールしたい

前提

https://teratail.com/questions/q7urq4lkp31i9q で質問した内容に連なるものなのですが、
RHEL7の環境にsingularityモジュールを追加する時に「libseccomp+headers」が必要と返ってきます。
過去の資料とネットで調べてみた感じでは「libseccomp-devel」パッケージが必要なのかと思われます。
参考 https://github.com/sylabs/singularity/blob/main/INSTALL.md

[root@hoge singularity-ce-3.11.5]# ./mconfig --prefix=/opt/fuga/singularity/3.11.5 Configuring for project `singularity-ce' with languages: C, Golang => running pre-basechecks project specific checks ... => running base system checks ... checking: host C compiler... cc checking: host C++ compiler... c++ checking: host Go compiler (at least version 1.17)... /bin/go checking: host C compiler option -Wall... yes checking: host C compiler option -Werror... yes checking: host C compiler option -Wfatal-errors... yes checking: host C compiler option -Wno-unknown-warning-option... yes checking: host C compiler option -Wstrict-prototypes... yes checking: host C compiler option -Wpointer-arith... yes checking: host C compiler option -Wbad-function-cast... yes checking: host C compiler option -Woverlength-strings... yes checking: host C compiler option -Wframe-larger-than=2047... yes checking: host C compiler option -Wno-sign-compare... yes checking: host C compiler option -Wclobbered... yes checking: host C compiler option -Wempty-body... yes checking: host C compiler option -Wmissing-parameter-type... yes checking: host C compiler option -Wtype-limits... yes checking: host C compiler option -Wunused-parameter... yes checking: host C compiler option -Wunused-but-set-parameter... yes checking: host C compiler option -Wno-discarded-qualifiers... yes checking: host C compiler option -Wno-incompatible-pointer-types... yes checking: host C compiler option -pipe... yes checking: host C compiler option -fmessage-length=0... yes checking: host C compiler option -fPIC... yes checking: host `ar' path... ar checking: host `ld' path... ld checking: host `ranlib' path... ranlib checking: host `objcopy' path... objcopy checking: target C compiler... cc checking: target C++ compiler... c++ checking: target `ar' path... ar checking: target `ld' path... ld checking: target `ranlib' path... ranlib checking: target `objcopy' path... objcopy checking: host compiles static binaries... no checking: target compiles static binaries... no checking: host os type... unix checking: host architecture... x86_64 checking: target architecture... x86_64 checking: host architecture word size... 64 checking: target architecture word size... 64 checking: project version... 3.11.5 checking: project short version... 3.11.5 => running post-basechecks project specific checks ... checking: namespace: CLONE_NEWPID... yes checking: namespace: CLONE_FS... yes checking: namespace: CLONE_NEWNS... yes checking: namespace: CLONE_NEWUSER... yes checking: namespace: CLONE_NEWIPC... yes checking: namespace: CLONE_NEWNET... yes checking: namespace: CLONE_NEWUTS... yes checking: namespace: CLONE_NEWCGROUP... no checking: feature: NO_NEW_PRIVS... yes checking: feature: MS_SLAVE... yes checking: feature: MS_REC... yes checking: feature: MS_PRIVATE... yes checking: user capabilities... yes checking: header linux/securebits.h... yes checking: header linux/capability.h... yes checking: libseccomp+headers... no seccomp headers are required to build Singularity with seccomp support. To disable seccomp support run mconfig using '--without-seccomp'.

発生している問題・エラーメッセージ

yum で「libseccomp-devel」をインストールしようとすると見つからないと返ってきました。

[root@hoge singularity-ce-3.11.5]# yum install libseccomp-devel Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager No package libseccomp-devel available. Error: Nothing to do [root@hoge singularity-ce-3.11.5]# yum search libseccomp-devel Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Warning: No matches found for: libseccomp-devel No matches found [root@hoge singularity-ce-3.11.5]#

リポジトリの設定

/etc/yum.repos.d/epel.repo を確認してみるとepelとepel-debuginfo、epel-sourceの何れも「enabled=0」とありました。

質問したいこと

  1. yumでインストールできないのはリポジトリの設定が無効になっているためと考えますが、合っていますか。
  2. (1.が正しかった場合リポジトリの設定を変更せずに)パッケージをインストールする方法はあるでしょうか。
  3. (1.が正しくなかった場合)パッケージをインストールする方法はあるでしょうか。

コメントを投稿

0 コメント