Changes between Version 72 and Version 73 of MovedToGitHub/Building


Ignore:
Timestamp:
May 23, 2014, 4:51:01 PM (8 years ago)
Author:
rb07
Comment:

Update Cygwin section up to version 2.83.

Legend:

Unmodified
Added
Removed
Modified
  • MovedToGitHub/Building

    v72 v73  
    163163=== Cygwin environment ===
    164164
    165 With Cygwin [http://cygwin.com/] installed, the CLI tools (transmission-remote, transmissioncli) and the daemon can be built easily.
     165With Cygwin [http://cygwin.com/] installed, the CLI tools (transmission-remote, transmissioncli, etc.) and the daemon can be built easily.
    166166
    167167No patches needed(*), all the recent versions of Transmission built almost out-of-the-box (you need to install the prerequisites), and the CLI tools work better under Cygwin that those built with MinGW.
    168168
    169 (*) With version 2.0 and above, '''libevent''' is not bundled and it's also not in Cygwin distribution... so you need to build it (which is as easy as ./configure, make install).  To build transmission you may need to add LDFLAGS="-L/usr/local/lib" to the configure script (LIBEVENT_LIBS doesn't seem to work when it comes to build all the test programs).  Additionally '''libutp''' needs deleting -ansi on the Makefile (a bug on Cygwin headers).
     169(*) At the release time of version 2.0, '''libevent''' is not bundled and it's also not in Cygwin distribution (but was added later)... so you need to build it (which is as easy as ./configure, make install).  To build transmission you may need to add LDFLAGS="-L/usr/local/lib" to the configure script (LIBEVENT_LIBS doesn't seem to work when it comes to build all the test programs).  Additionally '''libutp''' needs deleting -ansi on the Makefile.
    170170
    171171With version 2.51 miniupnpc fails to build, see [http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=1130].
    172172
    173 Version 2.80 breaks building on Cygwin (libtransmission/platform.c and quotas, adding this [https://github.com/adaptivecomputing/torque/blob/master/src/resmom/cygwin/quota.h] file to Cygwin's /usr/include/sys solves the problem).
     173Version 2.80 breaks building on Cygwin, adding this [https://github.com/adaptivecomputing/torque/blob/master/src/resmom/cygwin/quota.h] file to Cygwin's /usr/include/sys solves the problem.  This is no longer needed after version 2.82 (Cygwin added the header).
    174174
    175 Version 2.81 with the above workaround needs a one line patch:
    176 {{{
    177 --- a/libtransmission/platform-quota.c  2013-07-15 19:42:02.314325900 -0500
    178 +++ b/libtransmission/platform-quota.c  2013-07-18 19:21:36.340076700 -0500
    179 @@ -241,7 +241,7 @@
    180        spaceused = (int64_t) dq.dqb_curbytes;
    181  #elif defined(__UCLIBC__)
    182        spaceused = (int64_t) btodb(dq.dqb_curblocks);
    183 -#elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2)
    184 +#elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
    185        spaceused = (int64_t) dq.dqb_curblocks >> 1;
    186  #else
    187        spaceused = btodb(dq.dqb_curspace);
    188 }}}
     175Version 2.81 with the above workaround needs a one line patch, see ticket #5692.
    189176
     177Version 2.82, same as 2.81.
     178
     179Version 2.83, no need to add quota.h, Cygwin added it.
    190180=== Native Windows ===
    191181