Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similar bug someone had 2 years ago: invalid ELF header problem #68

Open
XULRunner42 opened this issue Oct 5, 2012 · 1 comment
Open

Comments

@XULRunner42
Copy link

it's not just those samples (referencing #16 which sounds like it's having similar errors to what I'm having now)

Using ubuntu precise, with rvm head and latest ruby 1.9.3-p194

try gshoes -m
I get invalid elf headers for hpricot_scan.so

It is resolved with gem install hpricot, removing the binary hpricot_scan.so from lib/ext/ (along with hpricot.rb and hpricot/), building the green_shoes gem from source using rake install, and try gshoes -m again. I can now read the shoes manual through shoes. The only problem I notice is that the navigation bar on the left is slightly not tall enough. to_html overlaps the last entry. Everything looks great! But I don't hear any theme music.

I found similar win32 DLLs that were not causing me any problems in chipmunk and bloops, I could not immediately resolve bloops with rubygems, but eventually found it as bloopsaphone, there is also highlighter and projector that don't seem to have any strange binaries in them. If you can tell me what these are meant to do, I will report back whether the feature is working now or not.

I also got 'projector' from rubygems and put it in a Gemfile, took it out of lib/ext, but I could not find a gem for 'highlighter'... looking at it I guess it appears to be something you made, sounds useful!

@ashbb
Copy link
Owner

ashbb commented Oct 6, 2012

@XULRunner42 Thanks for using Green Shoes. :)

It is resolved with gem install hpricot, removing the binary hpricot_scan.so from lib/ext/ (along with hpricot.rb and hpricot/)

Yes, the green_shoes/lib/ext/hpricot/hpricot_scan.so is a binary file for only Windows.
So, on Linux and OSX, you have to install hpricot gem.
But I think it's not necessary to remove green_shoes/lib/ext/hpricot to open Green Shoes built-in manual. Look at the code: green_shoes/lib/shoes/help.rb line 1-5.

The only problem I notice is that the navigation bar on the left is slightly not tall enough. to_html overlaps the last entry.

Oh, too bad... I'm a Windows user. It's not easy to use Linux box for now. So, could you take a screenshot?

But I don't hear any theme music.

Ah,... the chipmunk.so and bloops.so are binary files for Windows.
Sorry, I have never play chipmunk and bloopsaphone on Linux and OSX. xx-P

The highlighter and projector use no binary files. So, I think they work on every platforms. Do you have any troubles?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants