On Wed, Apr 10, 2013 at 04:45:57PM +0000, Troy Blank wrote: >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.
Does adding -L/usr/local/lib to your gcc link line help? cgf -- 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