Cygwin — Installing PIL on Cygwin and getting gcc: vfork: Resource temporarily unavailable.

I’m moving from mac to PC environment and converting everything the mac did to the PC.

One of the most important aspects is the unix environment.

While running my local deployment script, I ran into multiple problems. One involved running out of PIDs, solved by running the ash shell and running /bin/rebaseall.

Now, PIL is choking on the error gcc: vfork: Resource temporarily unavailable

The solution that worked for me is from this post:
http://cygwin.com/ml/cygwin/2007-01/msg00498.html

Run the following:

rebase -b 0x1000000000 /bin/tk84.dll

And your pip install PIL will work…

Magic.

2 thoughts on “Cygwin — Installing PIL on Cygwin and getting gcc: vfork: Resource temporarily unavailable.

    1. Congrats! This is a super annoying issue but it sounds like it is a non trivial problem for Cygwin.

      I’m not sure if you’re using Django, but you just prompted me to write a post about my solution to how due to the same issue the Django development server sometimes quits and is super slow.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s