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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=cXmDdzzUO4GbAaMbsrWFJAgTitukLnquU0li1wzdWtU 9nvlIx/vTJ35v7T/JTo1gLGY3DJ7bBSMdCTtSVC0FzoYC2M4WA352QpX4uxJjhA3 8z3DdLByQoU78cl0EqHEvNemynltYixJFWzlJ5NxlCNjWQ+c9CyCdkxxjAttmj+I = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=0DwY3wc/Syw2yCCk/g3OqUr4wvQ=; b=NNmbLTJXL+dUNf2St gW4+DxXyiiZdk2U7qxD2qBQLL1gcibMQ9FgurhJBJnrjsqnF+p1K6zw3/XjbQNNf 8qxakSveBX1S70SNcPuL2YKB3Pps1YkErTm4s4GljlFBi/3RROpDJ93UJXQ5KuAd fN1kUzYiLdzni504vcBGTAgJQU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=ham version=3.3.2 X-HELO: bureau82.ns.utoronto.ca Message-ID: <5272A521.8050509@cs.utoronto.ca> Date: Thu, 31 Oct 2013 14:44:49 -0400 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Unable to compile python 3.3 [Was: Re: Python 3.3 coming soon?] References: <525BFCED DOT 8070802 AT cs DOT utoronto DOT ca> <525C95EE DOT 9070500 AT cs DOT utoronto DOT ca> <525CB65F DOT 6020803 AT gmail DOT com> <20131031181156 DOT GA66600 AT tishler DOT net> In-Reply-To: <20131031181156.GA66600@tishler.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 31/10/2013 2:11 PM, Jason Tishler wrote: > On Tue, Oct 15, 2013 at 12:28:31PM +0900, nu774 wrote: >> Installing libffi-devel will let python pick system libffi, so you >> can skip that libffi building part you are currently stuck. >> >> (2013/10/15 10:10), Ryan Johnson wrote: >>> "/usr/src/python3-3.3.2-3/src/Python-3.3.2/Lib/distutils/command/build_ext.py", >>> line 463, in build_extensions >>> self.build_extension(ext) >>> File "/usr/src/python3-3.3.2-3/src/Python-3.3.2/setup.py", line 279, >>> in build_extension >>> if not self.configure_ctypes(ext): >>> File "/usr/src/python3-3.3.2-3/src/Python-3.3.2/setup.py", line 1807, >>> in configure_ctypes >>> exec(f.read(), globals(), fficonfig) >>> File "", line 33, in >>> KeyError: 'X86_WIN64' >>> Makefile:505: recipe for target 'sharedmods' failed >>> >>> At this point I'm stuck... any advice from the gurus out there would be >>> appreciated. > I get the same build failure with Python 2.7.5 and 3.2.5 under 64-bit > Cygwin even though I configure --with-system-ffi and have libffi-devel > installed. I noticed that libffi-devel installs its headers in a > non-standard location: > > $ cygcheck -l libffi-devel | fgrep .h > /usr/lib/libffi-3.0.13/include/ffi.h > /usr/lib/libffi-3.0.13/include/ffitarget.h > > AFAICT, this prevents Python's build system from using the system > provided libffi and attempt to build its own causing an error like the > one above. > > I can workaround the problem by creating symlinks to the libffi header > files in /usr/include: > > $ ln -s /usr/lib/libffi-3.0.13/include/* /usr/include > > It appears that others have successfully built Python under 64-bit > Cygwin without resorting to my workaround. Does anyone know what I'm > missing? Try installing pkg-config. Ryan -- 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