{"id":1290,"date":"2011-11-24T22:54:31","date_gmt":"2011-11-24T13:54:31","guid":{"rendered":"https:\/\/wp-78qb7hnp.pistolfly.jp\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html"},"modified":"2011-11-24T22:54:31","modified_gmt":"2011-11-24T13:54:31","slug":"cant-install-rmagick-2131-cant","status":"publish","type":"post","link":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html","title":{"rendered":"Can't install RMagick 2.13.1. Can't find MagickWand.h."},"content":{"rendered":"<p>ImageMagick 6.7.3-7\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306b\u3001gem\u3067RMagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002<\/p>\n<pre class=\"command-line\">$ sudo gem install rmagick\nBuilding native extensions.  This could take a while...\nERROR:  Error installing rmagick:\n\tERROR: Failed to build gem native extension.\n        \/opt\/ruby-enterprise-1.8.7-2011.03\/bin\/ruby extconf.rb\nchecking for Ruby version >= 1.8.5... yes\nchecking for gcc... yes\nchecking for Magick-config... yes\nchecking for ImageMagick version >= 6.4.9... yes\nchecking for HDRI disabled version of ImageMagick... yes\nPackage MagickCore was not found in the pkg-config search path.\nPerhaps you should add the directory containing `MagickCore.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'MagickCore' found\nPackage MagickCore was not found in the pkg-config search path.\nPerhaps you should add the directory containing `MagickCore.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'MagickCore' found\nPackage MagickCore was not found in the pkg-config search path.\nPerhaps you should add the directory containing `MagickCore.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'MagickCore' found\nPackage MagickCore was not found in the pkg-config search path.\nPerhaps you should add the directory containing `MagickCore.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'MagickCore' found\nchecking for stdint.h... yes\nchecking for sys\/types.h... yes\nchecking for wand\/MagickWand.h... no\nCan't install RMagick 2.13.1. Can't find MagickWand.h.\n*** extconf.rb failed ***\nCould not create Makefile due to some reason, probably lack of\nnecessary libraries and\/or headers.  Check the mkmf.log file for more\ndetails.  You may need configuration options.\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=\/opt\/ruby-enterprise-1.8.7-2011.03\/bin\/ruby\nGem files will remain installed in \/opt\/ruby-enterprise-1.8.7-2011.03\/lib\/ruby\/gems\/1.8\/gems\/rmagick-2.13.1 for inspection.\nResults logged to \/opt\/ruby-enterprise-1.8.7-2011.03\/lib\/ruby\/gems\/1.8\/gems\/rmagick-2.13.1\/ext\/RMagick\/gem_make.out\n<\/pre>\n<p>ImageMagick\u306f6.7.3-7\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u3002<br \/>\nImageMagick 6.6.9-10\u306e\u5834\u5408\u306f\u3001Rmagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u3002<\/p>\n<h3>\u5bfe\u51e6\u65b9\u6cd5<\/h3>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3001<\/p>\n<pre class=\"command-line\">Perhaps you should add the directory containing `MagickCore.pc'\nto the PKG_CONFIG_PATH environment variable\n<\/pre>\n<p>\u3068\u3042\u308b\u306e\u3067\u3001MagickCore.pc\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u63a2\u3057\u3066\u3001PKG_CONFIG_PATH\u306b\u30bb\u30c3\u30c8\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u3002<\/p>\n<pre class=\"command-line\">$ find \/usr\/local -name MagickCore.pc\n\/usr\/local\/lib\/pkgconfig\/MagickCore.pc\n$ sudo PKG_CONFIG_PATH=\/usr\/local\/lib\/pkgconfig gem install rmagick\nBuilding native extensions.  This could take a while...\nSuccessfully installed rmagick-2.13.1\n1 gem installed\nInstalling ri documentation for rmagick-2.13.1...\nInstalling RDoc documentation for rmagick-2.13.1...\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ImageMagick 6.7.3-7\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306b\u3001gem\u3067RMagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002 $ sudo gem install rmagick Buildin &hellip; <a href=\"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Can't install RMagick 2.13.1. Can't find MagickWand.h.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27],"tags":[],"class_list":["post-1290","post","type-post","status-publish","format-standard","hentry","category-ruby","ja"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Can&#039;t install RMagick 2.13.1. Can&#039;t find MagickWand.h. - Pistolfly<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Can&#039;t install RMagick 2.13.1. Can&#039;t find MagickWand.h. - Pistolfly\" \/>\n<meta property=\"og:description\" content=\"ImageMagick 6.7.3-7\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306b\u3001gem\u3067RMagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002 $ sudo gem install rmagick Buildin &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Can&#039;t install RMagick 2.13.1. Can&#039;t find MagickWand.h. &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html\" \/>\n<meta property=\"og:site_name\" content=\"Pistolfly\" \/>\n<meta property=\"article:published_time\" content=\"2011-11-24T13:54:31+00:00\" \/>\n<meta name=\"author\" content=\"Pistolfly\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pistolfly\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html\"},\"author\":{\"name\":\"Pistolfly\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"headline\":\"Can't install RMagick 2.13.1. Can't find MagickWand.h.\",\"datePublished\":\"2011-11-24T13:54:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html\"},\"wordCount\":23,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"articleSection\":[\"Ruby\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html\",\"name\":\"Can't install RMagick 2.13.1. Can't find MagickWand.h. - Pistolfly\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\"},\"datePublished\":\"2011-11-24T13:54:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2011\\\/11\\\/cant-install-rmagick-2131-cant.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Can't install RMagick 2.13.1. Can't find MagickWand.h.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/\",\"name\":\"Pistolfly\",\"description\":\"Developer Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\",\"name\":\"Pistolfly\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"caption\":\"Pistolfly\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\"},\"description\":\"Software Engineer in Tokyo, Japan\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/author\\\/pistolfly\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Can't install RMagick 2.13.1. Can't find MagickWand.h. - Pistolfly","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html","og_locale":"ja_JP","og_type":"article","og_title":"Can't install RMagick 2.13.1. Can't find MagickWand.h. - Pistolfly","og_description":"ImageMagick 6.7.3-7\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u74b0\u5883\u306b\u3001gem\u3067RMagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002 $ sudo gem install rmagick Buildin &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Can't install RMagick 2.13.1. Can't find MagickWand.h. &rarr;","og_url":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html","og_site_name":"Pistolfly","article_published_time":"2011-11-24T13:54:31+00:00","author":"Pistolfly","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"Pistolfly","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html#article","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html"},"author":{"name":"Pistolfly","@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"headline":"Can't install RMagick 2.13.1. Can't find MagickWand.h.","datePublished":"2011-11-24T13:54:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html"},"wordCount":23,"commentCount":0,"publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"articleSection":["Ruby"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html","url":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html","name":"Can't install RMagick 2.13.1. Can't find MagickWand.h. - Pistolfly","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#website"},"datePublished":"2011-11-24T13:54:31+00:00","breadcrumb":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pistolfly.com\/weblog\/2011\/11\/cant-install-rmagick-2131-cant.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.pistolfly.com\/weblog"},{"@type":"ListItem","position":2,"name":"Can't install RMagick 2.13.1. Can't find MagickWand.h."}]},{"@type":"WebSite","@id":"https:\/\/www.pistolfly.com\/weblog\/#website","url":"https:\/\/www.pistolfly.com\/weblog\/","name":"Pistolfly","description":"Developer Blog","publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pistolfly.com\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab","name":"Pistolfly","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","caption":"Pistolfly"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g"},"description":"Software Engineer in Tokyo, Japan","url":"https:\/\/www.pistolfly.com\/weblog\/author\/pistolfly"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paorzz-kO","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/1290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/comments?post=1290"}],"version-history":[{"count":0,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/1290\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/media?parent=1290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/categories?post=1290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/tags?post=1290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}