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


Groups > comp.lang.python > #22277

Re: errors building python 2.7.3

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <luch@ank-sia.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.035
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'python': 0.11; 'subject:python': 0.12; '-shared': 0.16; '-wall': 0.16; 'skip:` 30': 0.16; 'skip:b 70': 0.16; 'undefined': 0.16; 'error:': 0.18; 'extension': 0.18; 'wrote:': 0.21; 'function': 0.22; 'gcc': 0.22; 'pointer': 0.22; 'header:In-Reply-To:1': 0.22; 'header:User- Agent:1': 0.23; 'tried': 0.26; "i've": 0.28; 'skip:` 20': 0.29; 'reaches': 0.33; 'version': 0.36; 'hi!': 0.36; 'reference': 0.36; 'failed': 0.38; 'to:addr:python-list': 0.39; 'to:addr:python.org': 0.40; 'type': 0.62; '8bit%:21': 0.63; './configure': 0.84; 'skip:\xe2 30': 0.84; '8bit%:18': 0.91
Date Wed, 28 Mar 2012 17:39:35 +0300
From Alexey Luchko <luch@ank-sia.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0
MIME-Version 1.0
To python-list@python.org
Subject Re: errors building python 2.7.3
References <4F72FAF9.8000802@ank-sia.com>
In-Reply-To <4F72FAF9.8000802@ank-sia.com>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
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.1076.1332945567.3037.python-list@python.org> (permalink)
Lines 78
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332945567 news.xs4all.nl 6855 [2001:888:2000:d::a6]:34239
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22277

Show key headers only | View raw


On 28.03.2012 14:50, Alexey Luchko wrote:
> Hi!
>
> I've tried to build Python 2.7.3rc2 on cygwin and got the following errors:
>
> $ CFLAGS=-I/usr/include/ncursesw/ CPPFLAGS=-I/usr/include/ncursesw/
> ./configure
> $ make
> ...
> gcc -shared -Wl,--enable-auto-image-base
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bufferedio.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bytesio.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/fileio.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/iobase.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/_iomodule.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/stringio.o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/textio.o
> -L/usr/local/lib -L. -lpython2.7 -o build/lib.cygwin-1.7.11-i686-2.7/_io.dll
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bufferedio.o:
> In function `_set_BlockingIOError':
> /Python-2.7.3rc2/Modules/_io/bufferedio.c:579: undefined reference to
> `__imp__PyExc_BlockingIOError'
> /Python-2.7.3rc2/Modules/_io/bufferedio.c:579: undefined reference to
> `__imp__PyExc_BlockingIOError'
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_io/bufferedio.o:
> In function `_buffered_check_blocking_error':
> /Python-2.7.3rc2/Modules/_io/bufferedio.c:595: undefined reference to
> `__imp__PyExc_BlockingIOError'
> collect2: ld returned 1 exit status
>
> building '_curses' extension
> gcc -fno-strict-aliasing -I/usr/include/ncursesw/ -DNDEBUG -g -fwrapv -O3
> -Wall -Wstrict-prototypes -I. -IInclude -I./Include
> -I/usr/include/ncursesw/ -I/Python-2.7.3rc2/Include -I/Python-2.7.3rc2 -c
> /Python-2.7.3rc2/Modules/_cursesmodule.c -o
> build/temp.cygwin-1.7.11-i686-2.7/Python-2.7.3rc2/Modules/_cursesmodule.o
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_EchoChar’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:810:18: error: dereferencing
> pointer to incomplete type
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_NoOutRefresh’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:1238:22: error: dereferencing
> pointer to incomplete type
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_Refresh’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:1381:22: error: dereferencing
> pointer to incomplete type
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function ‘PyCursesWindow_SubWin’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:1448:18: error: dereferencing
> pointer to incomplete type
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_Refresh’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:1412:1: warning: control reaches
> end of non-void function
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_NoOutRefresh’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:1270:1: warning: control reaches
> end of non-void function
> /Python-2.7.3rc2/Modules/_cursesmodule.c: In function
> ‘PyCursesWindow_EchoChar’:
> /Python-2.7.3rc2/Modules/_cursesmodule.c:817:1: warning: control reaches
> end of non-void function
>
> ...
>
> Failed to build these modules:
> _curses _io

The same happens with Python 2.7.2.


> CYGWIN_NT-6.1-WOW64 ... 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin
> gcc version 4.5.3 (GCC)


--
Alex

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


Thread

Re: errors building python 2.7.3 Alexey Luchko <luch@ank-sia.com> - 2012-03-28 17:39 +0300

csiph-web