ayanko / libevent Goto Github PK
View Code? Open in Web Editor NEWC extension to libevent library
C extension to libevent library
I'm trying to install it and I'm getting this error:
$ gem install libevent
Building native extensions. This could take a while...
ERROR: Error installing libevent:
ERROR: Failed to build gem native extension.
/Users/rafael/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
creating Makefile
make
compiling base.c
compiling ext.c
compiling http.c
compiling http_request.c
http_request.c: In function ‘t_get_body’:
http_request.c:308: warning: implicit conversion shortens 64-bit value into a 32-bit value
compiling signal.c
signal.c: In function ‘t_handler’:
signal.c:103: warning: unused parameter ‘signal_number’
signal.c:103: warning: unused parameter ‘events’
linking shared-object libevent_ext.bundle
ld: duplicate symbol _mLibevent in ext.o and base.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [libevent_ext.bundle] Error 1
Gem files will remain installed in /Users/rafael/.rvm/gems/ruby-1.9.3-p0/gems/libevent-0.0.1 for inspection.
Results logged to /Users/rafael/.rvm/gems/ruby-1.9.3-p0/gems/libevent-0.0.1/ext/libevent_ext/gem_make.out
The ruby version I'm using is:
$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
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.