SHOW:
|
|
- or go back to the newest paste.
1 | C:\ruby-2.0.0-p247>cd DevKit | |
2 | ||
3 | C:\ruby-2.0.0-p247\DevKit>ls | |
4 | bin devkitvars.bat dk.rb include m.ico msys.bat postinstall share | |
5 | config.yml devkitvars.ps1 etc lib mingw msys.ico sbin | |
6 | ||
7 | C:\ruby-2.0.0-p247\DevKit>ruby dk.rb init | |
8 | [INFO] found RubyInstaller v2.0.0 at C:/Ruby200-x64 | |
9 | ||
10 | Initialization complete! Please review and modify the auto-generated | |
11 | 'config.yml' file to ensure it contains the root directories to all | |
12 | of the installed Rubies you want enhanced by the DevKit. | |
13 | ||
14 | C:\ruby-2.0.0-p247\DevKit>ruby dk.rb install | |
15 | [INFO] Skipping existing gem override for 'C:/Ruby200-x64' | |
16 | [WARN] Skipping existing DevKit helper library for 'C:/Ruby200-x64' | |
17 | ||
18 | C:\ruby-2.0.0-p247\DevKit>gem install rails | |
19 | Temporarily enhancing PATH to include DevKit... | |
20 | Building native extensions. This could take a while... | |
21 | ERROR: Error installing rails: | |
22 | ERROR: Failed to build gem native extension. | |
23 | ||
24 | C:/Ruby200-x64/bin/ruby.exe extconf.rb | |
25 | *** extconf.rb failed *** | |
26 | Could not create Makefile due to some reason, probably lack of necessary | |
27 | libraries and/or headers. Check the mkmf.log file for more details. You may | |
28 | need configuration options. | |
29 | ||
30 | Provided configuration options: | |
31 | --with-opt-dir | |
32 | --without-opt-dir | |
33 | --with-opt-include | |
34 | --without-opt-include=${opt-dir}/include | |
35 | --with-opt-lib | |
36 | --without-opt-lib=${opt-dir}/lib | |
37 | --with-make-prog | |
38 | --without-make-prog | |
39 | --srcdir=. | |
40 | --curdir | |
41 | --ruby=C:/Ruby200-x64/bin/ruby | |
42 | --with-atomic_reference-dir | |
43 | --without-atomic_reference-dir | |
44 | --with-atomic_reference-include | |
45 | --without-atomic_reference-include=${atomic_reference-dir}/include | |
46 | --with-atomic_reference-lib | |
47 | --without-atomic_reference-lib=${atomic_reference-dir}/ | |
48 | C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:430:in `try_do': The compiler failed to ge | |
49 | nerate an executable file. (RuntimeError) | |
50 | You have to install development tools first. | |
51 | from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:515:in `try_link0' | |
52 | from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:813:in `try_run' | |
53 | from extconf.rb:24:in `<main>' | |
54 | ||
55 | ||
56 | Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomi | |
57 | c-1.1.12 for inspection. | |
58 | Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomic-1.1.12/ext/gem_ | |
59 | make.out | |
60 | - | make.out |
60 | + | |
61 | ||
62 | ||
63 | =============================mkmf======================================= | |
64 | "x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby200-x64/include/ruby-2.0.0/x64-mingw32 -IC:/Ruby200-x64/include/ruby-2.0.0/ruby/backward -IC:/Ruby200-x64/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -march=native conftest.c -L. -LC:/Ruby200-x64/lib -L. -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi " | |
65 | checked program was: | |
66 | /* begin */ | |
67 | 1: #include "ruby.h" | |
68 | 2: | |
69 | 3: #include <winsock2.h> | |
70 | 4: #include <windows.h> | |
71 | 5: int main(int argc, char **argv) | |
72 | 6: { | |
73 | 7: return 0; | |
74 | 8: } | |
75 | /* end */ |