Python 2.7.2 compile error

Timothy Makobu makobu.mwambiriro@gmail.com
Wed Feb 1 12:38:00 GMT 2012


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.atzeri@gmail.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



More information about the Cygwin mailing list