a little madness

A man needs a little madness, or else he never dares cut the rope and be free -Nikos Kazantzakis

Zutubi

Cygwin, Svn and Windows 7

Yes, I use windows. Please don’t hate me for it. And yes, I use cygwin because I like to be able to use the command line tool that *nix provides. I will probably move away from windows someday, however for now it is what I am comfortable and most productive with.

So when I upgraded my machine to Windows 7 the other day, one of the first things I did was install Cygwin. Having done this numerous times in the past, I went straight to the download link and didn’t bother reading any of the useful content on the home page. Big Mistake.

The first sign that I had that there was trouble looming was this

Can’t create tunnel: Resource temporarily unavailable

when running any svn commands. I was aware that Windows 7 had significantly different security setup to XP, so I started looking around to see there was any help available at the usual locations. Alas, I came up empty. What was even more curious was that the error was completely random. Sometimes a command would work, other times it would not.

Queue a lot of frustration and cursing until I finally saw the cygwin home page again and this time read the note that

Note that Windows 7 and later will only be supported starting with the 1.7 version of Cygwin.

Cygwin 1.7 is still in beta testing, so figured I would give it a go and keep fingers crossed that what I need to work still works.

A download and svn checkout later and I run into this

/usr/bin/svn.exe: error while loading shared libraries: ?: cannot open
shared object file: No such file or directory

Was I out of luck? Fortunately my trusty friend google came to the rescue this time.

So for anyone else that is using cygwin and running into problems, I hope you find this helpful.

Liked this post? Share it!

One Response to “Cygwin, Svn and Windows 7”

  1. January 22nd, 2010 at 2:00 pm

    David Sim says:

    Thanks – but how to uninstall cygwin from my machine???!!!

Leave a Reply