This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cannot find -levent
- From: Troy Blank <blanktroy at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 10 Apr 2013 16:45:57 +0000 (UTC)
- Subject: cannot find -levent
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