2012-04-03 12 views
13

पर ग्राफिक्समैजिक के साथ rmagick 2.13.1 इंस्टॉल करना I पहले एक rmagick मणि स्थापना थी जो ImageMagick के साथ काम करता है। ImageMagick को ओपनएमपी अक्षम के साथ स्रोत से स्थापित किया गया था। यह स्थापना बिना छेड़छाड़ के काम करती है। हालांकि मैंने rmagick और ImageMagick को अनइंस्टॉल करने का प्रयास किया ताकि मेरे पास एक संस्करण हो जो ग्राफिक्स मैगिक के साथ काम करता हो।उबंटू 10.04

इसलिए मैंने एक बार फिर से स्रोत और अक्षम ओपनएमपी सुविधा से ग्राफिक्स मैगिक स्थापित किया। हालांकि, जब मैं rmagick स्थापित मैं निम्नलिखित मिल:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 

और फ़ोल्डर pkgconfig की सामग्री की जाँच:

freetype2.pc GraphicsMagick.pc GraphicsMagick++.pc GraphicsMagickWand.pc libpng15.pc libpng.pc 

क्या बजे

Building native extensions. This could take a while... 
ERROR: Error installing rmagick-2.13.1.gem: 
     ERROR: Failed to build gem native extension. 

     /usr/bin/ruby1.8 extconf.rb --build-opts --with-graphics-magick 
checking for Ruby version >= 1.8.5... yes 
checking for gcc... 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 
checking for ImageMagick version >= 6.4.9... yes 
checking for HDRI disabled version of ImageMagick... 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 
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.1. 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/bin/ruby1.8 

मैं पहले से ही चलाने का प्रयास किया है मैं यहाँ याद कर रहा हूँ?

+1

समाधान मिला? – juanpastas

उत्तर

8

क्या आपने इस समस्या को stackoverflow या google पर खोजने की कोशिश की है? Libmagickwand-dev स्थापित करने के बाद फिर से स्थापित करने का प्रयास करें।

apt-get install libmagickwand-dev 
+4

MagickWand ImageMagick ग्राफिक्स मैगिक –

4
मेरे लिए

मदद की निम्नलिखित: sudo apt-get install imagemagick libmagickcore-dev

6

देव संकुल वास्तव में सहायक होते हैं

sudo apt-get install libmagickcore-dev libmagickwand-dev 
+0

से संबंधित नहीं है धन्यवाद यह मेरे लिए काम करता है – Naga

संबंधित मुद्दे