Skip to content

error installing in fedora 27 #11

@aoyawale

Description

@aoyawale

when I try gem install catpix

I get this errors:

gem install catpix                                                                                              2 ↵  6529  13:28:51 
Building native extensions.  This could take a while...
ERROR:  Error installing catpix:
	ERROR: Failed to build gem native extension.

    current directory: /home/jlozadad/.gem/ruby/gems/rmagick-2.16.0/ext/RMagick
/usr/bin/ruby -r ./siteconf20180820-16460-qlq0i5.rb extconf.rb
checking for gcc... yes
checking for Magick-config... no
checking for pkg-config... yes
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
Package 'MagickCore', required by 'virtual:world', not found
checking for outdated ImageMagick version (<= 6.4.9)... *** 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}/lib64
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/bin/$(RUBY_BASE_NAME)

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

  /home/jlozadad/.gem/ruby/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/jlozadad/.gem/ruby/gems/rmagick-2.16.0 for inspection.
Results logged to /home/jlozadad/.gem/ruby/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/gem_make.out

I check the log file:

find_executable: checking for gcc... -------------------- yes

--------------------

find_executable: checking for Magick-config... -------------------- no

--------------------

find_executable: checking for pkg-config... -------------------- yes

--------------------

Detected ImageMagick version: 
Can't install RMagick 2.16.0. You must have ImageMagick 6.4.9 or later.
Can't install RMagick 2.16.0. You must have ImageMagick 6.4.9 or later.

but, I have imagemagick installed

sudo dnf install ImageMagick                                                                                    1 ↵  6527  13:28:25 
Failed to synchronize cache for repo 'ippytraxx-gnome-twitch', disabling.
Last metadata expiration check: 0:00:09 ago on Mon 20 Aug 2018 01:28:25 PM EDT.
Package ImageMagick-1:6.9.9.38-1.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions