Trying to build Ruby on Windows

Discussion in 'Ruby' started by Austin Ziegler, Dec 2, 2003.

  1. Hi, folks:

    I am trying to build Ruby from CVS using the free Visual Studio version of
    C++ pointed out by Nathaniel a couple of weeks ago (I've gotten further with
    this than I did with MSYS).

    Unfortunately, it can't find lib.exe at some point. It appears that this is
    used in place of ar, but I'm not sure why it can't find it. There is a
    version of lib.exe in the Windows SDK directory under win64, but I'm not
    sure if that's "safe" to use.

    Has anyone else tried this? Does anyone have any advice as to where to find
    lib.exe ... or an alternative?

    -austin
    --
    austin ziegler * * Toronto, ON, Canada
    software designer * pragmatic programmer * 2003.12.01
    * 22.29.09
    Austin Ziegler, Dec 2, 2003
    #1
    1. Advertising

  2. Austin Ziegler

    Joey Gibson Guest

    On 12/1/2003 10:44 PM, Austin Ziegler wrote:

    >Hi, folks:
    >
    >I am trying to build Ruby from CVS using the free Visual Studio version of
    >C++ pointed out by Nathaniel a couple of weeks ago (I've gotten further with
    >this than I did with MSYS).
    >
    >Unfortunately, it can't find lib.exe at some point. It appears that this is
    >used in place of ar, but I'm not sure why it can't find it. There is a
    >version of lib.exe in the Windows SDK directory under win64, but I'm not
    >sure if that's "safe" to use.
    >
    >


    I didn't install the free version, but I have built Ruby 1.8.x using VC7
    which ships with the .NET SDK, which I _think_ is roundabout the same
    thing. I just did a 'which' and I see that lib.exe lives in 'C:\Program
    Files\Microsoft Visual Studio .NET\VC7\BIN\lib.exe' on my system. There
    is a .bat file called vcvars32.bat in that same directory that, when
    run, will setup paths, includes, etc, to work properly.Give that a go
    and see what happens. BTW, the cl version I have is

    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
    Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

    Joey

    --
    Never trust a girl with your mother's cow
    never let your trousers go falling down in the green grass...

    http://www.joeygibson.com/blog
    http://www.joeygibson.com/blog/life/Wisdom.html
    Joey Gibson, Dec 2, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vagif Abilov
    Replies:
    2
    Views:
    542
    Vagif Abilov
    Jul 7, 2004
  2. Pedro Mir
    Replies:
    2
    Views:
    430
    Winista
    Jun 20, 2006
  3. Nicolas Lehuen
    Replies:
    3
    Views:
    699
    Nicolas Lehuen
    Jan 28, 2004
  4. Brian Candler
    Replies:
    1
    Views:
    204
    Brian Candler
    Oct 21, 2004
  5. Daniel Berger
    Replies:
    4
    Views:
    96
    Daniel Berger
    Aug 22, 2007
Loading...

Share This Page