The instructions at http://sourceware.org/cygwinports/ for installing packages
from cygwinports can be simplified greatly with the latest setup.

1. Use the current Cygwin setup.exe (at least version 2.378)

2. Launch setup.exe -X

Ideally, this would use the -K flag to point to a URL for the pubkey used to
sign the cygwinports setup.ini.  In the absence of such a URL, -X must be used.

3. Add ftp://sourceware.org/pub/cygwinports (or a sourceware mirror) to the
mirror list, and select that (using ctrl-click in the mirror list) in addition
to your usual cygwin mirror.

Note that setup still has some infelicities in the way the mirror list works:
If you choose a cygwinports mirror on the same host as your cygwin mirror (for
example, http://mirrors.kernel.org/sourceware/cygwin/ and
http://mirrors.kernel.org/sources.redhat.com/cygwinports/ ), because these
entries have the same host name, they aren't distinguishable in the mirror
list, and setup doesn't correctly select the mirror you have just added.

4. Select the packages of your choice and their dependencies and updates for
download and installation.

There's still a few rough edges, mainly with packages which have been
previously noted as having overlaps between cygwinports and the cygwin distro.
 I'll just mention a couple of points:

* For packages which have been built in cygwinports with the experimental
gcc-4.5 and depend on libstdc++, because setup doesn't do version-based
dependencies, you need to manually upgrade to libstdc++-4.5.0-1.

* Setup compares tcltk version 20080420-1 (distro) and 8.5.8-1 (cygwinports)
and decides 20080420-1 is later (as 200804020 > 8), so if you really want
Tcl/Tk 8.5, you need to manually select it (but this breaks distro stuff which
depends on tcl84/tk84 DLLs, e.g. gdb :-()

* Where packages exist in both cygwin and cygwinports with the same version
number, it's indeterminate which one actually gets installed.  Currently, this
is true for cppunit, sqlite3, libsqlite3_0 and libsqlite3-devel.  I've no idea
if those packages are actually the same or not.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to