Centos:特定のnginxバージョンには対応するパッケージはありません。

Centos:特定のnginxバージョンには対応するパッケージはありません。

特定のnginxバージョンとモジュールを使用してカスタムnginxを構築しようとしています。https://github.com/anomalizer/ngx_aws_auth

nginxリポジトリを設定しました

# nginx.repo

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1

「」に nginx-1.10.2-1.el7.ngx.src.rpm が表示されます。http://nginx.org/packages/centos/7/SRPMS/「そしてダウンロードしてください。

curl http://nginx.org/packages/centos/7/SRPMS/nginx-1.10.2-1.el7.ngx.src.rpm -o nginx-1.10.2-1.el7.ngx.src.rpm

ただし、依存関係をインストールするためにyum-buildepを実行しようとすると、次のエラーが発生し続けます。「該当するパッケージはありません:nginx-1.10.2-1.el7.ngx.src.rpm」。どんなアイデアがありますか?ありがとうございます。

yum-builddep --enablerepo=nginx nginx-1.10.2-1.el7.ngx.src.rpm

出力の詳細

Loaded plugins: fastestmirror, priorities
Enabling base-source repository
Enabling epel-source repository
Enabling extras-source repository
Enabling updates-source repository
Loading mirror speeds from cached hostfile
 * base: mirrors.cat.pdx.edu
 * epel: mirrors.cat.pdx.edu
 * epel-source: mirrors.cat.pdx.edu
 * extras: mirrors.cat.pdx.edu
 * updates: mirrors.cat.pdx.edu
Checking for new repos for mirrors
No such package(s): nginx-1.10.2-1.el7.ngx.src.rpm

ベストアンサー1

おすすめ記事