{"id":388,"date":"2013-12-31T03:27:36","date_gmt":"2013-12-30T18:27:36","guid":{"rendered":"http:\/\/www.uturtle.com\/blog\/?p=388"},"modified":"2014-01-01T20:35:03","modified_gmt":"2014-01-01T11:35:03","slug":"ubuntu%ec%97%90%ec%84%9c-gem-install-rmagick-%ec%8b%a4%ed%96%89%ec%8b%9c-%ec%8b%a4%ed%8c%a8%ed%95%a0-%ea%b2%bd%ec%9a%b0-%ed%95%b4%ea%b2%b0%eb%b0%a9%eb%b2%95","status":"publish","type":"post","link":"https:\/\/www.jinukbaek.com\/blog\/ko\/archives\/388","title":{"rendered":"ubuntu\uc5d0\uc11c gem install rmagick \uc2e4\ud589\uc2dc \uc2e4\ud328\ud560 \uacbd\uc6b0 \ud574\uacb0\ubc29\ubc95"},"content":{"rendered":"<p>\uc544\ub798\uc640 \uac19\uc740 \uc5d0\ub7ec\ub97c \ub0b4\uba74\uc11c &#8220;gem install rmagick&#8221;\uc774 \uc2e4\ud328\ud560 \uacbd\uc6b0, \uc544\ub798\uc758 &#8220;checking for wand\/MagickWand.h&#8221;\ub97c \uc8fc\uc758\uae4a\uac8c \ubcf4\uc790. magickwand \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud558\ub294 \uac83\uc774\ub2e4.<\/p>\n<pre class=\"lang:default decode:true\">root@wminserver:\/home\/redmine\/redmine\/redmine-2.4# gem install rmagick\nBuilding native extensions.  This could take a while...\nERROR:  Error installing rmagick:\n\tERROR: Failed to build gem native extension.\n\n    \/usr\/local\/rvm\/rubies\/ruby-2.1.0\/bin\/ruby extconf.rb\nchecking for Ruby version &gt;= 1.8.5... yes\nchecking for gcc... yes\nchecking for Magick-config... yes\nchecking for ImageMagick version &gt;= 6.4.9... yes\nchecking for HDRI disabled version of ImageMagick... yes\nchecking for stdint.h... yes\nchecking for sys\/types.h... yes\nchecking for wand\/MagickWand.h... no\n\nCan't install RMagick 2.13.2. Can't find MagickWand.h.\n*** extconf.rb failed ***\nCould not create Makefile due to some reason, probably lack of necessary\nlibraries and\/or headers.  Check the mkmf.log file for more details.  You may\nneed configuration options.\n\nProvided configuration options:\n\t--with-opt-dir\n\t--without-opt-dir\n\t--with-opt-include\n\t--without-opt-include=${opt-dir}\/include\n\t--with-opt-lib\n\t--without-opt-lib=${opt-dir}\/lib\n\t--with-make-prog\n\t--without-make-prog\n\t--srcdir=.\n\t--curdir\n\t--ruby=\/usr\/local\/rvm\/rubies\/ruby-2.1.0\/bin\/ruby\n\nextconf failed, exit code 1\n\nGem files will remain installed in \/usr\/local\/rvm\/gems\/ruby-2.1.0\/gems\/rmagick-2.13.2 for inspection.\nResults logged to \/usr\/local\/rvm\/gems\/ruby-2.1.0\/extensions\/x86_64-linux\/2.1.0\/rmagick-2.13.2\/gem_make.out<\/pre>\n<p>&nbsp;<\/p>\n<h3>\ud574\uacb0\ubc29\ubc95<\/h3>\n<p>libmagickwand-dev\ub97c \uc124\uce58\ud574 \uc90c\uc73c\ub85c\uc368 \ud574\uacb0\uc774 \ub41c\ub2e4. \uc544\ub798\uc758 \uba85\ub839\uc744 \uc2e4\ud589\uc2dc\ucf1c\ubcf4\ub3c4\ub85d \ud558\uc790.<\/p>\n<p style=\"background-color: #e3fbf5;\">$ sudo apt-get install libmagickwand-dev<br \/>\n$ gem install rmagick<\/p>\n<p>\ubb38\uc81c\uc5c6\uc774 \uc798 \uc124\uce58 \ub420 \uac83\uc774\ub2e4.<\/p>\n<h4>Reference<\/h4>\n<p>[1] Stack Overflow(Can&#8217;t install RMagick 2.13.1. Can&#8217;t find MagickWand.h), http:\/\/stackoverflow.com\/questions\/9050419\/cant-install-rmagick-2-13-1-cant-find-magickwand-h<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc544\ub798\uc640 \uac19\uc740 \uc5d0\ub7ec\ub97c \ub0b4\uba74\uc11c &#8220;gem install rmagick&#8221;\uc774 \uc2e4\ud328\ud560 \uacbd\uc6b0, \uc544\ub798\uc758 &#8220;checking for wand\/MagickWand.h&#8221;\ub97c \uc8fc\uc758\uae4a\uac8c \ubcf4\uc790. magickwand \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \uc124\uce58\ub418\uc5b4<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[135,85],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-ruby-on-rails","category-computer-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8gT1J-6g","_links":{"self":[{"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":2,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/posts\/388\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jinukbaek.com\/blog\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}