I installed the latest version of Ruby and WideStudio (Ruby 1.8.4 and
WideStudio 3.94-1).
I also installed the Ruby that came with WideStudio (Ruby 1.8.0).
So now I have two versions of Ruby and only the one that came with
WideStudio works with WideStudio. So my question is, what's the
difference? I would like to use WideStudio but I would hate to be tied
into using a special version of Ruby.
Hi,
At Sun, 30 Jul 2006 03:35:09 +0900,
seannakasone@yahoo.com wrote in [ruby-talk:204912]:
I installed the latest version of Ruby and WideStudio (Ruby 1.8.4 and
WideStudio 3.94-1).
I also installed the Ruby that came with WideStudio (Ruby 1.8.0).
What's your platform and how did you installed them?
So now I have two versions of Ruby and only the one that came with
WideStudio works with WideStudio. So my question is, what's the
difference? I would like to use WideStudio but I would hate to be tied
into using a special version of Ruby.
How doesn't it work?
···
--
Nobu Nakada
nobu@ruby-lang.org wrote:
What's your platform and how did you installed them?
Windows XP.
Ruby 1.8.4 was installed from bash with these commands:
./configure --prefix=c:/ruby
make
make install
WideStudio was installed from setup.exe.
How doesn't it work?
Here's the error (Ruby 1.8.4 precedes the widestudio version of Ruby in
my path).
C:\a\hello>ruby hello.rb
./mwt.dll: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-cygwin]
3 [sig] ruby 3576 open_stackdumpfile: Dumping stack trace to
ruby.exe.stac
kdump
If I run the widestudio version of ruby, it works:
C:\a\hello>\WideStudio\ruby\bin\ruby hello.rb
A window appears as expected.
Thanks,
Sean.
Hi,
At Mon, 31 Jul 2006 05:40:09 +0900,
seannakasone@yahoo.com wrote in [ruby-talk:205067]:
WideStudio was installed from setup.exe.
What's the platform of WideStudio version ruby?
What does `\WideStudio\ruby\bin\ruby -v' show?
> How doesn't it work?
>
Here's the error (Ruby 1.8.4 precedes the widestudio version of Ruby in
my path).
C:\a\hello>ruby hello.rb
./mwt.dll: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-cygwin]
What's that mwt.dll? Is it compatible to cygwin?
···
--
Nobu Nakada
nobu@ruby-lang.org wrote:
Hi,
At Mon, 31 Jul 2006 05:40:09 +0900,
seannakasone@yahoo.com wrote in [ruby-talk:205067]:
> WideStudio was installed from setup.exe.
What's the platform of WideStudio version ruby?
What does `\WideStudio\ruby\bin\ruby -v' show?
C:\a\hello>\WideStudio\ruby\bin\ruby -v
ruby 1.8.0 (2003-10-06) [i386-mingw32]
> > How doesn't it work?
> >
>
> Here's the error (Ruby 1.8.4 precedes the widestudio version of Ruby in
> my path).
>
> C:\a\hello>ruby hello.rb
> ./mwt.dll: [BUG] Segmentation fault
> ruby 1.8.4 (2005-12-24) [i386-cygwin]
What's that mwt.dll? Is it compatible to cygwin?
I'm new to WideStudio, but i believe mwt.dll is the graphical library
used by WideStudio/MWT. I'm not sure if it's compatible with cygwin.
I guess I should try to build a ruby-mingw32 version 1.8.4.
···
--
Nobu Nakada
Ok, I think I figured it out. Building WideStudio/Ruby apps requires
ruby-mingw32 (meaning ruby built with mingw/msys).
Here's the steps I took (instructed by Sean O'Halpin):
I installed MinGW Current (MinGW-5.0.3) first, then
MSYS-1.0.11-2004.04.30-1, downloaded and unpacked ruby stable snapshot
(ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz), fired up
MSYS, entered this:
/configure --prefix=c:/ruby-mingw --enable-shared && make && make
install
Hi,
At Tue, 1 Aug 2006 12:55:11 +0900,
seannakasone@yahoo.com wrote in [ruby-talk:205343]:
Ok, I think I figured it out. Building WideStudio/Ruby apps requires
ruby-mingw32 (meaning ruby built with mingw/msys).
Congraturation.
/configure --prefix=c:/ruby-mingw --enable-shared && make && make
install
On a side note, I don't recommend to use prefix (especially,
with a drive letter) on Windows, since it is meaningless but
will be embedded in rbconfig.rb.
Use DESTDIR=... at install, instead.
···
--
Nobu Nakada