Building Python with Tcl/Tk on Cygwin_NT-5.1

Jason Tishler jason at tishler.net
Wed Feb 2 08:27:37 EST 2005


Dean,

Please keep your replies on-list.

On Wed, Feb 02, 2005 at 05:06:30AM -0800, Dean N. Williams wrote:
> It appears that I built the  Tcl/Tk libraries, but for some reasons
> they are not correct. So I am using the Tcl/Tk libraries that were
> distributed with Cygwin. This seemed to work... Now I set the
> TCL_LIBRARY and TK_LIBRARY environment, but I get the following error
> when trying to run idle.
>
> [Dean Williams at ippc ...ASD_work/bin]$ ./idle
> C:\cygwin\usr\local\ASD_work\bin\python2.4.exe (3164): *** unable to 
> remap C:\cygwin\bin\cygssl-0.9.7.dll to same address as parent(0x740000) 
> != 0x750000
>      5 [main] python2.4 2144 sync_with_child: child 3164(0x650) died 
> before initialization with status code 0x1
>   7241 [main] python2.4 2144 sync_with_child: *** child state child 
> loading dlls
> Traceback (most recent call last):
>  File "./idle", line 5, in ?
>    main()
>  File "/usr/local/ASD_work/lib/python2.4/idlelib/PyShell.py", line 
> 1355, in main
> [snip]
>  File "/usr/local/ASD_work/lib/python2.4/os.py", line 488, in _spawnvef
>    pid = fork()
> OSError: [Errno 11] Resource temporarily unavailable
>
> Does this have to do with rebaseall?

Yes.  Rebase your system (via rebaseall) following the instructions in
the Cygwin Python but remember to use the "-T" option to specify the
DLLs you built locally.  After rebasing you should be good to go.

> thanks again for all your help...

You are welcome.

Maybe three times is a charm? :,(  Why don't you use the pre-built
Python that is part of the standard Cygwin distribution?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6



More information about the Python-list mailing list