2017-11-19 4 views
0

をインストール(GEMにインストール):RMagick 2.16.0エラー宝石の際に

Could not create Makefile due to some reason, probably lack of necessary 
libraries and/or headers. Check the mkmf.log file for more details. You may 
need configuration options. 

Provided configuration options: 
    --with-opt-dir 
    --without-opt-dir 
    --with-opt-include 
    --without-opt-include=${opt-dir}/include 
    --with-opt-lib 
    --without-opt-lib=${opt-dir}/lib 
    --with-make-prog 
    --without-make-prog 
    --srcdir=. 
    --curdir 
    --ruby=/home/yonatan/.rvm/rubies/ruby-2.4.1/bin/$(RUBY_BASE_NAME) 

To see why this extension failed to compile, please check the mkmf.log which can be found here: 

    /home/yonatan/.rvm/gems/ruby-2.4.1/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/mkmf.log 

extconf failed, exit code 1 

Gem files will remain installed in /home/yonatan/.rvm/gems/ruby-2.4.1/gems/rmagick-2.16.0 for inspection. 

を私が手にログインmkmfはで探して: RMagick 2.16.0をインストールすることはできません。 ImageMagick 6.4.9以降が必要です。

そして、私はImageMagickのバージョン ImageMagickのです: がインストールさ:8:6.9.7.4は+ DFSG-3ubuntu1.2 候補:8:6.9.7.4 + DFSG-3ubuntu1.2

イムで実行されていますUbuntu 17.04。 アイデア :単にこのファイルへのパスを検索し、例えば輸出

として.bashrcファイルに追加してください -

答えて

0

問題は、同じ問題を持つ人にとって

ファイルMagickCore.pcしていましたPKG_CONFIG_PATH = "/ usr/lib/x86_64-linux-gnu/pkgconfig/

声援

関連する問題