Transmission: Windows 10 Mingw์—์„œ ๋นŒ๋“œ ์‹คํŒจ

์— ๋งŒ๋“  2017๋…„ 08์›” 19์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: transmission/transmission

cmake ๋ฐ make๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋นŒ๋“œํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค.
cmake ์ถœ๋ ฅ:

new@DESKTOP-F1R6TQI /cygdrive/e/transmission/transmission-2.92/build
$ cmake ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found CURL: /usr/lib/libcurl.dll.a (found suitable version "7.54.1", minirequired is "7.15.4")
-- Found ICONV: /usr/lib/libiconv.dll.a
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in thetem variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_D(Required is at least version "0.9.7")
-- Could NOT find CyaSSL (missing:  CYASSL_LIBRARY CYASSL_INCLUDE_DIR) (Requ is at least version "3.0")
-- Could NOT find PolarSSL (missing:  POLARSSL_LIBRARY POLARSSL_INCLUDE_DIR)quired is at least version "1.2")
-- Checking for modules 'gtk+-3.0>=3.4.0;glib-2.0>=2.32.0;gio-2.0>=2.26.0;gme-2.0>=2.32.0;gthread-2.0>=2.32.0'

-- Found ZLIB: /usr/lib/libz.dll.a (found suitable version "1.2.11", minimumuired is "1.2.3")
-- Found EVENT2: /usr/lib/libevent.dll.a (found suitable version "2.0.22-sta, minimum required is "2.0.10")
-- Could NOT find NATPMP (missing:  NATPMP_LIBRARY NATPMP_INCLUDE_DIR)
-- Could NOT find MINIUPNPC (missing:  MINIUPNPC_LIBRARY MINIUPNPC_INCLUDE_DINIUPNPC_API_VERSION)
-- Could NOT find DHT (missing:  DHT_LIBRARY DHT_INCLUDE_DIR)
-- Could NOT find UTP (missing:  UTP_LIBRARY UTP_INCLUDE_DIR)
-- Could NOT find B64 (missing:  B64_LIBRARY B64_INCLUDE_DIR)
-- Looking for sys/inotify.h
-- Looking for sys/inotify.h - not found
-- Looking for inotify_init
-- Looking for inotify_init - not found
-- Looking for include files sys/types.h, sys/event.h
-- Looking for include files sys/types.h, sys/event.h - not found
-- Looking for kqueue
-- Looking for kqueue - not found
-- Checking for module 'libsystemd-daemon'
--   No package 'libsystemd-daemon' found
-- Performing Test NO_LFS_MACROS_REQUIRED
-- Performing Test NO_LFS_MACROS_REQUIRED - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for sys/statvfs.h
-- Looking for sys/statvfs.h - found
-- Looking for xfs/xfs.h
-- Looking for xfs/xfs.h - not found
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- Looking for libintl.h
-- Looking for libintl.h - found
-- Looking for _configthreadlocale
-- Looking for _configthreadlocale - not found
-- Looking for canonicalize_file_name
-- Looking for canonicalize_file_name - found
-- Looking for daemon
-- Looking for daemon - found
-- Looking for fallocate64
-- Looking for fallocate64 - not found
-- Looking for getmntent
-- Looking for getmntent - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for htonll
-- Looking for htonll - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for memmem
-- Looking for memmem - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for ntohll
-- Looking for ntohll - not found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for syslog
-- Looking for syslog - found
-- Looking for uselocale
-- Looking for uselocale - found
-- Looking for valloc
-- Looking for valloc - found
-- Looking for libintl_gettext in intl
-- Looking for libintl_gettext in intl - found
-- Looking for sqrt in m
-- Looking for sqrt in m - found
-- Configuring done
-- Generating done
-- Build files have been written to: /cygdrive/e/transmission/transmission-2build

์ถœ๋ ฅ:

#ignore all success message 
-- downloading...
       src='https://github.com/bittorrent/libutp/archive/7c4f19abdf.tar.gz'
       dst='/cygdrive/e/transmission/transmission-2.92/build/third-party/utpf19abdf/src/7c4f19abdf.tar.gz'
       timeout='none'
-- [download 0% complete]
-- [download 100% complete]
-- verifying file...
       file='/cygdrive/e/transmission/transmission-2.92/build/third-party/ut4f19abdf/src/7c4f19abdf.tar.gz'
-- Downloading... done
-- extracting...
     src='/cygdrive/e/transmission/transmission-2.92/build/third-party/utp-79abdf/src/7c4f19abdf.tar.gz'
     dst='/cygdrive/e/transmission/transmission-2.92/build/third-party/utp-79abdf/src/utp-7c4f19abdf'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 16%] Performing patch step for 'utp-7c4f19abdf'
