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