Here are some things I learned the hard way.  I have had difficulty
reliably installing ports packages for years.  I think I have finally
figured out why and how to reliably install and update packages.  I
think these things are correct but have not had them confirmed by
anyone closely related to the Ports project.

Knowing the following would have helped me a lot and saved a lot of
time spent trying to figure out why my Ports installations would not
work.

    * "distro" stands for the main Cygwin packages that show up when
you start up "setup.exe" (i.e. ftp://mirror.mcs.anl.gov/pub/cygwin/ ).
 "Ports" stands for packages maintained by Yaakov at
ftp://sourceware.org/pub/cygwinports .

    * Having both distro and Ports (step 4 at
http://sourceware.org/cygwinports/ ) selected allows downloading
needed packages to satisfy dependencies for ports packages that are
not in Ports but in distro.  However, this will not always download
the correct versions of packages from Ports if they also exist in
distro.  Fix this by selecting Ports packages with both selected,
download (it will get packages from both distro and Ports), and then
download the Ports packages again but without distro selected.
Install from local directory as described at
http://sourceware.org/cygwinports/ .  Be sure and update the setup.ini
file by using the sed command or some other means.

    * Make sure all Cygwin applications are closed and nothing Cygwin
is running when installing packages.  I believe that having MinTTY
running caused some packages to fail to install properly.  "cygcheck
-c" showed them with "Incomplete" as their status.  Check for these
with "cygcheck -c | grep Incomplete".  Reinstall any packages from the
local downloads that show up with "Incomplete".  Be sure that the date
in the setup.ini file from Ports has been updated with the "sed"
command.

    * Post only text messages to the
[email protected] list.  Html messages can
end up showing up as garbled attachments.

Thanks big time to Yaakov for all he does to make Ports work and
available to all of us!  Yaakov, thanks also for helping me debug my
installation problems through the years.

Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to