rd2.exe for Win32

B

Berger, Daniel

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3876E.88129F60
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

Ruby 1.6.8 and 1.8.0

Chris Morris' post reminded me that I'd like to get an rd2.exe file on
my Win32 system. I installed optparse (for 1.6.8) and racc.

First, with 1.6.8 I got a segfault when I attempted to run "ruby -r
exerb/mkrbc exerb":

c:/ruby/lib/ruby/site_ruby/1.6/racc/parser.rb:43: [BUG] Segmentation
fault
ruby 1.6.8 (2002-12-24) [i586-mswin32]

Ok, next thing I tried was building with 1.8. This time things seemed
to build ok, although I did get a few of these warnings:

C:/ruby180/lib/ruby/site_ruby/optparse.rb:1001: warning: character class
has `]' without escape

But, the .rbc and .mak file were generated. Running "exerb rd2.rbc"
seemed to work fine, and I can see an rd2.exe file. However, it
segfaults whenever I try to use it:

C:\>rd2 service.rd2 > service.html

kconv.rb:1: [BUG] Segmentation fault
ruby 1.6.8 (2002-12-24) [i586-mswin32]

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

Why is ruby 1.6.8 showing up in the segfault?

How do I make this work? Or even better, does someone have a working
rd2.exe for Windows XP Pro they would be willing to share? :)

Regards,

Dan

------_=_NextPart_001_01C3876E.88129F60
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6396.0">
<TITLE>rd2.exe for Win32</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Ruby 1.6.8 and 1.8.0</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Chris Morris' post reminded me that I'd =
like to get an rd2.exe file on my Win32 system.&nbsp; I installed =
optparse (for 1.6.8) and racc.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">First, with 1.6.8 I got a segfault when =
I attempted to run &quot;ruby -r exerb/mkrbc exerb&quot;:</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">c:/ruby/lib/ruby/site_ruby/1.6/racc/parser.rb:43: [BUG] =
Segmentation fault</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">ruby 1.6.8 (2002-12-24) =
[i586-mswin32]</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Ok, next thing I tried was building =
with 1.8.&nbsp; This time things seemed to build ok, although I did get =
a few of these warnings:</FONT></P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">C:/ruby180/lib/ruby/site_ruby/optparse.rb:1001: warning: =
character class has `]' without escape</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But, the .rbc and .mak file were =
generated.&nbsp; Running &quot;exerb rd2.rbc&quot; seemed to work fine, =
and I can see an rd2.exe file.&nbsp; However, it segfaults whenever I =
try to use it:</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">C:\&gt;rd2 service.rd2 &gt; =
service.html</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">kconv.rb:1: [BUG] Segmentation =
fault</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">ruby 1.6.8 (2002-12-24) =
[i586-mswin32]</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">This application has requested the =
Runtime to terminate it in an unusual way.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Please contact the application's =
support team for more information.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Why is ruby 1.6.8 showing up in the =
segfault?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">How do I make this work?&nbsp; Or even =
better, does someone have a working rd2.exe for Windows XP Pro they =
would be willing to share? :)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Dan</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3876E.88129F60--
 
C

Chris Morris

C:\>rd2 service.rd2 > service.html

kconv.rb:1: [BUG] Segmentation fault
ruby 1.6.8 (2002-12-24) [i586-mswin32]

This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.

Why is ruby 1.6.8 showing up in the segfault?
Double-check the bottom of the RubyGarden page -- I kept updating after
posting to the list yesterday.

You can get the latest 1.8 cores from the exerb page -- then make sure
you tell it which core to use, e.g.:

exerb.rb -c cui18 myexe.rbc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top