We have a page devoted to Setting up Cygwin and another about Cygwin-specific problems, which may help.