• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Ruby-Start auf OS 11.3 - gr. komplikationen beim Einrichten!

guten Abend Community,

Also - zu allererst: ich bin nicht sicher, ob ich mit diesem Thread hier auch im richtigen Forum bin. "Ruby-Start auf OS 11.3 - gr. komplikationen beim Einrichten!"

Hmmm - aber da ich via Paketmanager installiert habe denke ich dass das hier mal so stehen kann: Worum es geht!?

Bin neu bei Ruby. Versuche eben mit Ruby auf OpenSuse 11.3 zu starten. Beim Einrichten über YAST hab ich ein paar Komplikationen bekommen: Es gab Konflikte - ich hab dem nicht viel beigemessen.

Jetzt ist Mechanize nicht integriert. Geht das nur über Nokogiri oder gibts da noch andere Moeglichkeiten?

Bitte schaut euch das mal an!

Code:
ERROR: Error installing mechanize:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt 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=/usr/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

Code:
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.4 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/nokogiri-1.4.4/ext/nokogiri/gem_make.out
suse-linux:~ #


freu mich auf tipps

grüße
lin :/
 
OP
L

lin

hi Robert,

danke fürs schnelle Antworten! WERD ICH GLEICH MAL MACHEN

RME schrieb:
Hallo lin,

...
libxslt is missing. please visit
...

Mal soviel -- via YaST installieren:

libxslt - XSL Transformation Library

Gruss,
Roland

Installiert: doch immer noch krieg ich den Error:

swiss_shools.rb:4: in `require': no such file to load -- mechanize (LoadError)

Was ist noch nicht in Ordnung!?

Robert, ich mach nochmals ein paar Tests. Wenn dir noch was einfällt, ich bin für alle Tipps danbar!

Grüße
lin
 
Es fehlt Dir noch ruby gem mechanize

Da kenn ich mich nicht aus, aber siehe mal:

http://mechanize.rubyforge.org/mechanize/

http://nokogiri.org/

http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/

----
Aber auch via YaST (>>> rubygem) wirst Du vielleicht fündig?

Roland
 
Oben