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

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 2011-07-05 10:25 -0400
Subject Re: Compiling Python 3.2 on Cygwin fails
From David Robinow <drobinow@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.631.1309875917.1164.python-list@python.org> (permalink)

Show all headers | 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