{"action":"created","issue":{"url":"https://api.github.com/repos/rmagick/rmagick/issues/130","repository_url":"https://api.github.com/repos/rmagick/rmagick","labels_url":"https://api.github.com/repos/rmagick/rmagick/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/rmagick/rmagick/issues/130/comments","events_url":"https://api.github.com/repos/rmagick/rmagick/issues/130/events","html_url":"https://github.com/rmagick/rmagick/issues/130","id":46081796,"number":130,"title":"Native extension building fails for Debian Jessie","user":{"login":"michaelfranzl","id":72123,"avatar_url":"https://avatars.githubusercontent.com/u/72123?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelfranzl","html_url":"https://github.com/michaelfranzl","followers_url":"https://api.github.com/users/michaelfranzl/followers","following_url":"https://api.github.com/users/michaelfranzl/following{/other_user}","gists_url":"https://api.github.com/users/michaelfranzl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelfranzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelfranzl/subscriptions","organizations_url":"https://api.github.com/users/michaelfranzl/orgs","repos_url":"https://api.github.com/users/michaelfranzl/repos","events_url":"https://api.github.com/users/michaelfranzl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelfranzl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-10-17T09:45:18Z","updated_at":"2016-02-27T12:01:26Z","closed_at":"2014-11-13T21:40:43Z","body":"Debian Jessie (currently Debian testing, will be frozen in November 2014) has changed installation locations of headers and other files required for the native extension building of rmagick. Here is the output:\r\n\r\n```\r\ngem install rmagick -v '2.13.2'\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing rmagick:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    /home/rvmuser/.rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb\r\nchecking for Ruby version >= 1.8.5... yes\r\nchecking for gcc... yes\r\nchecking for Magick-config... no\r\nCan't install RMagick 2.13.2. Can't find Magick-config in /home/rvmuser/.rvm/gems/ruby-1.9.3-p547@wheezy/bin:/home/rvmuser/.rvm/gems/ruby-1.9.3-p547@global/bin:/home/rvmuser/.rvm/rubies/ruby-1.9.3-p547/bin:/home/rvmuser/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games\r\n\r\n*** extconf.rb failed ***\r\n```\r\n\r\nHere, `/usr/bin/Magick-config` is not found. However, in Debian Jessie it now is `/usr/bin/GraphicsMagick-config`. Its output is:\r\n\r\n    GraphicsMagick-config --cppflags\r\n    -I/usr/include/GraphicsMagick\r\n\r\n    GraphicsMagick-config --cflags\r\n    -fopenmp -Wall -g -fno-strict-aliasing -O2 -Wall -pthread\r\n\r\n    GraphicsMagick-config --ldflags\r\n    -L/usr/lib -L/usr/lib/X11 -L/usr/lib -L/usr/lib\r\n\r\n    GraphicsMagick-config --libs\r\n    -lGraphicsMagick -ljbig -llcms2 -ltiff -lfreetype -ljasper -ljpeg -lpng12 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread\r\n\r\nCould the extconf.rb script of rmagick be adapted for Debian Jessie?\r\n\r\nFYI, here is the related Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764899"},"comment":{"url":"https://api.github.com/repos/rmagick/rmagick/issues/comments/189624485","html_url":"https://github.com/rmagick/rmagick/issues/130#issuecomment-189624485","issue_url":"https://api.github.com/repos/rmagick/rmagick/issues/130","id":189624485,"user":{"login":"lowski","id":1379988,"avatar_url":"https://avatars.githubusercontent.com/u/1379988?v=3","gravatar_id":"","url":"https://api.github.com/users/lowski","html_url":"https://github.com/lowski","followers_url":"https://api.github.com/users/lowski/followers","following_url":"https://api.github.com/users/lowski/following{/other_user}","gists_url":"https://api.github.com/users/lowski/gists{/gist_id}","starred_url":"https://api.github.com/users/lowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowski/subscriptions","organizations_url":"https://api.github.com/users/lowski/orgs","repos_url":"https://api.github.com/users/lowski/repos","events_url":"https://api.github.com/users/lowski/events{/privacy}","received_events_url":"https://api.github.com/users/lowski/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T12:01:26Z","updated_at":"2016-02-27T12:01:26Z","body":"For me `apt-get build-dep ruby-rmagick` didn't work - it asked me about url in source file. I have make it work with this:\r\n\r\n```\r\nRUN apt-get install -y imagemagick libmagickwand-dev libcurl3-dev\r\n\r\nRUN ln -s /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/Magick-config /usr/bin/Magick-config\r\n```"}}