librelist archives

« back to archive

building Shoes, getting error on MRI192 encoding.h

building Shoes, getting error on MRI192 encoding.h

From:
Chuck Remes
Date:
2011-09-26 @ 20:27
Now that the dependencies are all building (thanks Luis & Jon) I have 
moved on to trying to get the Shoes exe building.

Shoes is built with a pretty simple recipe task:

    task :compile => [:configure, :compiler, :dependencies] do
      cd package.build_target do
        sh "rake win32:build"
      end
    end


During the compilation, the Shoes rakefile blows up complaining about 
errors in C:/Ruby192/include/ruby-1.9.1/ruby/encoding.h. I kind of doubt 
that what it's complaining about is a genuine problem since RubyInstaller 
had no trouble building it earlier. I'm hoping this error looks familiar 
to someone and you can point me to the real culprit.

http://skitch.com/cremes/fhn54/header-error

cr

PS - if there is a way to copy & paste from a Windows command prompt, I'd 
love to know about it. Taking screen shots seems like a waste just to get 
some text.

Re: [shoes] building Shoes, getting error on MRI192 encoding.h

From:
Timothy Barnes
Date:
2011-09-28 @ 21:31
Chuck,

PS - if there is a way to copy & paste from a Windows command prompt, I'd
love to know about it. Taking screen shots seems like a waste just to get
some text.

Right-click on the cmd.exe top bar and select "Properties". On the "Options"
tab, "Edit Options" box check
QuickEdit Mode. This allows you to highlight areas and with a right-click
copy (automatic, no dialog box). Warning the highlighting of text doesn't
work like other programs.

This is how my XP works. Good Luck.

Timothy

Re: [shoes] building Shoes, getting error on MRI192 encoding.h

From:
Dave Wilkinson
Date:
2011-09-26 @ 21:30
That is concerning... syntax errors in ruby header files? Take a look at
that first line and see why it thinks the syntax is off. It might need a
#define flag set that isn't or something (as in, it is compiling the wrong
section of code, etc). :(

PS - You use "Mark" from context menu and then select and then press Enter.
It will copy it.

On Mon, Sep 26, 2011 at 4:27 PM, Chuck Remes <cremes.devlist@mac.com> wrote:

> Now that the dependencies are all building (thanks Luis & Jon) I have moved
> on to trying to get the Shoes exe building.
>
> Shoes is built with a pretty simple recipe task:
>
>    task :compile => [:configure, :compiler, :dependencies] do
>      cd package.build_target do
>        sh "rake win32:build"
>      end
>    end
>
>
> During the compilation, the Shoes rakefile blows up complaining about
> errors in C:/Ruby192/include/ruby-1.9.1/ruby/encoding.h. I kind of doubt
> that what it's complaining about is a genuine problem since RubyInstaller
> had no trouble building it earlier. I'm hoping this error looks familiar to
> someone and you can point me to the real culprit.
>
> http://skitch.com/cremes/fhn54/header-error
>
> cr
>
> PS - if there is a way to copy & paste from a Windows command prompt, I'd
> love to know about it. Taking screen shots seems like a waste just to get
> some text.
>
>

Re: [shoes] building Shoes, getting error on MRI192 encoding.h

From:
Steve Klabnik
Date:
2011-09-26 @ 22:02
> That is concerning... syntax errors in ruby header files?

Welcome to MRI.