[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Gem program -- cannot install libxslt-ruby-0.3.6.gem

Robert Heller

9/17/2008 2:56:00 AM

I am trying to install some version of libxslt-ruby on my CentOS 4.7
Linux system, and I am getting this error:

sauron.deepsoft.com% sudo gem install libxslt-ruby-0.3.6.gem
Password:
Building native extensions. This could take a while...
extconf.rb:58: undefined method `find_header' for main:Object
(NoMethodError)

ERROR: Error installing gem libxslt-ruby-0.3.6.gem[.gem]: ERROR: Failed
to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/libxslt-ruby-0.3.6 for inspection.


Results logged to
/usr/lib/ruby/gems/1.8/gems/libxslt-ruby-0.3.6/ext/xml/gem_make.out

My version of ruby is the stock version for CentOS 4.7:

sauron.deepsoft.com% rpm -qa | grep ruby
ruby-1.8.1-7.el4_6.1
ruby-libs-1.8.1-7.el4_6.1
ruby-devel-1.8.1-7.el4_6.1
ruby-docs-1.8.1-7.el4_6.1
ruby-tcltk-1.8.1-7.el4_6.1
ruby-mode-1.8.1-7.el4_6.1
sauron.deepsoft.com% gem --version
0.9.0
sauron.deepsoft.com% gem list

*** LOCAL GEMS ***

actionmailer (1.2.5)
Service layer for easy email delivery and testing.

actionpack (1.12.5)
Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.1.6)
Web service support for Action Pack.

activerecord (1.14.4)
Implements the ActiveRecord pattern for ORM.

activesupport (1.3.1)
Support and utility classes used by the Rails framework.

libxml-ruby (0.3.6)
LibXML2 bindings for Ruby

rails (1.1.6)
Web-application framework with template engine, control-flow layer,
and ORM.

rake (0.7.1)
Ruby based make-like utility.

rubygems-update (1.0.0, 0.9.2, 0.9.1)
RubyGems Update GEM

sources (0.0.1)
This package provides download sources for remote gem installation

I've narrowed things down to a problem with mkmf.rb -- it is missing a
method named find_header. I don't really know ruby, but if someone can
send me a suitable code fragment, I can certainly patch mkmf.rb. I just
want to get 'spock' (http://hyperstruct.net/proj...) functioning.

--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.dee... -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

11 Answers

Brian Candler

9/17/2008 7:44:00 AM

0

> I've narrowed things down to a problem with mkmf.rb -- it is missing a
> method named find_header. I don't really know ruby, but if someone can
> send me a suitable code fragment, I can certainly patch mkmf.rb.

Well, the latest is available at
http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/l...

However, I found all sorts of things didn't work with 1.8.1 (which is
really ancient), so under RHEL 4 I moved to the 1.8.5 packages from the
CentOS testing repository:
http://dev.centos.org/centos/4/testing/...
and everything was fine. If at all possible in your situation, I'd
strongly recommend it.

Regards,

Brian.

P.S. To get even more up-to-date, you could consider rebuilding the
RHEL5 or Fedora packages for CentOS 4. You need to change one line in
the .spec file (dependency on libX11-devel needs to be changed to
xorg-x11-devel)
--
Posted via http://www.ruby-....

Robert Heller

9/17/2008 4:08:00 PM

0

At Wed, 17 Sep 2008 02:43:39 -0500 Brian Candler <b.candler@pobox.com> wrote:

>
> > I've narrowed things down to a problem with mkmf.rb -- it is missing a
> > method named find_header. I don't really know ruby, but if someone can
> > send me a suitable code fragment, I can certainly patch mkmf.rb.
>
> Well, the latest is available at
> http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/l...
>
> However, I found all sorts of things didn't work with 1.8.1 (which is
> really ancient), so under RHEL 4 I moved to the 1.8.5 packages from the
> CentOS testing repository:
> http://dev.centos.org/centos/4/testing/...
> and everything was fine. If at all possible in your situation, I'd
> strongly recommend it.

It still does not work:

/usr/local/share/bard-spock/spock update.rdf -i
deepwoodstoolbar@deepsoft.com -d ~/.mozilla/mccoy/08c43j81.default/
>update.rdf.signed
/usr/local/share/bard-spock/normalize_update_rdf.rb:22:in `require': no
such file to load -- xml/libxslt (LoadError)
from /usr/local/share/bard-spock/normalize_update_rdf.rb:22
from /usr/local/share/bard-spock/spock:53:in `require'
from /usr/local/share/bard-spock/spock:53

I upgraded to the ruby-1.8.5 pavkages from the centos 4 testing repo,
downloaded and did a 'gem install' of libxml-ruby and libxslt-ruby:

sauron.deepsoft.com% wget -c http://rubyforge.rubyuser.de/gems/libxml-ruby... http://rubyforge.rubyuser.de/gems/libxslt-ruby...
--11:49:35-- http://rubyforge.rubyuser.de/gems/libxml-ruby...
=> `libxml-ruby-0.8.3.gem'
Resolving rubyforge.rubyuser.de... 80.237.222.133
Connecting to rubyforge.rubyuser.de|80.237.222.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 167,424 (164K) [application/octet-stream]

100%[====================================>] 167,424 2.50K/s ETA 00:00

11:50:43 (2.42 KB/s) - `libxml-ruby-0.8.3.gem' saved [167424/167424]

--11:50:43-- http://rubyforge.rubyuser.de/gems/libxslt-ruby...
=> `libxslt-ruby-0.8.2.gem'
Connecting to rubyforge.rubyuser.de|80.237.222.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37,376 (36K) [application/octet-stream]

100%[====================================>] 37,376 2.49K/s ETA 00:00

11:50:59 (2.49 KB/s) - `libxslt-ruby-0.8.2.gem' saved [37376/37376]

FINISHED --11:50:59--
Downloaded: 204,800 bytes in 2 files
sauron.deepsoft.com% sudo gem install libxml-ruby libxslt-ruby
Password:
Building native extensions. This could take a while...
ruby extconf.rb install libxml-ruby libxslt-ruby
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... yes
checking for libxml/xmlversion.h... yes
checking for xmlDocFormatDump()... yes
checking for docbCreateFileParserCtxt()... yes
creating extconf.h
creating Makefile

make
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c cbg.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c libxml.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_attr.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_attributes.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_document.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_dtd.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_html_parser.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_input_cbg.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_node.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_node_set.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_ns.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_parser.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_parser_context.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_reader.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_relaxng.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_sax_parser.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_schema.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_state.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xinclude.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xpath.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xpath_context.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xpath_object.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xpointer.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local/include -c ruby_xml_xpointer_context.c
gcc -shared -rdynamic -Wl,-export-dynamic -L"/usr/lib" -L"/usr/lib" -o libxml_ruby.so cbg.o libxml.o ruby_xml_attr.o ruby_xml_attributes.o ruby_xml_document.o ruby_xml_dtd.o ruby_xml_html_parser.o ruby_xml_input_cbg.o ruby_xml_node.o ruby_xml_node_set.o ruby_xml_ns.o ruby_xml_parser.o ruby_xml_parser_context.o ruby_xml_reader.o ruby_xml_relaxng.o ruby_xml_sax_parser.o ruby_xml_schema.o ruby_xml_state.o ruby_xml_xinclude.o ruby_xml_xpath.o ruby_xml_xpath_context.o ruby_xml_xpath_object.o ruby_xml_xpointer.o ruby_xml_xpointer_context.o -lruby -lxml2 -lc -lz -lm -lnsl -lpthread -ldl -lcrypt -lm -lc

make install
/usr/bin/install -c -m 0755 libxml_ruby.so /usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.8.3/lib

make clean
Successfully installed libxml-ruby, version 0.8.3
Installing ri documentation for libxml-ruby-0.8.3...

No definition for ruby_xml_html_parser_new_file

No definition for ruby_xml_html_parser_new_io

No definition for ruby_xml_html_parser_filename_get

No definition for ruby_xml_html_parser_filename_set

No definition for ruby_xml_html_parser_io_get

No definition for ruby_xml_html_parser_io_set

No definition for input_callbacks_add_scheme

No definition for input_callbacks_remove_scheme

No definition for ruby_xml_node2_new_native

No definition for ruby_xml_parser_context_options_get

No definition for ruby_xml_parser_context_options_set

Enclosing class/module 'cXMLSaxParser' for module Callbacks not known
Installing RDoc documentation for libxml-ruby-0.8.3...

No definition for ruby_xml_html_parser_new_file

No definition for ruby_xml_html_parser_new_io

No definition for ruby_xml_html_parser_filename_get

No definition for ruby_xml_html_parser_filename_set

No definition for ruby_xml_html_parser_io_get

No definition for ruby_xml_html_parser_io_set

No definition for input_callbacks_add_scheme

No definition for input_callbacks_remove_scheme

No definition for ruby_xml_node2_new_native

No definition for ruby_xml_parser_context_options_get

No definition for ruby_xml_parser_context_options_set

Enclosing class/module 'cXMLSaxParser' for module Callbacks not known
Building native extensions. This could take a while...
ruby extconf.rb install libxml-ruby libxslt-ruby
checking for atan() in -lm... no
checking for atan() in -lm... yes
checking for inflate() in -lz... yes
checking for xmlXPtrNewRange() in -lxml2... yes
checking for libxml/xmlversion.h... yes
checking for xsltApplyStylesheet() in -lxslt... yes
checking for xslt.h... no
checking for #include <xslt.h>
... yes
checking for libxml/ruby_libxml.h... yes
checking for libxml/ruby_xml_document.h... yes
creating extconf.h
creating Makefile

make
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.8.3/ext -I/usr/include/libxslt -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -c libxslt.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.8.3/ext -I/usr/include/libxslt -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -c ruby_xslt_stylesheet.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.8.3/ext -I/usr/include/libxslt -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -c ruby_xslt_transform_context.c
gcc -shared -L"/usr/lib" -L"/usr/lib" -o libxslt_ruby.so libxslt.o ruby_xslt_stylesheet.o ruby_xslt_transform_context.o -lruby -lxslt -lxml2 -lz -lm -lpthread -ldl -lcrypt -lm -lc

make install
/usr/bin/install -c -m 0755 libxslt_ruby.so /usr/lib/ruby/gems/1.8/gems/libxslt-ruby-0.8.2/lib

make clean
Successfully installed libxslt-ruby, version 0.8.2
Installing ri documentation for libxslt-ruby-0.8.2...
While generating documentation for libxslt-ruby-0.8.2
... MESSAGE: Unhandled special: Special: type=33, text="The"
... RDOC args: --ri --op /usr/lib/ruby/gems/1.8/doc/libxslt-ruby-0.8.2/ri --quiet lib ext/libxslt
(continuing with the rest of the installation)
Installing RDoc documentation for libxslt-ruby-0.8.2...

What do I need to do now???

All I really want to do is sign a couple of FF3 Toolbar extensions in
a Makefile using a pure CLI command, and not have to manually sign them
with a pointy-clicky tool!

I may end up re-writing this spock tool in Tcl.

>
> Regards,
>
> Brian.
>
> P.S. To get even more up-to-date, you could consider rebuilding the
> RHEL5 or Fedora packages for CentOS 4. You need to change one line in
> the .spec file (dependency on libX11-devel needs to be changed to
> xorg-x11-devel)

--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.dee... -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

Brian Candler

9/17/2008 4:24:00 PM

0

Robert Heller wrote:
> /usr/local/share/bard-spock/normalize_update_rdf.rb:22:in `require': no
> such file to load -- xml/libxslt (LoadError)

Have you done 'require "rubygems"' ?

I'm not familiar with libxslt at all. Check you have
/usr/lib/ruby/gems/1.8/gems/<whatever>/lib/xml/libxslt.rb
--
Posted via http://www.ruby-....

Robert Heller

9/17/2008 6:45:00 PM

0

At Wed, 17 Sep 2008 11:24:02 -0500 Brian Candler <b.candler@pobox.com> wrote:

>
> Robert Heller wrote:
> > /usr/local/share/bard-spock/normalize_update_rdf.rb:22:in `require': no
> > such file to load -- xml/libxslt (LoadError)
>
> Have you done 'require "rubygems"' ?
>
> I'm not familiar with libxslt at all. Check you have
> /usr/lib/ruby/gems/1.8/gems/<whatever>/lib/xml/libxslt.rb

It is not my code. I guess I will need to 'blindly' hack
normalize_update_rdf.rb...


--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.dee... -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

Mark Thomas

9/17/2008 8:33:00 PM

0

> All I really want to do is sign a couple of FF3 Toolbar extensions in
> a Makefile using a pure CLI command, and not have to manually sign them
> with a pointy-clicky tool!

How exactly does libxslt help you do this?

Robert Heller

9/17/2008 8:58:00 PM

0

At Wed, 17 Sep 2008 13:32:55 -0700 (PDT) Mark Thomas <mark@thomaszone.com> wrote:

>
> > All I really want to do is sign a couple of FF3 Toolbar extensions in
> > a Makefile using a pure CLI command, and not have to manually sign them
> > with a pointy-clicky tool!
>
> How exactly does libxslt help you do this?

It is used by the 'spock' program, which is written in Ruby as a CLI
'hack' that allowed the author (of spock) to sign his nightly built
packages (built on a headless server). FF3 extensions use an XML file
(update.rdf) and libxslt is used to parse this file as part of the
process of 'signing' it (computing a signature from the file's contents
and a private key (the public key is in the installer file,
install.rdf). This is so FF3 can verify that the update.rdf is
ligitimate.

The Mozilla Dev crew have this xulrunner application, mccoy, which is a
GUI application for creating key pairs and for signing FF3 extensions.
It is not something that is useful for people who use make and/or
other automated build processes (like ant), esp. not on unattended build
servers.

>

--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.dee... -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

Mark Thomas

9/18/2008 5:14:00 PM

0

One of the comments on the spock blog says:

> Instructions how to get it work on FC8. ...
> You have to download http://gregoire.lejeune.free.fr/ruby-xslt_0....
> Follow instructions there (ruby extconf.rb; make; make doc; make install)
> This will leave xslt.rb in /usr/lib/ruby/site_ruby/1.8/xml/xslt.rb
>
> Apparently, Ruby needs libxslt.rb there, so do:
> sudo mv /usr/lib/ruby/site_ruby/1.8/xml/xslt.rb
> /usr/lib/ruby/site_ruby/1.8/xml/libxslt.rb
>
> Subsequently, spock runs.

Maybe that will help?

Robert Heller

9/18/2008 7:36:00 PM

0

At Thu, 18 Sep 2008 10:13:48 -0700 (PDT) Mark Thomas <mark@thomaszone.com> wrote:

>
> One of the comments on the spock blog says:
>
> > Instructions how to get it work on FC8. ...
> > You have to download http://gregoire.lejeune.free.fr/ruby-xslt_0....
> > Follow instructions there (ruby extconf.rb; make; make doc; make install)
> > This will leave xslt.rb in /usr/lib/ruby/site_ruby/1.8/xml/xslt.rb
> >
> > Apparently, Ruby needs libxslt.rb there, so do:
> > sudo mv /usr/lib/ruby/site_ruby/1.8/xml/xslt.rb
> > /usr/lib/ruby/site_ruby/1.8/xml/libxslt.rb
> >
> > Subsequently, spock runs.
>
> Maybe that will help?

Sort of. I needed additional munging around with links to make the
spock code happy (it seems to have a different idea of where and what
ruby-xslt installs than what either the libxslt-ruby gem or the
ruby-xslt tarball, although the ruby-xslt tarball came closer).

>

--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.dee... -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

pyotr filipivich

5/9/2011 10:12:00 PM

0

I missed the Staff Meeting but the Minutes record that Gunner Asch
<gunnerasch@gmail.com> reported Elvis on Mon, 09 May 2011 14:19:15
-0700 in misc.survivalism:
>On Mon, 9 May 2011 12:09:22 -0500, "Eddie Haskell" <kimnnn@sawqo.com>
>wrote:
>
>>
>>"Harry Hope" <rivuxyz@ix.netcom.com> wrote in message
>>news:EFZH42S140671.6100925926@reece.net.au...
>>
>>> Who put this arrogant jackass in office?
>>
>>These people:
>>
>>http://www.youtube.com/watch?v=g...
>>
>>http://www.youtube.com/watch?v=N...
>>
>>http://www.youtube.com/watch?v=m...
>>
>>http://www.youtube.com/watch?v=1...
>>
>>http://www.youtube.com/watch?v=P...
>>
>>-Eddie Haskell
>>
>This..this is priceless.....
>
>"I voted for..a man..a moment of history... now I want my Obama vote
>back" Gene Simmons, Kiss
>
>http://www.youtube.com/watch?v=WHvYM7S2KFY&featu...

"I voted for Obama to prove that I am not a
racist. Now, who do I vote for to prove that I am not an idiot?" Anon.


tschus
pyotr
--
pyotr filipivich
Just when you think you see the light at the end of the tunnel,
you find out it's a 900lb gorilla with a flashlight!!

Eddie Haskell

5/10/2011 2:47:00 PM

0


"pyotr filipivich" <phamp@mindspring.com> wrote in message
news:h8pgs6ljufib7bp341s3ap9bf8fni4eg8l@4ax.com...
>I missed the Staff Meeting but the Minutes record that Gunner Asch
> <gunnerasch@gmail.com> reported Elvis on Mon, 09 May 2011 14:19:15
> -0700 in misc.survivalism:
>>On Mon, 9 May 2011 12:09:22 -0500, "Eddie Haskell" <kimnnn@sawqo.com>
>>wrote:
>>
>>>
>>>"Harry Hope" <rivuxyz@ix.netcom.com> wrote in message
>>>news:EFZH42S140671.6100925926@reece.net.au...
>>>
>>>> Who put this arrogant jackass in office?
>>>
>>>These people:
>>>
>>>http://www.youtube.com/watch?v=g...
>>>
>>>http://www.youtube.com/watch?v=N...
>>>
>>>http://www.youtube.com/watch?v=m...
>>>
>>>http://www.youtube.com/watch?v=1...
>>>
>>>http://www.youtube.com/watch?v=P...
>>>
>>>-Eddie Haskell
>>>
>>This..this is priceless.....
>>
>>"I voted for..a man..a moment of history... now I want my Obama vote
>>back" Gene Simmons, Kiss
>>
>>http://www.youtube.com/watch?v=WHvYM7S2KFY&featu...
>
> "I voted for Obama to prove that I am not a
> racist. Now, who do I vote for to prove that I am not an idiot?" Anon.

Good one.

-Eddie Haskell