FreeRide and FXScintilla

Hello all,

I am trying to get Free Ride running on my Red Hat 8.0 box and trying to
get a fxscintilla window running for my own apps. Here is what I have
done so far:

  1. I got fox 1.0.26, made it and installed it with the option
    –with-opengl=opengl. It worked fine, examples worked fine.
  2. I got FXRuby 1.0.19 and set it up and installed it (with no special
    options). It worked fine, examples worked fine.
  3. It got FXScintilla 1.49.1 made it and installed it (with no special
    options). It worked fine (as far as I can tell). There is no example
    program to run to see it come up on the screen with an editiing window.
  4. I untar free-ride version and then run ‘sh run.bat’.

Free ride comes up and then I select new from the menu and get an
exception saying…

./plugins/rubyide_fox_gui/editpane.rb:81:in initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:innew’
from ./plugins/rubyide_fox_gui/editpane.rb:47:in start' from ./plugins/rubyide_fox_gui/editpane.rb:32:incall’
from ./freebase/databus.rb:613:in notify' from ./freebase/databus.rb:610:ineach_value’
from ./freebase/databus.rb:610:in notify' from ./freebase/databus.rb:619:innotify’
from ./freebase/databus.rb:215:in initialize' ... 24 levels... from ./freebase/core.rb:35:innew’
from ./freebase/core.rb:35:in startup' from freeride.rb:53:instartup’
from freeride.rb:66

So I went down the path to see if fxscintilla is working correctly. I
took the simple program from the fxscintilla readme and compiled it and
it worked!

Now if I look in the FXRuby installation, there is a scintilla-test.rb
in the examples directory. This fails, saying that the initialize should
have 0 parameters instead of four. There is a file in FXRuby/ext/fox
called scintilla_wrap.cpp.bak. Why is it a .bak?

Answers to any of the above questions would be welcome.

Thanks in advance,

Steve Tuckner

Sorry to reply to my own post, but I found a config option from the
fxruby.org website documentation appendix. I assume this will work.
Sorry to have bothered yo’all :frowning:

Steve

···

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:48 PM
To: ruby-talk ML
Subject: FreeRide and FXScintilla

Hello all,

I am trying to get Free Ride running on my Red Hat 8.0 box and trying to
get a fxscintilla window running for my own apps. Here is what I have
done so far:

  1. I got fox 1.0.26, made it and installed it with the option
    –with-opengl=opengl. It worked fine, examples worked fine.
  2. I got FXRuby 1.0.19 and set it up and installed it (with no special
    options). It worked fine, examples worked fine.
  3. It got FXScintilla 1.49.1 made it and installed it (with no special
    options). It worked fine (as far as I can tell). There is no example
    program to run to see it come up on the screen with an editiing window.
  4. I untar free-ride version and then run ‘sh run.bat’.

Free ride comes up and then I select new from the menu and get an
exception saying…

./plugins/rubyide_fox_gui/editpane.rb:81:in initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:innew’
from ./plugins/rubyide_fox_gui/editpane.rb:47:in start' from ./plugins/rubyide_fox_gui/editpane.rb:32:incall’
from ./freebase/databus.rb:613:in notify' from ./freebase/databus.rb:610:ineach_value’
from ./freebase/databus.rb:610:in notify' from ./freebase/databus.rb:619:innotify’
from ./freebase/databus.rb:215:in initialize' ... 24 levels... from ./freebase/core.rb:35:innew’
from ./freebase/core.rb:35:in startup' from freeride.rb:53:instartup’
from freeride.rb:66

So I went down the path to see if fxscintilla is working correctly. I
took the simple program from the fxscintilla readme and compiled it and
it worked!

Now if I look in the FXRuby installation, there is a scintilla-test.rb
in the examples directory. This fails, saying that the initialize should
have 0 parameters instead of four. There is a file in FXRuby/ext/fox
called scintilla_wrap.cpp.bak. Why is it a .bak?

Answers to any of the above questions would be welcome.

Thanks in advance,

Steve Tuckner

Here we go again…

After a re-install of FXRuby, I get the following error when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so: undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

Steve

···

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:58 PM
To: ruby-talk ML
Subject: Re: FreeRide and FXScintilla