No such file or directory
make[2]: *** [CMakeFiles/utp-7c4f19abdf.dir/build.make:104๏ผšthird-party/utp-19abdf/src/utp-7c4f19abdf-stamp/utp-7c4f19abdf-patch] error 1
make[1]: *** [CMakeFiles/Makefile2:787๏ผšCMakeFiles/utp-7c4f19abdf.dir/all] error 2
make: *** [Makefile:161๏ผšall] error 2

์œ ์„ ์€ ๋‚ด๊ฐ€ utp src ํด๋”์— ๋“ค์–ด๊ฐ€์„œ ์„ฑ๊ณตํ–ˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

new@DESKTOP-F1R6TQI /cygdrive/e/transmission/transmission-2.92/build/third-p/utp-7c4f19abdf/src/utp-7c4f19abdf
$ make
g++ -c -DPOSIX -I . -I utp_config_lib -fno-exceptions -fno-rtti -Wall -g utp
In file included from utp.cpp:78:0:
utp_config.h:11:2: warning๏ผš#warning implement this in libtransmission [-Wcpp]
 #warning implement this in libtransmission
  ^~~~~~~
utp.cpp:1701:4: warning๏ผšinvalid suffix on literal; C++11 requires a space betwliteral and string macro [-Wliteral-suffix]
    "scaled_gain:%f rtt:%u rate:%u quota:%d wnduser:%u rto:%u timeout:%d getroseconds:"I64u" "
    ^
utp.cpp:1786:11: warning๏ผšinvalid suffix on literal; C++11 requires a space bet literal and string macro [-Wliteral-suffix]
g++ -c -DPOSIX -I . -I utp_config_lib -fno-exceptions -fno-rtti -Wall -g utpls.cpp
rm -f libutp.a
ar q libutp.a utp.o utp_utils.o
ar: creating libutp.a
ranlib libutp.a

์–ด๋–ป๊ฒŒ ๊ณ„์† ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ?

question

๋ชจ๋“  3 ๋Œ“๊ธ€

๋‚œ ๋‹น์‹ ์ด ๋†“์น˜๊ณ  ์ƒ๊ฐ patch.exe ์–ด๋”˜๊ฐ€์—์„œ %PATH% . ์ฐธ๊ณ ๋กœ ํ˜„์žฌ master ์†Œ์Šค๋Š” ๋นŒ๋“œ ์ค‘ ํƒ€์‚ฌ ์ข…์†์„ฑ ํŒจ์น˜์—์„œ ์‚ฌ์ „ ํŒจ์น˜๋œ ํ•˜์œ„ ๋ชจ๋“ˆ ์‚ฌ์šฉ์œผ๋กœ ์ „ํ™˜๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

MinGW๋กœ ๋นŒ๋“œํ•˜๋Š” ๊ฒƒ์€ ํ˜„์žฌ ๊ณต์‹์ ์œผ๋กœ ์ง€์›๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ตฌ์ถ•ํ•  ์ˆ˜๋Š” ์žˆ์ง€๋งŒ(๊ทธ๊ฒƒ์„ ์ถ”๊ตฌํ•˜๋Š” ๋ฐ ์•ฝ๊ฐ„์˜ ๋…ธ๋ ฅ์„ ๊ธฐ์šธ์˜€๊ธฐ ๋•Œ๋ฌธ์—) ์ œ๋Œ€๋กœ ์ž‘๋™ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํŒจ์น˜๋ฅผ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค ;)

@mikedld ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค! ๊ฐ์‚ฌ ํ•ด์š”.

์ŠคํŒธ ์ฃ„์†กํ•ฉ๋‹ˆ๋‹ค. transmission-gtk์˜ mingw ๋นŒ๋“œ๊ฐ€ ์ด์ œ MSYS2์— ํฌํ•จ๋˜์—ˆ์Œ์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์‹ถ์—ˆ https://quodlibet.duckdns.org/msys2/base/mingw-w64-transmission

๋ˆ„๊ตฐ๊ฐ€๊ฐ€ ๊ฐœ๋ฐœ/ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ์„ ์ฐพ๊ณ  ์žˆ๋Š” ๊ฒฝ์šฐ๋ฅผ ๋Œ€๋น„ํ•˜์—ฌ...

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