Revisions

gist: 222147 Download_button fork
public
Public Clone URL: git://gist.github.com/222147.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
kmarsh@storage_a:~$ sudo gem install --verbose eventmachine
[sudo] password for kmarsh:
GET 200 OK: http://gemcutter.org/latest_specs.4.8.gz
GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
GET 200 OK: http://gems.github.com/latest_specs.4.8.gz
Installing gem eventmachine-0.12.10
Downloading gem eventmachine-0.12.10.gem
GET 302 Found: http://gems.rubyforge.org/gems/eventmachine-0.12.10.gem
GET 200 OK: http://gems.rubyforge.vm.bytemark.co.uk/gems/eventmachine-0.12.10.gem
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/.gitignore
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/README
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/Rakefile
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/COPYING
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/ChangeLog
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/DEFERRABLES
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/EPOLL
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/GNU
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/INSTALL
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/KEYBOARD
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/LEGAL
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/LIGHTWEIGHT_CONCURRENCY
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/PURE_RUBY
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/RELEASE_NOTES
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/SMTP
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/SPAWNED_PROCESSES
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/docs/TODO
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/eventmachine.gemspec
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/examples/ex_channel.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/examples/ex_queue.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/examples/helper.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/binder.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/binder.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/cmain.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/cplusplus.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/ed.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/ed.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/em.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/em.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/emwin.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/emwin.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/epoll.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/epoll.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/eventmachine.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/eventmachine_cpp.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/extconf.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/fastfilereader/extconf.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/fastfilereader/mapper.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/fastfilereader/mapper.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/fastfilereader/rubymain.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/files.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/files.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/kb.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/page.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/page.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/pipe.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/project.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/rubymain.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/sigs.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/sigs.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/ssl.cpp
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/ssl.h
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/.classpath
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/.project
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/EmReactor.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/EmReactorException.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/EventableChannel.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/EventableDatagramChannel.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/EventableSocketChannel.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/Application.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/Connection.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/ConnectionFactory.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/DefaultConnectionFactory.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/PeriodicTimer.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/application/Timer.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/ApplicationTest.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/ConnectTest.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/EMTest.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/TestDatagrams.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/TestServers.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/java/src/com/rubyeventmachine/tests/TestTimers.java
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/buftok.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/callback.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/channel.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/file_watch.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/future.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/messages.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/process_watch.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/processes.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/header_and_content.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/httpclient.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/httpclient2.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/line_and_text.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/linetext2.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/memcache.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/object_protocol.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/postgres3.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/saslauth.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/smtpclient.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/smtpserver.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/socks4.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/stomp.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/protocols/tcptest.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/queue.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/spawnable.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/streamer.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/timers.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/version.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma/callback.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma/container.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma/factory.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma/protocol.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/evma/reactor.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/jeventmachine.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/pr_eventmachine.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/setup.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tasks/cpp.rake_example
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/client.crt
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/client.key
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_attach.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_basic.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_channel.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_connection_count.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_defer.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_epoll.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_error_handler.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_errors.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_exc.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_file_watch.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_futures.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_get_sock_opt.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_handler_check.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_hc.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_httpclient.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_httpclient2.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_inactivity_timeout.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_kb.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ltp.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ltp2.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_next_tick.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_object_protocol.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_pause.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_pending_connect_timeout.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_process_watch.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_processes.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_proxy_connection.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_pure.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_queue.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_running.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_sasl.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_send_file.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_servers.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_smtpclient.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_smtpserver.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_spawn.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ssl_args.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ssl_methods.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ssl_verify.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_timers.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/test_ud.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/tests/testem.rb
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/web/whatis
Building native extensions. This could take a while...
/usr/bin/ruby1.8 extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for main() in -lnsl... yes
checking for main() in -lsocket... yes
creating Makefile
 