Sorry to reply to my own post, but I found a config option from the
fxruby.org website documentation appendix. I assume this will work.
Sorry to have bothered yo’all :frowning:

Steve

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:48 PM
To: ruby-talk ML
Subject: FreeRide and FXScintilla

Hello all,

I am trying to get Free Ride running on my Red Hat 8.0 box and trying to
get a fxscintilla window running for my own apps. Here is what I have
done so far:

  1. I got fox 1.0.26, made it and installed it with the option
    –with-opengl=opengl. It worked fine, examples worked fine.
  2. I got FXRuby 1.0.19 and set it up and installed it (with no special
    options). It worked fine, examples worked fine.
  3. It got FXScintilla 1.49.1 made it and installed it (with no special
    options). It worked fine (as far as I can tell). There is no example
    program to run to see it come up on the screen with an editiing window.
  4. I untar free-ride version and then run ‘sh run.bat’.

Free ride comes up and then I select new from the menu and get an
exception saying…

./plugins/rubyide_fox_gui/editpane.rb:81:in initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:innew’
from ./plugins/rubyide_fox_gui/editpane.rb:47:in start' from ./plugins/rubyide_fox_gui/editpane.rb:32:incall’
from ./freebase/databus.rb:613:in notify' from ./freebase/databus.rb:610:ineach_value’
from ./freebase/databus.rb:610:in notify' from ./freebase/databus.rb:619:innotify’
from ./freebase/databus.rb:215:in initialize' ... 24 levels... from ./freebase/core.rb:35:innew’
from ./freebase/core.rb:35:in startup' from freeride.rb:53:instartup’
from freeride.rb:66

So I went down the path to see if fxscintilla is working correctly. I
took the simple program from the fxscintilla readme and compiled it and
it worked!

Now if I look in the FXRuby installation, there is a scintilla-test.rb
in the examples directory. This fails, saying that the initialize should
have 0 parameters instead of four. There is a file in FXRuby/ext/fox
called scintilla_wrap.cpp.bak. Why is it a .bak?

Answers to any of the above questions would be welcome.

Thanks in advance,

Steve Tuckner

Steve,

Welcome brave soul to running FreeRIDE on OS X. I am doing it right
now, so I know it works. I am currently running fox-1.0.30,
fxscintilla 1.49.1 and FXRuby 1.0.19. I mainly followed the
instructions here:

http://rwiki.jin.gr.jp/cgi-bin/rw-
cgi.rb?cmd=view;name=FreeRIDE+on+X11+for+Mac+OS+X

Pay particular attention to the .pkg files spoken of at the top of this
wiki page (for jpeg, png, tiff, etc). I used these instead of using
Fink. Also, I have ripper built for OS X (source parser)…but have
yet to post that to rubyide.org. Lastly, I am running on 1.8 (out of
CVS). I encountered problems with the 1.6.7 distro Apple shipped (bad
SHA hashing algorithm) and upgraded to 1.8.

Let me know how you are coming either here on the list, or directly.

-rich

···

On Tuesday, February 11, 2003, at 02:08 PM, Steve Tuckner wrote:

Here we go again…

After a re-install of FXRuby, I get the following error when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so: undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

Steve

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:58 PM
To: ruby-talk ML
Subject: Re: FreeRide and FXScintilla

Sorry to reply to my own post, but I found a config option from the
fxruby.org website documentation appendix. I assume this will work.
Sorry to have bothered yo’all :frowning:

Steve

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:48 PM
To: ruby-talk ML
Subject: FreeRide and FXScintilla

Hello all,

I am trying to get Free Ride running on my Red Hat 8.0 box and trying
to get a fxscintilla window running for my own apps. Here is what I
have done so far:

  1. I got fox 1.0.26, made it and installed it with the option
    –with-opengl=opengl. It worked fine, examples worked fine.
  2. I got FXRuby 1.0.19 and set it up and installed it (with no special
    options). It worked fine, examples worked fine.
  3. It got FXScintilla 1.49.1 made it and installed it (with no special
    options). It worked fine (as far as I can tell). There is no example
    program to run to see it come up on the screen with an editiing > window.
  4. I untar free-ride version and then run ‘sh run.bat’.

