Hello, has anybody migrated from bitnami stack to chili?
After figuring out how to use/install bundler in the stack, 'bundle install' stopped when installing nokogiri. So I went on with 'gem install nokogiri 1.5.2'. This stops with 'libxml2 missing'.
Because I don't know ruby at all, linux not very good, I decided to put some questions here.
First, there is a libxml2 folder in the stack: /redmine-1.1.2-1/common/include/libxml2/libxml
Isn't that the library the installer is looking for?
Then, nokogiri.org provides a tutorial for issues with dependencies. Is it possible to follow that tutorial, say installing the dependencies to general centos folders, outside the bitnami stack, and the installer will work?
Any hints/suggestions are welcome.
gem_make.out:
@/home/ender/redmine-1.2.1-1/ruby/bin/ruby extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
- 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=/home/ender/redmine-1.2.1-1/ruby/bin/ruby
--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-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--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-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
@
mkmf.log:
@find_header: checking for libxml/parser.h... -------------------- no
"gcc -E -I. -I/home/ender/redmine-1.2.1-1/ruby/lib/ruby/1.8/x86_64-linux -I. -I-I-I/opt/local/include -I-I-I/usr/local/include -I-I-I/home/ender/redmine-1.2.1-1/ruby/include -I-I-I/usr/include -I-I-I/usr/include/libxml2 -I/opt/local/include/libxml2 -I/usr/local/include/libxml2 -I/home/ender/redmine-1.2.1-1/ruby/include/libxml2 -I-I/opt/local/include -I-I/usr/local/include -I-I/home/ender/redmine-1.2.1-1/ruby/include -I-I/usr/include -I-I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/home/ender/redmine-1.2.1-1/ruby/include -I/usr/include -I/usr/include/libxml2 -DAI_ADDRCONFIG=0 -I/home/ender/redmine-1.2.1-1/common/include -DAI_ADDRCONFIG=0 -I/home/ender/redmine-1.2.1-1/common/include -I/home/ender/redmine-1.2.1-1/common/include -m64 -fPIC -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c -o conftest.i"
checked program was:
/* begin /
1: #include <libxml/parser.h>
/ end */
--------------------
@