Created
December 29, 2009 19:39
-
-
Save brynary/265526 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@domU-12-31-39-0A-95-71:~/src/chef/chef-solr# rake install | |
(in /root/src/chef/chef-solr) | |
Generated: chef-solr.gemspec | |
chef-solr.gemspec is valid. | |
WARNING: no description specified | |
WARNING: no rubyforge_project specified | |
Successfully built RubyGem | |
Name: chef-solr | |
Version: 0.8.0 | |
File: chef-solr-0.8.0.gem | |
Executing "gem1.8 install ./pkg/chef-solr-0.8.0.gem": | |
gem1.8 install ./pkg/chef-solr-0.8.0.gem | |
Building native extensions. This could take a while... | |
ERROR: Error installing ./pkg/chef-solr-0.8.0.gem: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.8 extconf.rb | |
checking for socket() in -lsocket... no | |
checking for gethostbyname() in -lnsl... yes | |
checking for atan() in -lm... no | |
checking for atan() in -lm... yes | |
checking for inflate() in -lz... yes | |
checking for iconv_open() in -liconv... no | |
checking for libiconv_open() in -liconv... no | |
checking for libiconv_open() in -llibiconv... no | |
checking for iconv_open() in -llibiconv... no | |
checking for iconv_open() in -lc... yes | |
checking for xmlParseDoc() in -lxml2... no | |
checking for xmlParseDoc() in -llibxml2... no | |
checking for xmlParseDoc() in -lxml2... no | |
*** 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 | |
--with-iconv-dir | |
--without-iconv-dir | |
--with-iconv-include | |
--without-iconv-include=${iconv-dir}/include | |
--with-iconv-lib | |
--without-iconv-lib=${iconv-dir}/lib | |
--with-zlib-dir | |
--without-zlib-dir | |
--with-zlib-include | |
--without-zlib-include=${zlib-dir}/include | |
--with-zlib-lib | |
--without-zlib-lib=${zlib-dir}/lib | |
--with-socketlib | |
--without-socketlib | |
--with-nsllib | |
--without-nsllib | |
--with-mlib | |
--without-mlib | |
--with-mlib | |
--without-mlib | |
--with-zlib | |
--without-zlib | |
--with-iconvlib | |
--without-iconvlib | |
--with-iconvlib | |
--without-iconvlib | |
--with-libiconvlib | |
--without-libiconvlib | |
--with-libiconvlib | |
--without-libiconvlib | |
--with-clib | |
--without-clib | |
--with-xml2-config | |
--without-xml2-config | |
--with-xml2-dir | |
--without-xml2-dir | |
--with-xml2-include | |
--without-xml2-include=${xml2-dir}/include | |
--with-xml2-lib | |
--without-xml2-lib=${xml2-dir}/lib | |
--with-xml2lib | |
--without-xml2lib | |
--with-libxml2lib | |
--without-libxml2lib | |
--with-xml2lib | |
--without-xml2lib | |
extconf failure: need libxml2. | |
Install the library or try one of the following options to extconf.rb: | |
--with-xml2-config=/path/to/xml2-config | |
--with-xml2-dir=/path/to/libxml2 | |
--with-xml2-lib=/path/to/libxml2/lib | |
--with-xml2-include=/path/to/libxml2/include | |
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3 for inspection. | |
Results logged to /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/ext/libxml/gem_make.out | |
rake aborted! | |
Command failed with status (1): [gem1.8 install ./pkg/chef-solr-0.8.0.gem...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment