Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 21:47:18 +0000
From:      opendaddy@hushmail.com
To:        freebsd-questions@freebsd.org
Subject:   Re: gem install rmagick on FreeBSD 10.1
Message-ID:  <20150118214718.E7DEEA0684@smtp.hushmail.com>
In-Reply-To: <20150118193040.1B8D6A0685@smtp.hushmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Marked as solved -- I was missing the `pkgconf` package.

Thanks!

O.D.

On 18. januar 2015 at 7:59 PM, opendaddy@hushmail.com wrote:
>
>Hello!
>
>Can anyone tell what's up with this? `ImageMagick-6.9.0.2,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     
>root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  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:
>            --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=/usr/local/bin/ruby20
>    
>    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
>
>Thanks!
>
>O.D.
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-
>unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20150118214718.E7DEEA0684>