LinkShare rotating banner

Wednesday, September 26, 2012

To Build Transmission-Daemon for Windows

transmission-bittorrent icon

Transmission is a free bittorrent application available on Linux. It is a pretty neat tool compared to other bittorrent software. It is possible to compile and use Transmission on Windows, thanks to Cygwin. First, install Cygwin using the Cygwin installer(setup.exe). I set the Root directory to C:\Cygwin and chose to install the following packages in addition to base packages.






  • bison
  • gettext-devel
  • libtool
  • make
  • binutils
  • gcc4-g++
  • patch
  • pkg-config


Compile zlib.


./configure --prefix=/usr --static
make
cp -iv zconf.h zlib.h /usr/include
cp -iv libz.a /usr/lib


Build OpenSSL.


./Configure -DHAVE_STRUCT_TIMESPEC -lz -lpthread threads zlib --prefix=/usr cygwin
make
make install


Build CURL.


./configure --prefix=/usr --disable-shared --with-ssl --with-ca-bundle=ca-bundle.crt
make
make install


Compile libevent.


./configure --prefix=/usr --disable-shared
make
make install


Lastly, build transmission.


./configure --prefix=/usr --disable-shared --enable-static --disable-nls --without-gtk CPPFLAGS=-DHAVE_STRUCT_TIMESPEC
make
make install


If you get snprintf error with libutp, insert the following line into utp.cpp:



extern int snprintf(char *, size_t, const char *, ...);

No comments:

Post a Comment

About This Blog

KBlog logo This blog seeks to share useful information on freely available fonts on the Internet. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

CyberChimps Professional WordPress Themes
Powered By Blogger