Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8830

Re: Compiling Python 3.2 on Cygwin fails

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <drobinow@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'bits': 0.07; 'subject:fails': 0.07; 'python': 0.08; 'finished,': 0.09; 'finishes': 0.09; 'install,': 0.09; "module's": 0.09; 'setup.py': 0.09; 'wrote:': 0.15; "'make": 0.16; '170,': 0.16; '509': 0.16; 'bits,': 0.16; 'cleanly': 0.16; 'remember.': 0.16; "hasn't": 0.16; 'mon,': 0.16; 'pm,': 0.16; 'thanks!': 0.17; 'setup.': 0.19; '(i.e.,': 0.22; 'header:In-Reply-To:1': 0.22; 'there.': 0.25; 'changed': 0.25; 'modules': 0.25; "i'm": 0.27; 'url:mailman': 0.27; 'somebody': 0.28; 'changing': 0.28; 'message- id:@mail.gmail.com': 0.28; 'compile': 0.29; 'version': 0.30; 'lines': 0.31; 'url:listinfo': 0.32; "won't": 0.32; 'source': 0.32; "i'll": 0.33; 'list.': 0.33; "i've": 0.33; 'to:addr:python- list': 0.34; 'apply': 0.34; 'there': 0.34; 'all.': 0.35; 'url:python': 0.37; 'facing': 0.37; 'instead.': 0.37; 'but': 0.37; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'problem.': 0.38; 'development.': 0.38; 'too,': 0.38; 'mailing': 0.38; 'help': 0.39; 'to:addr:python.org': 0.39; 'might': 0.39; 'meaning': 0.40; 'received:209': 0.40; 'did': 0.40; 'skip:$ 10': 0.63; 'life': 0.64; 'further': 0.65; 'details': 0.65; 'interest': 0.65; 'received:209.85.215.174': 0.67; 'received:mail- ey0-f174.google.com': 0.67; 'click': 0.79; 'box)': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=QYRcXn47MXeX1D4LnM/LExtOHQLWgN5YV2EDOigE7fw=; b=Q07iL1xgFm5quER/n5nS5OyHNkqR4xfECzRds2OsKhO8R7m5haOfwwYSCABYwG/iBc 2NWpF4HhhcNPUk3Q7BM/xLG2zCu9vR12/X6X2MEz508t/o20hHP0QntVCupvYiEyHSBc gRzqZ9svFn0yh6Uys054yA286v0Ku1PilhuGg=
MIME-Version 1.0
In-Reply-To <4e40b036-e232-45d5-be9d-b9019fe4b414@gh5g2000vbb.googlegroups.com>
References <ipp0u8$q8f$1@news-cypress.fernuni-hagen.de> <0a6de4fa-aa64-4485-a6da-72cf1bdad739@m9g2000yqe.googlegroups.com> <4e40b036-e232-45d5-be9d-b9019fe4b414@gh5g2000vbb.googlegroups.com>
Date Tue, 5 Jul 2011 10:25:15 -0400
Subject Re: Compiling Python 3.2 on Cygwin fails
From David Robinow <drobinow@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.631.1309875917.1164.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1309875917 news.xs4all.nl 21772 [2001:888:2000:d::a6]:33979
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8830

Show key headers only | View raw


On Mon, Jul 4, 2011 at 3:49 PM, Aly Tawfik <aly.tawfik@gmail.com> wrote:
> On Jun 20, 12:44 pm, sewpafly <sewpa...@gmail.com> wrote:
>> I was able to a little further by changing 2 lines in Makefile.pre.in.
>>
>> On line 170, changed:
>>     DLLLIBRARY= @DLLLIBRARY@
>> to:
>>     DLLLIBRARY= libpython$(VERSION).dll
>>
>> On line 509 it had:
>>     $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
>>
>> which I changed to:
>>     $(DLLLIBRARY) libpython$(LDVERSION).dll.a: $(LIBRARY_OBJS)
>>
>> Compile finishes with:
>> Python build finished, but the necessary bits to build these modules
>> were not found:
>> _gdbm              _sqlite3           _tkinter
>> nis                ossaudiodev        spwd
>> To find the necessary bits, look in setup.py in detect_modules() for
>> the module's name.
>>
>> Failed to build these modules:
>> _curses            _curses_panel
>>
>> But 'make test' returns many errors.
>>
>> I'm thinking I'll try Python 3.1 instead.
>
> I, too, am facing the same problem. Which version of Python 3.1 did
> you install, and did it work? Thanks!
> --
> http://mail.python.org/mailman/listinfo/python-list
>

 Cygwin is not really a supported platform. Reverting to Python 3.1
won't help at all. Download the 2.6.5 source version (i.e., click the
Src box) using cygwin setup. Apply the included patches [some don't
apply cleanly any more]. That will get you most of the way there.
There are a few other issues the details of which I don't remember.
 I'm not sure why there hasn't been a cygwin distribution lately. You
might ask on the cygwin mailing list. [Ultimately somebody with an
interest in cygwin will need to get active in python development. I've
been meaning to do this but life gets in the way.]
  DR

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Compiling Python 3.2 on Cygwin fails sewpafly <sewpafly@gmail.com> - 2011-06-20 09:44 -0700
  Re: Compiling Python 3.2 on Cygwin fails Aly Tawfik <aly.tawfik@gmail.com> - 2011-07-04 12:44 -0700
  Re: Compiling Python 3.2 on Cygwin fails Aly Tawfik <aly.tawfik@gmail.com> - 2011-07-04 12:49 -0700
    Re: Compiling Python 3.2 on Cygwin fails David Robinow <drobinow@gmail.com> - 2011-07-05 10:25 -0400

csiph-web