Trying to build Ruby on Windows

A

Austin Ziegler

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
 
J

Joey Gibson

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
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top