无法在ubuntu 14.04上安装fileutils Rubygem

 那一世我给不了你的温柔 发布于 2022-12-09 03:10

在尝试安装fileutils gem时,我得到以下输出:

No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no

Can't install RMagick 2.13.4. Can't find MagickWand.h.
*** extconf.rb failed ***
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/aditya/.rvm/rubies/ruby-2.1.1/bin/ruby

extconf failed, exit code 1

Gem files will remain installed in /home/aditya/.rvm/gems/ruby-2.1.1/gems/rmagick-2.13.4 for inspection.
Results logged to /home/aditya/.rvm/gems/ruby-2.1.1/extensions/x86_64-linux/2.1.0/rmagick-2.13.4/gem_make.out

看起来rmagick存在一些问题,imagemagick正确安装并且在尝试安装rmagick gem时我得到一个包丢失的错误:libmagickwand-dev

当我尝试安装此软件包时,出现以下错误:

The following packages have unmet dependencies:
 libmagickwand-dev : Depends: libmagickcore-dev (= 8:6.6.9.7-5ubuntu3.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Lesha Pipiev.. 19

跑步sudo apt-get install libmagickwand-dev解决了我的问题.

1 个回答
  • 跑步sudo apt-get install libmagickwand-dev解决了我的问题.

    2022-12-11 03:11 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有