質問するログイン新規登録

質問編集履歴

2

さらに追記(改善)

2015/08/04 04:32

投稿

IWWoU
IWWoU

スコア13

title CHANGED
File without changes
body CHANGED
@@ -58,4 +58,41 @@
58
58
  test-unit (3.0.8)
59
59
 
60
60
 
61
- 分かる方、是非に・・・。
61
+ 分かる方、是非に・・・。
62
+
63
+ 追記
64
+ 少し改善されたみたいです。Rubyのバージョンが高すぎて対応できなかったようです。
65
+ 先ほどはRuby2.20、今回はRuby2.0.0です。
66
+ 以下、プロンプト内容
67
+ Temporarily enhancing PATH to include DevKit...
68
+ Building native extensions. This could take a while...
69
+ Successfully installed serialport-1.3.1
70
+ Fetching: eventmachine-1.0.7.gem (100%)
71
+ Building native extensions. This could take a while...
72
+ Successfully installed eventmachine-1.0.7
73
+ Fetching: eventmachine_httpserver-0.2.1.gem (100%)
74
+ Building native extensions. This could take a while...
75
+ ERROR: Error installing serialport-server:
76
+ ERROR: Failed to build gem native extension.
77
+
78
+ C:/Ruby200/bin/ruby.exe extconf.rb
79
+ checking for windows.h... yes
80
+ checking for winsock.h... yes
81
+ checking for main() in -lkernel32... yes
82
+ checking for main() in -lrpcrt4... yes
83
+ checking for main() in -lgdi32... yes
84
+ checking for main() in -lssleay32... no
85
+ creating Makefile
86
+
87
+ make "DESTDIR="
88
+ generating eventmachine_httpserver-i386-mingw32.def
89
+ compiling http.cpp
90
+ g++.exe: error: unrecognized command line option '-EHs'
91
+ g++.exe: error: unrecognized command line option '-GR'
92
+ make: *** [http.o] Error 1
93
+
94
+
95
+ Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/eventmach
96
+ ine_httpserver-0.2.1 for inspection.
97
+ Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/eventmachine_httpserver-0.
98
+ 2.1/ext/gem_make.out

1

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

2015/08/04 04:32

投稿

IWWoU
IWWoU

スコア13

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,8 @@
2
2
  とりあえずウェブブラウザで扱えるように何か丁度良い物は無いかと探してみたところ、RubyでSerialport-serverなるものが見つかり、使ってみようかと思いインストールしようとしたのですが失敗続きです。
3
3
  幾つかのエラーは解消したのですが、何分ruby自体初見でコマンドプロンプトを見て対応してもなかなか上手くいかず、困っています。
4
4
  というわけで、誰か助言をお願いします。
5
+ Serialport-server開発元?
6
+ 橋本商会 http://shokai.org/blog/archives/6009
5
7
 
6
8
  以下、インストールしようとした時のプロンプト内容
7
9