Readline.dll missing in 1.8 final?

1.8p3 was missing readline.dll … 1.8 final seems to be missing it as
well. Is it supposed to be distributed with Ruby or not? Both irb and
debug want it on Windows.

This is the mswin distribution found here:
http://www.dm4lab.to/~usa/ruby/index_en.html

Last time I mentioned this, someone offline mailed me a link to download
the .dll – I’ve lost it and just now someone else offline pinged me
about this, but I’d lost the link. Can someone repost the link here on
the list for future edification?

···

Chris
http://clabs.org/blogki

Chris Morris wrote:

Last time I mentioned this, someone offline mailed me a link to
download the .dll – I’ve lost it and just now someone else offline
pinged me about this, but I’d lost the link. Can someone repost the
link here on the list for future edification?

This appears to be the link:
http://jarp.jin.gr.jp/win32/readline-4.3-1-mswin32.zip

···

Chris
http://clabs.org/blogki

Chris Morris wrote:

Last time I mentioned this, someone offline mailed me a link to download
the .dll – I’ve lost it and just now someone else offline pinged me
about this, but I’d lost the link. Can someone repost the link here on
the list for future edification?

Hi,

WATANABE, Hirofumi maintains a very nice collection of
Ruby relevant Windows ports (including readline and gdbm)
on http://jarp.jin.gr.jp

/Christoph

I just downloaded and installed Soap4R on top of my Pragmatic Ruby 1.8.0
on Win2k. After installing the requirements that I didn’t have, such as
devel-logger and http-client2, I got the error at the bottom of this
email when trying to require ‘soap/driver’. This is occurring when
Soap4R tries to discover which XML parser is available, and since 1.8.0
includes rexml, it should find that. But it dies when trying to load
xmlparser.so, which I assume is the library for one of the other
XMLParsers. Changing the order of loading in xsd/xmlparser.rb to try
rexml first got it working for me, but I don’t know what the longterm
solution is. Here’s what I changed:

loaded = false
[
‘xsd/xmlparser/rexmlparser’, # I moved this one to the top
’xsd/xmlparser/xmlscanner’,
‘xsd/xmlparser/xmlparser’,
].each do |lib|

Here’s the error:

[C:\New\Ruby]irb
irb(main):001:0> require 'soap/driver’
Loading compatibility library…
TypeError: XMLParser is not a class
from C:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/xmlparser.so
from C:/ruby/lib/ruby/site_ruby/1.8/xml/parser.rb:5
from
C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser/xmlparser.rb:21:in require' from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser/xmlparser.rb:21 from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:64:inrequire’
from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:64
from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:59:in each' from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:61 from C:/ruby/lib/ruby/site_ruby/1.8/soap/parser.rb:21:inrequire’
from C:/ruby/lib/ruby/site_ruby/1.8/soap/parser.rb:21
from C:/ruby/lib/ruby/site_ruby/1.8/soap/processor.rb:23:in
require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/processor.rb:23 from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/proxy.rb:21:inrequire’
from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/proxy.rb:21
from C:/ruby/lib/ruby/site_ruby/1.8/soap/proxy.rb:20:in require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/proxy.rb:20 from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/driver.rb:21:inrequire’
from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/driver.rb:21
from C:/ruby/lib/ruby/site_ruby/1.8/soap/compat.rb:29:in require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/compat.rb:29 from C:/ruby/lib/ruby/site_ruby/1.8/soap/driver.rb:20:inrequire’
from C:/ruby/lib/ruby/site_ruby/1.8/soap/driver.rb:20
from (irb):1:in `require’
from (irb):1irb(main):002:0>

···


Dean saor, dean saor an spiorad. Is seinn d’orain beo.


Hi,

From: “Joey Gibson” joey@joeygibson.com
Sent: Friday, September 19, 2003 1:57 AM

I just downloaded and installed Soap4R on top of my Pragmatic Ruby 1.8.0
on Win2k. After installing the requirements that I didn’t have, such as
devel-logger and http-client2,

Sorry for your inconvenience. Soap4r and required libraries
will be bundled in the next release of Ruby/1.8.

I got the error at the bottom of this
email when trying to require ‘soap/driver’. This is occurring when
Soap4R tries to discover which XML parser is available, and since 1.8.0
includes rexml, it should find that.

Yes.

But it dies when trying to load
xmlparser.so, which I assume is the library for one of the other
XMLParsers.

Here’s the error:

[C:\New\Ruby]irb
irb(main):001:0> require ‘soap/driver’
Loading compatibility library…
TypeError: XMLParser is not a class
from C:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/xmlparser.so
from C:/ruby/lib/ruby/site_ruby/1.8/xml/parser.rb:5

Hmm. Loading “XMLParser” library which is included in the PragProg
installer seems to be failed.

I downloaded and installed ruby180-10.exe from

It seems to work for me.

C:\ruby\bin>ruby -rxmlparser -e ‘p XML::Parser.new’
#XMLParser:0x2847d68

I’ve no idea now. Is there anyone who met the error?

By the way,

irb(main):001:0> require ‘soap/driver’
Loading compatibility library…

From soap4r/1.5.0, require ‘soap/rpc/driver’ instead of
‘soap/driver’. Warning about loading compatibility library shoud
not be dumped then.

Regards,
// NaHi

I downloaded and installed ruby180-10.exe from
Ruby Windows Installer - Browse Files at SourceForge.net
It seems to work for me.

C:\ruby\bin>ruby -rxmlparser -e ‘p XML::Parser.new’
#XMLParser:0x2847d68

I’ve no idea now. Is there anyone who met the error?

could it be related to the loading order of the variuos files ?
It seem that in file lib/xsd/xmlparser XMLParser is defined as a
module.
Is it possible that at some point appears a thing like this that
overrides the previous definiton of XMLParser as a class ?

require ‘xsd/xmlparser’
=> true
XMLParser.class
=> Module
require ‘xml/parser’
TypeError: XMLParser is not a class
from
C:/Programmi/ruby-1.8/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/xmlpa
rser.so
from
C:/Programmi/ruby-1.8/ruby/lib/ruby/site_ruby/1.8/xml/parser.rb:5
from (irb):3:in `require’
from (irb):3

It seem that the pragprog installer delivers
ruby\lib\ruby\site_ruby\1.8\xml*
(I think it is XMLParser from yoshida masato ) and that in this module
xmlparser.so defines ::XMLParser as a top level class, thus colliding
with the XMLParser definition of XMLParser as a module.

BTW having REXML as the parser fix this problem.

just my 2 cents

···

il Fri, 19 Sep 2003 17:22:35 +0900, “NAKAMURA, Hiroshi” nahi@keynauts.com ha scritto::

Hi,

From: “gabriele renzi” surrender_it@rc1.vip.ukl.yahoo.com
Sent: Friday, September 19, 2003 7:17 PM

I downloaded and installed ruby180-10.exe from
Ruby Windows Installer - Browse Files at SourceForge.net
It seems to work for me.

C:\ruby\bin>ruby -rxmlparser -e ‘p XML::Parser.new’
#XMLParser:0x2847d68

I’ve no idea now. Is there anyone who met the error?

could it be related to the loading order of the variuos files ?
It seem that in file lib/xsd/xmlparser XMLParser is defined as a
module.
Is it possible that at some point appears a thing like this that
overrides the previous definiton of XMLParser as a class ?

Doh! I remember that soap4r introduces XSD module constants
into toplevel. XSD::XMLParser crushes with XMLParser at
toplevel…

Thank you. I’ll fix.

Regards,
// NaHi