Re: [nokogiri-talk] Installing nokogiri on a very closed system

23 views
Skip to first unread message

Mike Dalessio

unread,
May 10, 2013, 8:46:35 AM5/10/13
to nokogiri-talk

Hello,

Try nokogiri 1.6.0.rc1 which packages libxml and libxslt. Then please let the list know how you get on!

Cheers,
-mike

On May 10, 2013 8:44 AM, "Claus Straube" <claus....@gmail.com> wrote:
Hello all,

I'm trying to install nokogiri on a closed Linux system. That means I don't have any root rights. libxml2 and libxslt are installed as shared libs in  /usr/lib/. The following command:

gem install gems/nokogiri-1.5.9.gem -- --with-xslt-lib=/usr/lib/libxslt.so.1.1.26 --with-xml2-lib=/usr/lib/libxml2.so.2.7.6

does not work. The log output (mkmf.log) is:

package configuration for libxslt is not found
package configuration for libxml-2.0 is not found
package configuration for libiconv is not found
find_header: checking for libxml/parser.h... -------------------- no

"cc -E -I. -I/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/native/include/ruby -I. -I-I-I/opt/local/include -I-I-I/usr/local/include -I-I-I/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/native/include -I-I-I/usr/include -I-I-I/usr/include/libxml2 -I/opt/local/include/libxml2 -I/usr/local/include/libxml2 -I/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/native/include/libxml2 -I-I/opt/local/include -I-I/usr/local/include -I-I/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/native/include -I-I/usr/include -I-I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/native/include -I/usr/include -I/usr/include/libxml2         -fPIC  -fno-omit-frame-pointer -fno-strict-aliasing  -fexceptions      -g -DXP_UNIX  conftest.c "
# 1 "conftest.c"
# 1 "/home/claus.straube/tmp/redmine/jruby-1.7.3/lib/ruby/gems/shared/gems/nokogiri-1.5.9/ext/nokogiri//"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "conftest.c"
conftest.c:1:27: error: libxml/parser.h: Datei oder Verzeichnis nicht gefunden
checked program was:
/* begin */
1: #include <libxml/parser.h>
/* end */

--------------------

Any ideas what I have to do? Thanks in advance.

Claus

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at http://groups.google.com/group/nokogiri-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages