Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 19:30:39 +0000
Subject:   gem install rmagick on FreeBSD 10.1
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

Can anyone tell what's up with this? `ImageMagick-,1` is installed. I've tried `export PKG_CONFIG_PATH=/usr/local/libdata/pkgconfig` to no avail:

    # uname -a
    FreeBSD test 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014  amd64
    # gem install rmagick -v '2.13.4'
    Building native extensions.  This could take a while...
    ERROR:  Error installing rmagick:
            ERROR: Failed to build gem native extension.
        /usr/local/bin/ruby20 -r ./siteconf20150118-18361-mtqf82.rb extconf.rb
    checking for Ruby version >= 1.8.5... yes
    checking for cc... yes
    checking for Magick-config... yes
    Warning: Found a partial ImageMagick installation. Your operating system likely has some built-in ImageMagick libraries but not all of ImageMagick. This will most likely cause problems at both compile and runtime.
    Found partial installation at: /usr/local
    checking for ImageMagick version >= 6.4.9... yes
    /usr/local/bin/Magick-config: pkg-config: not found
    /usr/local/bin/Magick-config: pkg-config: not found
    /usr/local/bin/Magick-config: pkg-config: not found
    /usr/local/bin/Magick-config: pkg-config: not 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:
    extconf failed, exit code 1
    Gem files will remain installed in /usr/local/lib/ruby/gems/2.0/gems/rmagick-2.13.4 for inspection.
    Results logged to /usr/local/lib/ruby/gems/2.0/extensions/amd64-freebsd-10/2.0/rmagick-2.13.4/gem_make.out



Want to link to this message? Use this URL: <>