librelist archives

« back to archive

Building Shoes on Windows: missing Hpricot_scan.so and fast_xs.so

Building Shoes on Windows: missing Hpricot_scan.so and fast_xs.so

From:
i5m
Date:
2009-12-17 @ 15:47
I can't remember if it's always been like this, or whether this is a recent
thing, but at the moment, if you build Shoes on Windows it will be missing
these two files:

/dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.so
/dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot_scan.so

It is easy to work around simply by pasting them in from the gem from my
Windows Ruby 1.9 install. (Hence why I can't remember if I always fixed it
this way or not.) You won't notice they are missing until you use a Shoes
app that uses Hpricot.

Looking in the req folder there is obviously reference to them:

/req/hpricot/ext/fast_xs/
/req/hpricot/ext/hpricot_scan/

So I'm guessing these files are meant to get built, but don't? I can't
figure out where in the Rakefile though. Anyone got any ideas?

Cheers,

i5m

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B

Re: Building Shoes on Windows: missing Hpricot_scan.so and fast_xs.so

From:
i5m
Date:
2009-12-22 @ 09:10
Same on OSX PPC as well.

Building shoes doesn't generate the fast_xs.bundle and  
hpricot_scan.bundle files. Have to copy them in from another gem  
install.

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B

On 17 Dec 2009, at 15:47, i5m wrote:

> I can't remember if it's always been like this, or whether this is a  
> recent thing, but at the moment, if you build Shoes on Windows it  
> will be missing these two files:
>
> /dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.so
> /dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot_scan.so
>