Cygwin Upgrade

From DDCIDeos
Jump to navigationJump to search

Steps needed to upgrade from one Cygwin version to another.

Cygwin 2010 to 2012

Cygwin 2010 corresponds to Cygwin package "cygwin" version 1.7.2
Cygwin 2012 corresponds to Cygwin package "cygwin" version 1.7.11

After upgrading, if you have errors in your make, especially associated with an inability to create install directories, then update the common/build-utils to the latest.

The main difference between Cygwin 2010 and 2012 is that subversion changed in an incompatible way. See "Upgrading the Working Copy " in svn 1.7 release notes. In summary, you have two options.

  1. Delete your working copy and checkout a fresh copy using the new Subversion (preferred).
  2. upgrade your working copy.

If you upgrade your working copy, you should first:

  1. If you can, commit all your local changes.
  2. Make a backup copy (DO NOT SKIP THIS STEP, the upgrade failed for Aaron 3 times):
    cp -rp old new
  3. From the root of the working copy (using old Cygwin):
    svn cleanup
  4. Search your tree for bogus dir-prop-revert files. If any of them contain just the word "END", then delete the file. E.g., from the working copy root:
    find . -iname dir-prop-revert
  5. From the working copy root (using new Cygwin):
    svn update
  6. From the working copy root (using new Cygwin):
    svn cleanup