railsbob / em-serialport Goto Github PK
View Code? Open in Web Editor NEWAn evented serialport
An evented serialport
Installing the Gem on my Raspberry Pi under ruby 1.9.3 gives:
pi@raspberrypi ~/ruby $ gem install em-serialport
Fetching: eventmachine-0.12.10.gem (100%)
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /home/pi/.gem/ruby/1.9.1/cache/eventmachine-0.12.10.gem
Hi there,
the spec seems to have an old dependency to EM version 0.12.10 and this no longer compiles out of the box. Do you have any suggestions on getting round this?
Thanks.
Can't seem to install on Raspberry Pi?
Ruby: ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
Linux version 3.2.27+ (dc4@dc4-arm-01)
$ sudo gem install em-serialport
Building native extensions. This could take a while...
ERROR: Error installing em-serialport:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
checking for main() in -lcrypto... no
creating Makefile
make
compiling files.cpp
compiling binder.cpp
compiling sigs.cpp
compiling emwin.cpp
compiling rubymain.cpp
rubymain.cpp: In function âVALUE t_connect_server(VALUE, VALUE, VALUE)â:
rubymain.cpp:468:42: error: format not a string literal and no format arguments [-Werror=format-security]
rubymain.cpp: In function âVALUE t_bind_connect_server(VALUE, VALUE, VALUE, VALUE, VALUE)â:
rubymain.cpp:488:42: error: format not a string literal and no format arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
make: *** [rubymain.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.