質問編集履歴

1

コードを文字入力しました

2019/07/02 06:05

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -10,10 +10,122 @@
10
10
 
11
11
  gem install sqlite3 -v 1.3.13 --platform=ruby を実行すると
12
12
 
13
+
14
+
15
+ Fetching: sqlite3-1.3.13.gem(100%)
16
+
17
+ Temporalily enhancing PATH for MSYS/MINGW...
18
+
19
+ Building native extionsions. This could take a while...
20
+
21
+ Successfully installed sqlite3-1. 3. 13
22
+
23
+ Parsing documentation for sqlite3-1.3. 13
24
+
25
+ Installing ri documentation for sqlite3-1.3. 13
26
+
27
+ Done installing documentation for sqlite3 after
28
+
29
+ 1 seconds 1 gem installed
30
+
31
+
32
+
13
- 1枚目画像の様に表示されるそうなのですが、僕の場合は2枚目の画像のように表示されてしまいます。
33
+ の様に表示されるそうなのですが、僕の場合は
34
+
35
+
36
+
37
+ C:\Users 0 sample_app/gem install sqlite3 -v 1.3.13 --platform=ruby
38
+
39
+ Fetching: sqlite3-1.3.13.gem (100%)
40
+
41
+ Temporarily enhancing PATH for MSYS/MINGW...
42
+
43
+ Building native extensions. This could take a while...
44
+
45
+ ERROR: Error installing sqlite3:
46
+
47
+ ERROR: Failed to build gem native extension.
48
+
49
+ current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13/ext/sqlite3
50
+
51
+ C:/Ruby25-x64/bin/ruby.exe -r ./siteconf20190702-1128-namclt.rb extconf.rb
52
+
53
+ *** extconf.rb failed ***
54
+
55
+ Could not create Makefile due to some reason, probably lack of necessary
56
+
57
+ Tibraries and/or headers. Check the mkmt. log file for more details. You may
58
+
59
+ need cont iguration options.
60
+
61
+
62
+
63
+ Provided configuration options:
64
+
65
+ --with-opt-dir --without-opt-dir
66
+
67
+ --with-opt-include --without-opt-include=${opt-dir}/include
68
+
69
+ --with-opt-lib
70
+
71
+ --without-opt-lib=${opt-dir}/lib
72
+
73
+ --with-make-prog
74
+
75
+ --without-make-prog
76
+
77
+ --srcdir=.
78
+
79
+ --curdir
80
+
81
+ --ruby-C:/Ruby25-x64/bin/$(RUBY_BASE_NAME)
82
+
83
+ --with-sqlite3-config
84
+
85
+ --without-sqlite3-config
86
+
87
+ --with-pkg-config
88
+
89
+ --without-pkg-config
90
+
91
+ C:/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:456: in 'try_do': The compiler failed to generate an executable file. (Runt imeError),
92
+
93
+ You have to install development tools first.
94
+
95
+ from C:/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:541: in 'try_linko
96
+
97
+ from C:/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb:559: in try_link',
98
+
99
+ from C:/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb: 660: in 'try_Idflags'
100
+
101
+ from C:/Ruby25-x64/lib/ruby/2.5.0/mkmf.rb: 1820: in pkg_config
102
+
103
+ from extcont.rb:27: in
104
+
105
+ To see why this extension failed to compile, please check the mkmf. Tog which can be found here:
106
+
107
+ C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/sqlite3-1.3.13/mkmf.log
108
+
109
+
110
+
111
+ extconf failed, exit code 1
112
+
113
+
114
+
115
+ Gem files will remain installed in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13 for inspection.
116
+
117
+ Results logged to C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/sqlite3-1.3.13/gem_make.out
118
+
119
+
120
+
121
+ ように表示されてしまいます。
14
122
 
15
123
  どなたか解答よろしくお願いします。
16
124
 
17
- ![イメージ説明](0374e774216b2754e6d2511228222d1d.png)
18
125
 
126
+
127
+ ![イメージ説明](dd1c2dc7b22e0c5df1e2c1ae4638e6ff.png)
128
+
19
- ![イメージ説明](be0236f47ea8713e2b0c3bed8255991d.png)
129
+ ![イメージ説明](9f102fffeaf833a7b0cc9f3c4b76a789.png)
130
+
131
+ ![イメージ説明](fd38d0321d3dae1332d2d9c2ebd9f885.png)