Help Compiling Ruby 1.8.1

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. compiling ruby 1.8.1 (mingw)
      Hi! While compiling ruby, I run into the following: ./configure --prefix=/d/programs/ruby-mingw make
    2. 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, ...
    3. 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...
    4. 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?...
    5. 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. ...
  3. #2

    Default 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:
    > H:\ruby-1.8.1\win32>nmake DESTDIR=temp install
    You have to specify DESTDIR as absolute path.

    --
    Nobu Nakada



    Zach Dennis Guest

  4. #3

    Default 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:
    > 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-
    Hmmm, do you set TEMP environment variable?

    --
    Nobu Nakada



    Zach Dennis Guest

  5. #4

    Default 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:
    > 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-
    Hmmm, do you set TEMP environment variable?

    --
    Nobu Nakada





    Zach Dennis Guest

  6. #5

    Default Re: Help Compiling Ruby 1.8.1

    >There should be a disclaimer that you
    >can't run configure.bat from within the bcc32 directory.
    Ok. I see the usage in the example in the README file. Can't believe I
    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:
    > 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-
    Hmmm, do you set TEMP environment variable?

    --
    Nobu Nakada







    Zach Dennis Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139