make
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c kb.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from kb.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from kb.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c pipe.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from pipe.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from pipe.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c files.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from files.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from files.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c cmain.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from cmain.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from cmain.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c ssl.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from ssl.cpp:23:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from ssl.cpp:23:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c page.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from page.cpp:21:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from page.cpp:21:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c binder.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from binder.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from binder.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c epoll.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c em.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from em.cpp:24:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from em.cpp:24:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c rubymain.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from rubymain.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from rubymain.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c ed.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from ed.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from ed.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c cplusplus.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from cplusplus.cpp:21:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from cplusplus.cpp:21:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c emwin.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DOS_SOLARIS8 -DWITH_SSL -KPIC -KPIC -G -c sigs.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from em.h:34,
                 from project.h:138,
                 from sigs.cpp:20:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from project.h:29,
                 from sigs.cpp:20:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
cc -shared -o rubyeventmachine.so kb.o pipe.o files.o cmain.o ssl.o page.o binder.o epoll.o em.o rubymain.o ed.o cplusplus.o emwin.o sigs.o -L"." -L"/usr/lib" -L. -Wl,-Bsymbolic-functions -Wl,-E -lruby1.8 -lsocket -lnsl -lssl -lcrypto -lpthread -ldl -lcrypt -lm -lc
 
make install
/usr/bin/install -c -m 0755 rubyeventmachine.so /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib
/usr/bin/ruby1.8 extconf.rb
checking for main() in -lnsl... yes
checking for main() in -lsocket... yes
creating Makefile
 
make
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DOS_UNIX -DOS_SOLARIS8 -KPIC -KPIC -G -c rubymain.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
In file included from /usr/lib/ruby/1.8/i386-solaris2.11/ruby.h:24,
                 from rubymain.cpp:26:
/usr/lib/ruby/1.8/i386-solaris2.11/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/locale_iso.h:48,
                 from /usr/include/locale.h:32,
                 from /usr/include/c++/4.2/clocale:51,
                 from /usr/include/c++/4.2/i386-pc-solaris2.11/bits/c++locale.h:47,
                 from /usr/include/c++/4.2/iosfwd:45,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from rubymain.cpp:22:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
g++ -I. -I. -I/usr/lib/ruby/1.8/i386-solaris2.11 -I. -DBUILD_FOR_RUBY -DOS_UNIX -DOS_SOLARIS8 -KPIC -KPIC -G -c mapper.cpp
g++: unrecognized option '-KPIC'
g++: unrecognized option '-KPIC'
cc -shared -o fastfilereaderext.so rubymain.o mapper.o -L"." -L"/usr/lib" -L. -Wl,-Bsymbolic-functions -Wl,-E -lruby1.8 -lsocket -lnsl -lpthread -ldl -lcrypt -lm -lc
 
make install
/usr/bin/install -c -m 0755 fastfilereaderext.so /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib
Successfully installed eventmachine-0.12.10
1 gem installed
kmarsh@storage_a:~$
 
 
kmarsh@storage_a:~/tmp/amqp-0.6.0/examples$ ruby mq/simple-ack.rb
/export/home/kmarsh/tmp/amqp-0.6.0/lib/amqp/client.rb:89:in `add_channel': uninitialized constant AMQP::Client::Mutex (NameError)
        from mq/../../lib/mq/../../lib/mq.rb:144:in `initialize'
        from /usr/local/lib/site_ruby/1.8/em/deferrable.rb:133:in `call'
        from /usr/local/lib/site_ruby/1.8/em/deferrable.rb:133:in `set_deferred_status'
        from /usr/local/lib/site_ruby/1.8/em/deferrable.rb:176:in `set_deferred_success'
        from /usr/local/lib/site_ruby/1.8/em/deferrable.rb:188:in `succeed'
        from /export/home/kmarsh/tmp/amqp-0.6.0/lib/amqp/client.rb:36:in `process_frame'
        from /export/home/kmarsh/tmp/amqp-0.6.0/lib/amqp/client.rb:105:in `receive_data'
        from /usr/local/lib/site_ruby/1.8/eventmachine.rb:990:in `event_callback'
         ... 8 levels...
        from /usr/local/lib/site_ruby/1.8/pr_eventmachine.rb:309:in `run'
        from /usr/local/lib/site_ruby/1.8/pr_eventmachine.rb:64:in `run_machine'
        from /usr/local/lib/site_ruby/1.8/eventmachine.rb:135:in `run'
        from mq/simple-ack.rb:10