質問編集履歴

2

さらに追記(改善)

2015/08/04 04:32

投稿

IWWoU
IWWoU

スコア13

test CHANGED
File without changes
test CHANGED
@@ -119,3 +119,77 @@
119
119
 
120
120
 
121
121
  分かる方、是非に・・・。
122
+
123
+
124
+
125
+ 追記
126
+
127
+ 少し改善されたみたいです。Rubyのバージョンが高すぎて対応できなかったようです。
128
+
129
+ 先ほどはRuby2.20、今回はRuby2.0.0です。
130
+
131
+ 以下、プロンプト内容
132
+
133
+ Temporarily enhancing PATH to include DevKit...
134
+
135
+ Building native extensions. This could take a while...
136
+
137
+ Successfully installed serialport-1.3.1
138
+
139
+ Fetching: eventmachine-1.0.7.gem (100%)
140
+
141
+ Building native extensions. This could take a while...
142
+
143
+ Successfully installed eventmachine-1.0.7
144
+
145
+ Fetching: eventmachine_httpserver-0.2.1.gem (100%)
146
+
147
+ Building native extensions. This could take a while...
148
+
149
+ ERROR: Error installing serialport-server:
150
+
151
+ ERROR: Failed to build gem native extension.
152
+
153
+
154
+
155
+ C:/Ruby200/bin/ruby.exe extconf.rb
156
+
157
+ checking for windows.h... yes
158
+
159
+ checking for winsock.h... yes
160
+
161
+ checking for main() in -lkernel32... yes
162
+
163
+ checking for main() in -lrpcrt4... yes
164
+
165
+ checking for main() in -lgdi32... yes
166
+
167
+ checking for main() in -lssleay32... no
168
+
169
+ creating Makefile
170
+
171
+
172
+
173
+ make "DESTDIR="
174
+
175
+ generating eventmachine_httpserver-i386-mingw32.def
176
+
177
+ compiling http.cpp
178
+
179
+ g++.exe: error: unrecognized command line option '-EHs'
180
+
181
+ g++.exe: error: unrecognized command line option '-GR'
182
+
183
+ make: *** [http.o] Error 1
184
+
185
+
186
+
187
+
188
+
189
+ Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/eventmach
190
+
191
+ ine_httpserver-0.2.1 for inspection.
192
+
193
+ Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/eventmachine_httpserver-0.
194
+
195
+ 2.1/ext/gem_make.out

1

必要だと思われる情報を書き足した

2015/08/04 04:32

投稿

IWWoU
IWWoU

スコア13

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,10 @@
5
5
  幾つかのエラーは解消したのですが、何分ruby自体初見でコマンドプロンプトを見て対応してもなかなか上手くいかず、困っています。
6
6
 
7
7
  というわけで、誰か助言をお願いします。
8
+
9
+ Serialport-server開発元?
10
+
11
+ 橋本商会 http://shokai.org/blog/archives/6009
8
12
 
9
13
 
10
14