Free ride comes up and then I select new from the menu and get an
exception saying…

./plugins/rubyide_fox_gui/editpane.rb:81:in initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:in new’
from ./plugins/rubyide_fox_gui/editpane.rb:47:in start' from ./plugins/rubyide_fox_gui/editpane.rb:32:in call’
from ./freebase/databus.rb:613:in notify' from ./freebase/databus.rb:610:in each_value’
from ./freebase/databus.rb:610:in notify' from ./freebase/databus.rb:619:in notify’
from ./freebase/databus.rb:215:in initialize' ... 24 levels... from ./freebase/core.rb:35:in new’
from ./freebase/core.rb:35:in startup' from freeride.rb:53:in startup’
from freeride.rb:66

So I went down the path to see if fxscintilla is working correctly. I
took the simple program from the fxscintilla readme and compiled it
and it worked!

Now if I look in the FXRuby installation, there is a scintilla-test.rb
in the examples directory. This fails, saying that the initialize
should have 0 parameters instead of four. There is a file in
FXRuby/ext/fox called scintilla_wrap.cpp.bak. Why is it a .bak?

Answers to any of the above questions would be welcome.

Thanks in advance,

Steve Tuckner

Steve Tuckner wrote:

After a re-install of FXRuby, I get the following error when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so: undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

This error message indicates that the FXScintilla support code was not
compiled into FXRuby. I saw your previous post in which you said you
found the configuration options to build FXScintilla support into
FXRuby, but it clearly didn’t “take”.

All I can suggest is:

  1. Change to the build directory for FXRuby;

  2. Type ‘ruby install.rb clean’ to clean out the build files;

  3. Type ‘ruby install.rb config [… options …]’
    to configure the build, and be sure to pass in the
    ‘–with-fxscintilla-include’ and ‘–with-fxscintilla-lib’
    options.

  4. Type ‘ruby install.rb setup’ to kick off the build.
    As a sanity check, be sure that ‘-DWITH_FXSCINTILLA’
    appears among flags being passed to the compiler.

  5. When it’s done, re-install by typing ‘ruby install.rb install’.

Hope this helps,

Lyle

Rich:

I also followed the instructions you listed (or thought I did)
and have problems with FXRuby running. I get a bus error.
However, the fox apps works great.

Do you know what could be wrong?

···

On Wednesday, 12 February 2003 at 8:22:57 +0900, Richard Kilmer wrote:

Steve,

Welcome brave soul to running FreeRIDE on OS X. I am doing it right
now, so I know it works. I am currently running fox-1.0.30,
fxscintilla 1.49.1 and FXRuby 1.0.19. I mainly followed the
instructions here:

http://rwiki.jin.gr.jp/cgi-bin/rw-cgi.rb?cmd=view;name=FreeRIDE+on+X11+for+Mac+OS+X

Pay particular attention to the .pkg files spoken of at the top of this
wiki page (for jpeg, png, tiff, etc). I used these instead of using
Fink. Also, I have ripper built for OS X (source parser)…but have
yet to post that to rubyide.org. Lastly, I am running on 1.8 (out of
CVS). I encountered problems with the 1.6.7 distro Apple shipped (bad
SHA hashing algorithm) and upgraded to 1.8.

Let me know how you are coming either here on the list, or directly.

-rich


Jim Freeze

The truth of a proposition has nothing to do with its credibility. And
vice versa.

I am not running on OS X but Red Hat 8.0. I haven’t rebuilt with opengl
disabled, but why would that matter when it fails on the undefined symbol:
_ZTV13FXRbScintilla? Now none of the fxruby example programs work (ie.
hello.rb). They worked before I reconfigured FXRuby with
the --with-fxscintilla-include and --with-fxscintilla-lib directives.

Perhaps it is not finding the libfxscintilla library?

Steve

···

-----Original Message-----
From: Richard Kilmer [mailto:rich@infoether.com]
Sent: Tuesday, February 11, 2003 5:23 PM
To: ruby-talk@ruby-lang.org
Subject: Re: FreeRide and FXScintilla

Steve,

