cannot find -levent

Troy Blank blanktroy@gmail.com
Wed Apr 10 17:15:00 GMT 2013


Hello,

I have used cygwin for awhile now and love i, having an issue that is very
confusing to me.

So I am trying to install django-socketio via pip install django-socketio
and after it succesffully  I always get the error (I install things through
pip all the time so I know pip is stable):

//--------------------------------------------------
running build_ext

building 'gevent.core' extension

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I/usr/include/python2.6 -c gevent/core.c -o
build/temp.cygwin-1.7.9-i686-2.6/gevent/core.o

gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.7.9-i686-2.6/gevent/core.o
-L/home/tblank/.virtualenvs/raspberry_pi/lib/python2.6/config -levent
-lpython2.6 -o build/lib.cygwin-1.7.9-i686-2.6/gevent/core.dll

/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot
find -levent

collect2: ld returned 1 exit status

error: command 'gcc' failed with exit status 1
//-------------------------------------------------

full error can be found here: http://dpaste.com/1053771/

I have installed libevent-2.0.21-stable from http://libevent.org/ ... and
ran a ./configure, make and make install without any errors and I can see
libevent.a in \usr\local\lib.

I assume gcc can't find my library files for libevent but I have failed to
find anything online that tells me how to tell gcc where those files are or
if in fact that is the issue.

Any information would be greatly appreciate.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list