I’ve been trying to compile newest 1.9.1-p0 ruby on windows 7 x64 but no
success.
Steps I have followed so far.
- I have installed Visual Studio 2005
- I have installed Microsoft Platform SDK
- I have launched Visual Studio 2005 x64 Win64 command prompt
- Navigated to the source directory (C:\ruby-1.9.1-p0)
- 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
-outputresource:miniruby.exe;2
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?