Welcome brave soul to running FreeRIDE on OS X. I am doing it right
now, so I know it works. I am currently running fox-1.0.30,
fxscintilla
1.49.1 and FXRuby 1.0.19. I mainly followed the instructions here:

http://rwiki.jin.gr.jp/cgi-bin/rw-cgi.rb?cmd=view;name=FreeRID
E+on+X11+f
or+Mac+OS+X

Pay particular attention to the .pkg files spoken of at the
top of this
wiki page (for jpeg, png, tiff, etc). I used these instead of using
Fink. Also, I have ripper built for OS X (source
parser)…but have yet
to post that to rubyide.org. Lastly, I am running on 1.8
(out of CVS).
I encountered problems with the 1.6.7 distro Apple shipped (bad SHA
hashing algorithm) and upgraded to 1.8.

Let me know how you are coming either here on the list, or directly.

-rich

On Tuesday, February 11, 2003, at 02:08 PM, Steve Tuckner wrote:

Here we go again…

After a re-install of FXRuby, I get the following error when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so:
undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

Steve

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:58 PM
To: ruby-talk ML
Subject: Re: FreeRide and FXScintilla

Sorry to reply to my own post, but I found a config option from the
fxruby.org website documentation appendix. I assume this will work.
Sorry to have bothered yo’all :frowning:

Steve

-----Original Message-----
From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, 2003 12:48 PM
To: ruby-talk ML
Subject: FreeRide and FXScintilla

Hello all,

I am trying to get Free Ride running on my Red Hat 8.0 box
and trying
to get a fxscintilla window running for my own apps. Here is what I
have done so far:

  1. I got fox 1.0.26, made it and installed it with the option
    –with-opengl=opengl. It worked fine, examples worked fine.
  2. I got FXRuby 1.0.19 and set it up and installed it (with
    no special
    options). It worked fine, examples worked fine.
  3. It got FXScintilla 1.49.1 made it and installed it (with
    no special
    options). It worked fine (as far as I can tell). There is no example
    program to run to see it come up on the screen with an editiing
    window.
  4. I untar free-ride version and then run ‘sh run.bat’.

Free ride comes up and then I select new from the menu and get an
exception saying…

./plugins/rubyide_fox_gui/editpane.rb:81:in initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:in new’
from ./plugins/rubyide_fox_gui/editpane.rb:47:in start' from ./plugins/rubyide_fox_gui/editpane.rb:32:in call’
from ./freebase/databus.rb:613:in notify' from ./freebase/databus.rb:610:in each_value’
from ./freebase/databus.rb:610:in notify' from ./freebase/databus.rb:619:in notify’
from ./freebase/databus.rb:215:in initialize' ... 24 levels... from ./freebase/core.rb:35:in new’
from ./freebase/core.rb:35:in startup' from freeride.rb:53:in startup’
from freeride.rb:66

So I went down the path to see if fxscintilla is working
correctly. I
took the simple program from the fxscintilla readme and compiled it
and it worked!

Now if I look in the FXRuby installation, there is a
scintilla-test.rb
in the examples directory. This fails, saying that the initialize
should have 0 parameters instead of four. There is a file in
FXRuby/ext/fox called scintilla_wrap.cpp.bak. Why is it a .bak?

Answers to any of the above questions would be welcome.

Thanks in advance,

Steve Tuckner

Thanks Lyle, that did the trick.

Now FreeRide runs, but the run menu has no debug entry in it. Is there
something I have to enable to allow it to debug?

Steve

···

-----Original Message-----
From: Lyle Johnson [mailto:lyle@users.sourceforge.net]
Sent: Wednesday, February 12, 2003 10:24 AM
To: ruby-talk ML
Subject: Re: FreeRide and FXScintilla

Steve Tuckner wrote:

After a re-install of FXRuby, I get the following error
when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so:
undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

This error message indicates that the FXScintilla support
code was not
compiled into FXRuby. I saw your previous post in which you said you
found the configuration options to build FXScintilla support into
FXRuby, but it clearly didn’t “take”.

