delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/10/13:15:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=fmpdV8IfzeCmWFHzInkvFN4JcEFKVYsvN+HSvcDS/MWRrytAi4QJX
L9fiuN+YVL8DCFNASam1igB0lomJ5Hn0sUpyjDh6D2H8qhN/JUw1GpkGaWs73igV
NVZTmt7R5A6LGkgMerkgRHQ++kL07oCarocV7tPDDhG1uF9sMawyQQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Esd+vO1XGEI64HzR+MfErxvoAII=; b=UanY9k+uuwXkrQMF9QdeiCZ6Eyp3
Lt1xy7NxzVqaNU3VjZFeNByIMXI+QJaMDj0oCXfiokhcC5o8vmvNJwAnYJCTDkDm
1TNOeIX+U89VIKKRVEBniyl/h+rO1X7JpWa/ii04IGxxVpKWTxPVtRmRb87sL3/u
Ga6qH/QzsGkX9fU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19OIsaFkMj08HRwCNnEJ3UW
Date: Wed, 10 Apr 2013 13:14:53 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cannot find -levent
Message-ID: <20130410171453.GA1257@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20130410T183801-931 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20130410T183801-931@post.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019