Ask a Question related to Ruby, Design and Development.
-
Zach Dennis #1
Help Compiling Ruby 1.8.1
Things aren't going so well with Ruby's 1.8.1 source and VisualStudio6. Once
we get to the line:
H:\ruby-1.8.1\win32>nmake DESTDIR=temp install
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
.\miniruby.exe ./../instruby.rb "--dest-dir=temp" "--make=NMAKE"
"--mf
lags=" "--make-flags= "
install -c -p -m 0755 ruby.exe temp/bin/ruby.exe
install -c -p -m 0755 rubyw.exe temp/bin
install -c -p -m 0755 msvcrt-ruby18.dll temp/bin
install -c -p -m 0755 msvcrt-ruby18.lib temp/lib
install -c -p -m 0644 msvcrt-ruby18-static.lib temp/lib
install -c -p -m 0644 config.h temp/lib/ruby/1.8/i386-mswin32
install -c -p -m 0644 rbconfig.rb temp/lib/ruby/1.8/i386-mswin32
install -c -p -m 0755 bin/erb temp/bin/erb
H:/ruby-1.8.1/lib/fileutils.rb:402:in `initialize': No such file or
directory -
temp/bin/erb (Errno::ENOENT)
from H:/ruby-1.8.1/lib/fileutils.rb:402:in `open'
from H:/ruby-1.8.1/lib/fileutils.rb:402:in `copy_file'
from H:/ruby-1.8.1/lib/fileutils.rb:401:in `open'
from H:/ruby-1.8.1/lib/fileutils.rb:401:in `copy_file'
from H:/ruby-1.8.1/lib/fileutils.rb:645:in `install'
from H:/ruby-1.8.1/lib/fileutils.rb:641:in `fu_each_src_dest'
from H:/ruby-1.8.1/lib/fileutils.rb:641:in `install'
from H:/ruby-1.8.1/lib/fileutils.rb:815:in `install'
from ./../instruby.rb:59:in `install'
from ./../instruby.rb:128
from ./../instruby.rb:121:in `each'
from ./../instruby.rb:121
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x1'
Stop.
Any help greatly appreciated.
Zach
P.S. - if borlands' install for ruby is smoother then vc++ then i will use
that. =)
-----Original Message-----
From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Tuesday, November 11, 2003 11:38 PM
To: ruby-talk ML
Subject: Re:
It's late I think I am thinking off base at the moment. Thanks for your help
Hidetoshi. I'm heading to bed and I'll update tomorrow on any progress.
Zach
----- Original Message -----
From: "Hidetoshi NAGAI" <nagai@ai.kyutech.ac.jp>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>; <zdennis@mktec.com>
Sent: Tuesday, November 11, 2003 8:18 PM
Subject: Re:
> From: "Zach Dennis" <zdennis@mktec.com>
> Subject: Re:
> Date: Wed, 12 Nov 2003 12:58:51 +0900
> Message-ID: <007301c3a8ea$49a4da20$6501a8c0@Laptop>>> > I am running
> > Ruby 1.8.0
> > Tcl/Tk 8.3
> > Windows 2000
> Maybe your problem depends on "Tcl/Tk's vwait problem".
> Could you try the recent version of tcltklib.c?
> There are many changes between between yours and the current CVS.
>
> # ruby-1.8.0/ext/tcltklib/tcltklib.c : 1253 lines
> # Ruby-CVS/ruby/ext/tcltklib/tcltklib.c : 2396 lines
> --
> Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
>
>
>
Zach Dennis Guest
-
compiling ruby 1.8.1 (mingw)
Hi! While compiling ruby, I run into the following: ./configure --prefix=/d/programs/ruby-mingw make -
Compiling kahakai-0.5 with Ruby support?
--ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, ... -
Problems compiling Ruby 1.8 CVS
I checked out the CVS HEAD yesterday, transferred it to my web host (where I have access to gcc), converted the files from DOS to Unix format, ran... -
errors compiling Ruby under Solaris
Hi, At Wed, 27 Aug 2003 10:35:57 +0900, Kurt M. Dresner wrote: I have no clue about Solaris system headers, what are there around that line?... -
Cross-compiling ruby
On Wed, 16 Jul 2003 04:30:03 +0900 Ben Giddings <ben@thingmagic.com> wrote: I tried cross-compiling it for the Zaurus... there are issues. ... -
Zach Dennis #2
Re: Help Compiling Ruby 1.8.1
Ok, I moved over to Borland( because it's free ) and I can't get the
configure.bat to work at all. Here is my new error:
I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
1 file(s) copied.
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Creating Makefile
** error 1 ** deleting -prologue-
I promise not to switch back. =) Thanks for any help. I'm sure this is a
silly error on my behalf,
Zach
-----Original Message-----
From: [email]nobu.nokada@softhome.net[/email] [mailto:nobu.nokada@softhome.net]
Sent: Wednesday, November 12, 2003 10:57 AM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Hi,
At Thu, 13 Nov 2003 00:10:08 +0900,
Zach Dennis wrote:You have to specify DESTDIR as absolute path.> H:\ruby-1.8.1\win32>nmake DESTDIR=temp install
--
Nobu Nakada
Zach Dennis Guest
-
Zach Dennis #3
Re: Help Compiling Ruby 1.8.1
Yes I do, I have one for my user profile and one for the system environment.
The user profile is:
%USERPROFILE%\Local Settings\Temp
The system environment is:
%SystemRoot%\TEMP
Zach
-----Original Message-----
From: [email]nobu.nokada@softhome.net[/email] [mailto:nobu.nokada@softhome.net]
Sent: Wednesday, November 12, 2003 12:34 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Hi,
At Thu, 13 Nov 2003 02:22:10 +0900,
Zach Dennis wrote:Hmmm, do you set TEMP environment variable?> I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
> 1 file(s) copied.
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> Creating Makefile
>
> ** error 1 ** deleting -prologue-
--
Nobu Nakada
Zach Dennis Guest
-
Zach Dennis #4
Re: Help Compiling Ruby 1.8.1
Ok...got it to get past that point!! There should be a disclaimer that you
can't run configure.bat from within the bcc32 directory. I had to run it
from the parent of that directory. So i did this:
I:\source\languages\ruby\source\ruby-1.8.1>bcc32\configure
instead of
I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
But I am at my second point of errors. I can run 'make' and it goes good for
a while. Then I get:
ilink32 -q -Gn -S:0x2000000 -Tpe c0x32.obj main.obj
dmyext.obj,miniruby.
exe,nul,bccwin32-ruby18-static.lib cw32.lib import32.lib ws2_32.lib
Fatal: Unable to open file 'C0X32.OBJ'
** error 2 ** deleting miniruby.exe
Any ideas?
Thanks again,
Zach
-----Original Message-----
From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Wednesday, November 12, 2003 12:37 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Yes I do, I have one for my user profile and one for the system environment.
The user profile is:
%USERPROFILE%\Local Settings\Temp
The system environment is:
%SystemRoot%\TEMP
Zach
-----Original Message-----
From: [email]nobu.nokada@softhome.net[/email] [mailto:nobu.nokada@softhome.net]
Sent: Wednesday, November 12, 2003 12:34 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Hi,
At Thu, 13 Nov 2003 02:22:10 +0900,
Zach Dennis wrote:Hmmm, do you set TEMP environment variable?> I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
> 1 file(s) copied.
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> Creating Makefile
>
> ** error 1 ** deleting -prologue-
--
Nobu Nakada
Zach Dennis Guest
-
Zach Dennis #5
Re: Help Compiling Ruby 1.8.1
>There should be a disclaimer that you
Ok. I see the usage in the example in the README file. Can't believe I>can't run configure.bat from within the bcc32 directory.
missed it.
Zach
-----Original Message-----
From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Wednesday, November 12, 2003 1:01 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Ok...got it to get past that point!! There should be a disclaimer that you
can't run configure.bat from within the bcc32 directory. I had to run it
from the parent of that directory. So i did this:
I:\source\languages\ruby\source\ruby-1.8.1>bcc32\configure
instead of
I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
But I am at my second point of errors. I can run 'make' and it goes good for
a while. Then I get:
ilink32 -q -Gn -S:0x2000000 -Tpe c0x32.obj main.obj
dmyext.obj,miniruby.
exe,nul,bccwin32-ruby18-static.lib cw32.lib import32.lib ws2_32.lib
Fatal: Unable to open file 'C0X32.OBJ'
** error 2 ** deleting miniruby.exe
Any ideas?
Thanks again,
Zach
-----Original Message-----
From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Wednesday, November 12, 2003 12:37 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Yes I do, I have one for my user profile and one for the system environment.
The user profile is:
%USERPROFILE%\Local Settings\Temp
The system environment is:
%SystemRoot%\TEMP
Zach
-----Original Message-----
From: [email]nobu.nokada@softhome.net[/email] [mailto:nobu.nokada@softhome.net]
Sent: Wednesday, November 12, 2003 12:34 PM
To: ruby-talk ML
Subject: Re: Help Compiling Ruby 1.8.1
Hi,
At Thu, 13 Nov 2003 02:22:10 +0900,
Zach Dennis wrote:Hmmm, do you set TEMP environment variable?> I:\source\languages\ruby\source\ruby-1.8.1\bcc32>configure
> 1 file(s) copied.
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> Creating Makefile
>
> ** error 1 ** deleting -prologue-
--
Nobu Nakada
Zach Dennis Guest



Reply With Quote

