Skip to content

Instantly share code, notes, and snippets.

@Azolo
Created March 1, 2012 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Azolo/1953461 to your computer and use it in GitHub Desktop.
Save Azolo/1953461 to your computer and use it in GitHub Desktop.
Error output trying to build rubinius with rubyinstaller devkit mingw64-32-4.5.4
[2012-03-01 15:43:18] Configuring Rubinius...
[2012-03-01 15:43:18] Configuring LLVM...
[2012-03-01 15:43:18] Checking for existing LLVM library tree:
[2012-03-01 15:43:19] found!
[2012-03-01 15:43:19]
[2012-03-01 15:43:19] Checking sizeof(short):
[2012-03-01 15:43:19] ---
#include <stddef.h>
int main() { return sizeof(short); }
---
[2012-03-01 15:43:19] g++ -lstdc++ -lm -o rbx-configure-test rbx-configure-test.cpp >>C:/Users/Justin/Projects/Ruby/rubinius/configure.log 2>&1
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find crt2.o: No such file or directory
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lstdc++
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lm
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lstdc++
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmingw32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lgcc_s
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmoldname
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmingwex
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmsvcrt
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -luser32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lkernel32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -ladvapi32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lshell32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmingw32
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lgcc_s
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmoldname
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmingwex
C:\Users\Justin\Desktop\test_devkit\mingw\bin/i686-w64-mingw32-ld.exe: cannot find -lmsvcrt
collect2: ld returned 1 exit status
[2012-03-01 15:43:19]*** ERROR Compiling configure test program failed.
PS C:\Users\Justin\Projects\Ruby\rubinius> C:\Users\Justin\Desktop\test_devkit\devkitvars.ps1
Adding DevKit to PATH...
PS C:\Users\Justin\Projects\Ruby\rubinius> ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
PS C:\Users\Justin\Projects\Ruby\rubinius> gcc --version
gcc.exe (GCC) 4.5.4 20110812 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS C:\Users\Justin\Projects\Ruby\rubinius> gcc --v
Using built-in specs.
COLLECT_GCC=C:\Users\Justin\Desktop\test_devkit\mingw\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/users/justin/desktop/test_devkit/mingw/bin/../libexec/gcc/i686-w64-mingw32/4.5.4/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --prefix=/c/bb/vista64-mingw32/mingw-x86-x86
/build/build/root --with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86/build/build/root --enable-languages=all,obj-c++ --e
nable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.5.4 20110812 (prerelease) (GCC)
PS C:\Users\Justin\Projects\Ruby\rubinius> ruby .\configure
Configuring LLVM...
Checking for existing LLVM library tree: found!
Checking sizeof(short): Compiling configure test program failed.
Compiling configure test program failed. Please check configure.log for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment