{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/12","labels_url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/12/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/12/events","html_url":"https://github.com/algolia/algoliasearch-jekyll/issues/12","id":115521871,"number":12,"title":"Zlib missing ","user":{"login":"jonathanulco","id":164912,"avatar_url":"https://avatars.githubusercontent.com/u/164912?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanulco","html_url":"https://github.com/jonathanulco","followers_url":"https://api.github.com/users/jonathanulco/followers","following_url":"https://api.github.com/users/jonathanulco/following{/other_user}","gists_url":"https://api.github.com/users/jonathanulco/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanulco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanulco/subscriptions","organizations_url":"https://api.github.com/users/jonathanulco/orgs","repos_url":"https://api.github.com/users/jonathanulco/repos","events_url":"https://api.github.com/users/jonathanulco/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanulco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T15:07:02Z","updated_at":"2015-11-06T15:18:19Z","closed_at":null,"body":"Hello i'm a noob on ruby and i try to install gem algoliasearch-jekyll with command line like this and i have this issue\r\n```\r\nwaratah@waratah-MS-7519:~$ sudo gem install algoliasearch-jekyll\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing algoliasearch-jekyll:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n        /usr/bin/ruby1.9.1 extconf.rb\r\nchecking if the C compiler accepts ... yes\r\nBuilding nokogiri using packaged libraries.\r\nchecking for gzdopen() in -lz... no\r\nzlib is missing; necessary for building libxml2\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of\r\nnecessary libraries and/or headers.  Check the mkmf.log file for more\r\ndetails.  You may need configuration options.\r\n\r\nProvided configuration options:\r\n\t--with-opt-dir\r\n\t--without-opt-dir\r\n\t--with-opt-include\r\n\t--without-opt-include=${opt-dir}/include\r\n\t--with-opt-lib\r\n\t--without-opt-lib=${opt-dir}/lib\r\n\t--with-make-prog\r\n\t--without-make-prog\r\n\t--srcdir=.\r\n\t--curdir\r\n\t--ruby=/usr/bin/ruby1.9.1\r\n\t--help\r\n\t--clean\r\n\t--use-system-libraries\r\n\t--enable-static\r\n\t--disable-static\r\n\t--with-zlib-dir\r\n\t--without-zlib-dir\r\n\t--with-zlib-include\r\n\t--without-zlib-include=${zlib-dir}/include\r\n\t--with-zlib-lib\r\n\t--without-zlib-lib=${zlib-dir}/lib\r\n\t--enable-cross-build\r\n\t--disable-cross-build\r\n\r\n\r\nGem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.6.6.2 for inspection.\r\nResults logged to /var/lib/gems/1.9.1/gems/nokogiri-1.6.6.2/ext/nokogiri/gem_make.out\r\n```\r\nHow can i fix it ? \r\nThx"},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/comments/154435284","html_url":"https://github.com/algolia/algoliasearch-jekyll/issues/12#issuecomment-154435284","issue_url":"https://api.github.com/repos/algolia/algoliasearch-jekyll/issues/12","id":154435284,"user":{"login":"Jerskouille","id":5095856,"avatar_url":"https://avatars.githubusercontent.com/u/5095856?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerskouille","html_url":"https://github.com/Jerskouille","followers_url":"https://api.github.com/users/Jerskouille/followers","following_url":"https://api.github.com/users/Jerskouille/following{/other_user}","gists_url":"https://api.github.com/users/Jerskouille/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerskouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerskouille/subscriptions","organizations_url":"https://api.github.com/users/Jerskouille/orgs","repos_url":"https://api.github.com/users/Jerskouille/repos","events_url":"https://api.github.com/users/Jerskouille/events{/privacy}","received_events_url":"https://api.github.com/users/Jerskouille/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T15:18:19Z","updated_at":"2015-11-06T15:18:19Z","body":"Depending on your system, can you try `your_package_manager(brew, apt-get, yum, ...) install zlib` and retry installing it ?\r\nI'd also recommend you to use a `Gemfile` to manage your dependencies, but that's up to you."}}