delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/01/07:38:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4F290366.3050300@gmail.com>
References: <CACh7tUPrutfempLD8rU_zKbKLV6UAdsJhhMecx77BCzpQsvFdw AT mail DOT gmail DOT com> <4F290366 DOT 3050300 AT gmail DOT com>
Date: Wed, 1 Feb 2012 15:38:30 +0300
Message-ID: <CACh7tUMyuySZboofFE2SCnMnKmmn_XZGO9qTkZz76CTkCEgBuQ@mail.gmail.com>
Subject: Re: Python 2.7.2 compile error
From: Timothy Makobu <makobu DOT mwambiriro AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q11CcnM6001599

Hi,

After running the command (i had to run it via dash), the error now
looks like this:

$ make -j2
ldd: /lib/libreadline.a: Permission denied
/usr/local/src/Python-2.7.2/Modules/_io/_iomodule.c:172:11: warning:
‘PyExc_BlockingIOError’ redeclared without dllimport attribute:
previous dllimport ignored
build/temp.cygwin-1.7.9-i686-2.7/usr/local/src/Python-2.7.2/Modules/_io/bufferedio.o:
In function `_buffered_check_blocking_error':
/usr/local/src/Python-2.7.2/Modules/_io/bufferedio.c:583: undefined
reference to `__imp__PyExc_BlockingIOError'
/usr/local/src/Python-2.7.2/Modules/_io/bufferedio.c:583: undefined
reference to `__imp__PyExc_BlockingIOError'
/usr/local/src/Python-2.7.2/Modules/_io/bufferedio.c:583: undefined
reference to `__imp__PyExc_BlockingIOError'
collect2: ld returned 1 exit status
In file included from /usr/local/src/Python-2.7.2/Modules/_cursesmodule.c:114:0:
Include/py_curses.h:50:20: fatal error: curses.h: No such file or directory
compilation terminated.
In file included from /usr/local/src/Python-2.7.2/Modules/_curses_panel.c:15:0:
Include/py_curses.h:50:20: fatal error: curses.h: No such file or directory
compilation terminated.

Python build finished, but the necessary bits to build these modules
were not found:
_tkinter           bsddb185           linuxaudiodev
nis                ossaudiodev        spwd
sunaudiodev
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      _io

On Wed, Feb 1, 2012 at 12:18 PM, marco atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> On 2/1/2012 9:08 AM, Timothy Makobu wrote:
>>
>> Hi all,
>>
>> I have installed the entire dev section, but when I try to compile the
>> above, I get the error below:
>>
>>       2 [main] python 4368
>> C:\cygwin\usr\local\src\Python-2.7.2\python.exe: *** fatal error -
>> unable to remap
>>
>> \\?\C:\cygwin\usr\local\src\Python-2.7.2\build\lib.cygwin-1.7.9-i686-2.7\grp.dll
>> to same address as parent: 0x450000 != 0x480000
>> Stack trace:
>> Frame     Function  Args
>> 00229BD8  6102796B  (00229BD8, 00000000, 00000000, 00000000)
>> 00229EC8  6102796B  (6117EC60, 00008000, 00000000, 61180977)
>> 0022AEF8  61004F1B  (611A7FAC, 6124929C, 00450000, 00480000)
>> End of stack trace
>>       2 [main] python 5368 fork: child 4368 - died waiting for dll
>> loading, errno 11
>> error: Resource temporarily unavailable
>> Makefile:426: recipe for target `sharedmods' failed
>> make: *** [sharedmods] Error 1
>>
>>
>> I installed Cygwin an hour ago, and I'm on Windows7 Pro.
>>
>
> It is a fork issue, so you need to run rebaseall.
>
> As it seems Python run itself during the build you
> need to add the dll's just created to the rebase list
>
> $ find /usr/local -name "*.dll" > local_list
>
> and from dash shell
>
> $ rebaseall -T local_list
>
> after that I presume the make should be able to complete the job.
>
> Regards
> Marco
>
>
>
> --
> 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
>



-- 
sent from my two tin cans via hangerwire

--
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