This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Build Transmission-Daemon for Windows

By: a guest on Jan 14th, 2013  |  syntax: Bash  |  size: 1.44 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Build Transmission-Daemon for Windows
  2.  
  3. install Cygwin
  4.  
  5. chose to install addition packages
  6.  
  7.  bison
  8.  gettext-devel
  9.  libtool
  10.  make
  11.  binutils
  12.  gcc4-g++
  13.  patch
  14.  pkg-config
  15.  wget
  16.  
  17. Then compile
  18.  
  19. wget http://zlib.net/zlib-1.2.7.tar.gz
  20. tar xvzf zlib-1.2.7.tar.gz
  21. cd zlib-1.2.7
  22. ./configure --prefix=/usr --static
  23. make
  24. cp -iv zconf.h zlib.h /usr/include
  25. cp -iv libz.a /usr/lib
  26. cd
  27.  
  28. wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz
  29. tar xvzf openssl-1.0.1c.tar.gz
  30. cd openssl-1.0.1c
  31. ./Configure -L/usr/lib -lz -lpthread --prefix=/usr threads zlib Cygwin
  32. make
  33. make install
  34. cd
  35.  
  36. wget http://curl.haxx.se/download/curl-7.28.1.tar.gz
  37. tar xvzf curl-7.28.1.tar.gz
  38. cd curl-7.28.1
  39. ./configure --prefix=/usr --disable-shared
  40. make
  41. make install
  42. cd
  43.  
  44. wget http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.21-stable.tar.gz
  45. tar xvzf libevent-2.0.21-stable.tar.gz
  46. cd libevent-2.0.21-stable
  47. ./configure --prefix=/usr --disable-shared
  48. make
  49. make install
  50. cd
  51.  
  52. wget http://download.transmissionbt.com/files/transmission-2.76.tar.bz2
  53. tar xvjf transmission-2.76.tar.bz2
  54. cd transmission-2.76
  55. ./configure --prefix=/usr --disable-shared --enable-static --disable-nls --without-gtk
  56. make
  57. make install
  58. cd
  59.  
  60. #       If you get snprintf error with libutp
  61. #       Find the line with snprintf in utp.cpp
  62. #       Insert a new blank line right above
  63. #       and put the following line:
  64.  
  65. #       extern int snprintf(char *, size_t, const char *, ...);
clone this paste RAW Paste Data