All I can suggest is:

  1. Change to the build directory for FXRuby;

  2. Type ‘ruby install.rb clean’ to clean out the build files;

  3. Type ‘ruby install.rb config [… options …]’
    to configure the build, and be sure to pass in the
    ‘–with-fxscintilla-include’ and ‘–with-fxscintilla-lib’
    options.

  4. Type ‘ruby install.rb setup’ to kick off the build.
    As a sanity check, be sure that ‘-DWITH_FXSCINTILLA’
    appears among flags being passed to the compiler.

  5. When it’s done, re-install by typing ‘ruby install.rb install’.

Hope this helps,

Lyle

Did you build with opengl support enabled?

If so, disable it (in fox and fxruby) and try again.

-rich

···

On Tuesday, February 11, 2003, at 07:05 PM, Jim Freeze wrote:

On Wednesday, 12 February 2003 at 8:22:57 +0900, Richard Kilmer wrote:

Steve,

Welcome brave soul to running FreeRIDE on OS X. I am doing it right
now, so I know it works. I am currently running fox-1.0.30,
fxscintilla 1.49.1 and FXRuby 1.0.19. I mainly followed the
instructions here:

http://rwiki.jin.gr.jp/cgi-bin/rw-
cgi.rb?cmd=view;name=FreeRIDE+on+X11+for+Mac+OS+X

Pay particular attention to the .pkg files spoken of at the top of
this
wiki page (for jpeg, png, tiff, etc). I used these instead of using
Fink. Also, I have ripper built for OS X (source parser)…but have
yet to post that to rubyide.org. Lastly, I am running on 1.8 (out of
CVS). I encountered problems with the 1.6.7 distro Apple shipped (bad
SHA hashing algorithm) and upgraded to 1.8.

Let me know how you are coming either here on the list, or directly.

-rich

Rich:

I also followed the instructions you listed (or thought I did)
and have problems with FXRuby running. I get a bus error.
However, the fox apps works great.

Do you know what could be wrong?


Jim Freeze

The truth of a proposition has nothing to do with its credibility. And
vice versa.

Debugging is not currently enabled…sorry :frowning:

We are working on it.

-rich

···

On Wednesday, February 12, 2003, at 12:13 PM, Steve Tuckner wrote:

Thanks Lyle, that did the trick.

Now FreeRide runs, but the run menu has no debug entry in it. Is there
something I have to enable to allow it to debug?

Steve

-----Original Message-----
From: Lyle Johnson [mailto:lyle@users.sourceforge.net]
Sent: Wednesday, February 12, 2003 10:24 AM
To: ruby-talk ML
Subject: Re: FreeRide and FXScintilla

Steve Tuckner wrote:

After a re-install of FXRuby, I get the following error
when running
scintilla-test.rb

scintilla-test.rb:3:in `require’:
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so:
undefined symbol:
_ZTV13FXRbScintilla -
/usr/local/lib/ruby/site_ruby/1.6/i686-linux/fox.so (LoadError)
from scintilla-test.rb:3

Any ideas now?

This error message indicates that the FXScintilla support
code was not
compiled into FXRuby. I saw your previous post in which you said you
found the configuration options to build FXScintilla support into
FXRuby, but it clearly didn’t “take”.

All I can suggest is:

  1. Change to the build directory for FXRuby;

  2. Type ‘ruby install.rb clean’ to clean out the build files;

  3. Type ‘ruby install.rb config [… options …]’
    to configure the build, and be sure to pass in the
    ‘–with-fxscintilla-include’ and ‘–with-fxscintilla-lib’
    options.

  4. Type ‘ruby install.rb setup’ to kick off the build.
    As a sanity check, be sure that ‘-DWITH_FXSCINTILLA’
    appears among flags being passed to the compiler.

  5. When it’s done, re-install by typing ‘ruby install.rb install’.

Hope this helps,

Lyle

Oh, so that is it. Why does opengl work in fox but not in fxruby?

···

On Wednesday, 12 February 2003 at 9:21:30 +0900, Richard Kilmer wrote:

Did you build with opengl support enabled?

If so, disable it (in fox and fxruby) and try again.

-rich


Jim Freeze

“Dying is a very dull, dreary affair. And my advice to you is to have
nothing whatever to do with it.”
– W. Somerset Maugham