At 12:06 PM -0600 3/17/09, Charlie Savage wrote:
What can I do to get a stack trace?
I'll let people more knowledgeable than I am on OS X anser. But at
a minimum, compile the bindings with debug info (-g). And then
maybe use this:
Would I do that with an invocation like this somehow:
s
At 5:18 PM -0400 3/17/09, Joe Khoobyar wrote:
I've got an OS X box, I can try it out if you want.
Joe,
That would be great -- I haven't had time to get back to the problem.
___
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org
At 10:23 PM -0600 3/16/09, Charlie Savage wrote:
Hi Stephen,
Here's the result running on MacOS 10.5.6
$ ruby test_attack_xml_with_libxml.rb
Loaded suite test_attack_xml
Started
/Library/Ruby/Gems/1.8/gems/libxml-ruby-1.1.2/lib/libxml/node.rb:100:
[BUG] Bus Error
ruby 1.8.6 (2008-03-03) [uni
On Mon, Mar 16, 2009 at 8:50 PM, Stephen Bannasch
wrote:
In working on the rails xml_mini backend tests I found a test generating a
> bus error when using libxml-ruby-1.1.2.
This works fine for me. What version of libxml2 are you running? Use
this command to find out:
ruby -rubyg
In working on the rails xml_mini backend tests I found a test
generating a bus error when using libxml-ruby-1.1.2.
Here's a stand-alone adaptation of the test that runs on the just
released Rails 2.3.2:
file: test_attack_xml.rb
require 'rubygems'
require 'test/unit'
require 'activesupport'
At 3:11 PM -0600 3/16/09, Charlie Savage wrote:
Stephen,
And where is the Hash#to_xml method defined?
It's part of what an activesupport xml_mini backend does.
Take a look in the rails source code here:
activesupport/lib/active_support/xml_mini
Which you can see here:
http://github.com/r
FYI:
I've got a bug in a Rails lighthouse ticket
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2258-libxml-xml_mini-backend-producing-incorrect-hashes
Showing a case where the libxml backend produces an incorrect hash.
Would be great to get this fixed before the next relea
Stephen Bannasch wrote:
Stephen Bannasch wrote:
Is there a way to get more clues about the compilation problem?
It definitely seems like libm and zlib are installed.
mkmf.log: http://gist.github.com/45885
gem_make.out: http://gist.github.com/45886
It looks like ruby-devel is missing
Stephen Bannasch wrote:
Is there a way to get more clues about the compilation problem?
It definitely seems like libm and zlib are installed.
mkmf.log: http://gist.github.com/45885
gem_make.out: http://gist.github.com/45886
It looks like ruby-devel is missing which is probably going to
Is there a way to get more clues about the compilation problem?
It definitely seems like libm and zlib are installed.
mkmf.log: http://gist.github.com/45885
gem_make.out: http://gist.github.com/45886
___
libxml-devel mailing list
libxml-devel@rubyf
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
micalg=sha1; boundary="ms010809070802090204060207"
Hi Stephen,
extconf failure: need libm
Well, is libm installed?
Seems like it is:
$ rpm -q glibc-devel
glibc-devel-2.5-24
$ rpm -ql glibc-deve
$ uname -r
2.6.18-92.1.10.el5PAE
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2
mkmf.log: http://gist.github.com/45885
gem_make.out: http://gist.github.com/45886
$ sudo gem install libxml-ruby
Building native extensions. This could take a while...
ERROR: Error insta
At 9:41 PM -0700 11/19/08, Charlie Savage wrote:
Hi Stephan,
I've updated my simple ruby xml benchmark which measures the time to
open a 98k XML document and count one type of leaf element (466 entries)
100 times.
https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/
T
[BTW: The new documentation looks great Charlie!]
I've updated my simple ruby xml benchmark which measures the time to
open a 98k XML document and count one type of leaf element (466
entries) 100 times.
https://svn.concord.org/svn/projects/trunk/common/ruby/xml_benchmarks/
The summary is t
I've got a bunch of older lbxml gems installed:
$ gem list libxml
*** LOCAL GEMS ***
libxml-ruby (0.8.3, 0.8.0, 0.6.0, 0.3.8.4)
But installing 0.9.1 fails to build the native extensions
[dev]$ sudo gem update libxml
Updating installed gems
Updating libxml-ruby
Building native extensions. Thi
FYI:
I've been using libxml in some projects and have been getting into
JRuby which gives me access to Java xml libraries from Ruby. I
thought people on this list might be interested some simple
benchmarking I did a couple of months ago.
I'm hoping to use Hpricot for general XML processing
At 7:30 AM -0400 3/26/08, Trans wrote:
>Just released 0.5.4 that should fix this problem.
>
>> On my system the gem is located here:
>>
>> /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.3
>>
>> The location of extconf.rb is here:
>>
>> ./ext/libxml/extconf.rb
>>
> > Executing that file produces
At 6:59 PM -0800 2/27/08, Trans wrote:
>On Feb 27, 1:43 pm, Calvin Bascom <[EMAIL PROTECTED]> wrote:
>> I ran into this as well installing the 0.5.3 gem on both CentOS and
>> Fedora platforms. To get it working I had to rebuild the .so file
>> manually after the gem install:
>>
> > cd /usr/local/l
I got lots of "No definition for ..." messages when doing a gem
install of the most recent libxml-ruby -- is this OK?
System: macosx 10.4.10
$ sudo gem update 'libxml-ruby'
Updating installed gems...
Need to update 28 gems from http://gems.rubyforge.org
complete
Atte
19 matches
Mail list logo