Forum: Ruby Compiling ruby on Windows 7 x64

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Stanislaw W. (Guest)
on 2009-03-04 16:30
Attachment: build.log (0 Bytes)
I've been trying to compile newest 1.9.1-p0 ruby on windows 7 x64 but no

Steps I have followed so far.

1. I have installed Visual Studio 2005
2. I have installed Microsoft Platform SDK
3. I have launched Visual Studio 2005 x64 Win64 command prompt
4. Navigated to the source directory (C:\ruby-1.9.1-p0)
5. In this directory I have executed
   a) win32\configure --prefix=/usr/local --target=x64-mswin64
   b) nmake

You can find output from both commands attached. Basically it fails when
it tries to build manifest file for miniruby.

It fails with the following:

cl -nologo main.obj dmydln.obj dmyencoding.obj miniprelude.obj array.obj
bignum.obj  class.obj  compar.obj  complex.obj  dir.obj  enum.obj
enumerator.obj  error.obj  eval.obj  load.obj  proc.obj  file.obj
gc.obj  hash.obj  inits.obj  io.obj  marshal.obj  math.obj  numeric.obj
object.obj  pack.obj  parse.obj  process.obj  random.obj  range.obj
rational.obj  re.obj  regcomp.obj  regenc.obj  regerror.obj  regexec.obj
regparse.obj  regsyntax.obj  ruby.obj  safe.obj  signal.obj  sprintf.obj
st.obj  strftime.obj  string.obj  struct.obj  time.obj  transcode.obj
util.obj  variable.obj  version.obj  compile.obj  debug.obj  iseq.obj
vm.obj  vm_dump.obj  thread.obj  cont.obj  ascii.obj us_ascii.obj
unicode.obj utf_8.obj  newline.obj  acosh.obj cbrt.obj crypt.obj erf.obj
lgamma_r.obj strlcat.obj strlcpy.obj tgamma.obj win32.obj langinfo.obj
dmyext.obj oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib
-Feminiruby.exe -link -incremental:no -debug -opt:ref -opt:icf
   Creating library miniruby.lib and object miniruby.exp
  miniruby.exe -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [x64-mswin64_80]
  mt -nologo -manifest miniruby.exe.manifest

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 8\Common7\Tools\bin\mt.EXE"' : return code '0x1f'

What am I doing wrong?
Chris H. (Guest)
on 2009-03-04 17:11
(Received via mailing list)
On Mar 4, 9:29 am, Stanislaw W. <removed_email_address@domain.invalid> wrote:
>    a) win32\configure --prefix=/usr/local --target=x64-mswin64
> gc.obj  hash.obj  inits.obj  io.obj  marshal.obj  math.obj  numeric.obj
>    Creating library miniruby.lib and object miniruby.exp
> Attachments:
> --
> Posted via

No experience with this, but a quick google found this:

Roger P. (Guest)
on 2009-03-07 02:15
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 8\Common7\Tools\bin\mt.EXE"' : return code '0x1f'
> Stop.
> What am I doing wrong?

If you're not afraid of 32 bit there's the mingw oneclick
This topic is locked and can not be replied to.