本文标签:apt bt git google linux mkdir sipl tab transmission username word 子模块 错误解决
1. 安装Transmission
官方子模块的下载总是有问题,所以我fork到gitee上了,并且重新单独pull,所以直接按顺序执行下面命令就行了:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
git clone https://github.com/transmission/transmission Transmission cd Transmission mkdir build cd build git clone https://gitee.com/fork-project/dht.git third-party/dht git clone https://gitee.com/fork-project/googletest third-party/googletest git clone https://gitee.com/fork-project/libb64.git third-party/libb64 git clone https://gitee.com/fork-project/libevent.git third-party/libevent git clone https://gitee.com/fork-project/libnatpmp.git third-party/libnatpmp git clone https://gitee.com/fork-project/libutp.git third-party/libutp git clone https://gitee.com/fork-project/miniupnpc.git third-party/miniupnpc cd third-party/dht git checkout 25e12bb cd ../googletest git checkout 68ca04c cd ../libb64 git checkout 8456a5b cd ../libevent git checkout e91a51e cd ../libnatpmp git checkout 4d3b9d8 cd ../libutp git checkout fda9f4b cd ../miniupnpc git checkout e37cde8 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. # 这一行如果出错的话,参考问题错误3 make sudo make install |
2. 使用Transmission
sudo transmission-daemon -g /usr/local/transmission
sudo killall transmission-daemon
vi /usr/local/transmission/settings.json
修改这些:
|
1 2 3 4 5 6 7 8 9 10 11 |
"rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-host-whitelist": "*", "rpc-host-whitelist-enabled": false, "rpc-password": "{c0479cd77116a10b61f1680a12b554050f14f41750NF8hFP", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "transmission", "rpc-whitelist": "*", "rpc-whitelist-enabled": true, |
然后就可以通过ip:9091/transmission/web/进行访问了。
3. 错误解决:
错误1:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) (Required is
at least version "7.28.0")
解决方法:
sudo apt-get install libcurl4-openssl-dev
错误2:
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) (Required is at least version "0.9.7")
-- Could NOT find CyaSSL (missing: CYASSL_LIBRARY CYASSL_INCLUDE_DIR) (Required is at least version "3.0")
-- Could NOT find PolarSSL (missing: POLARSSL_LIBRARY POLARSSL_INCLUDE_DIR) (Required is at least version "1.2")
解决方法:
sudo apt-get install libssl-dev
错误3:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
CMake Error in tests/gtest/CMakeLists.txt: Target "gtestall" requires the language dialect "CXX17" (with compiler extensions), but CMake does not know the compile flags to use to enable it. CMake Error in tests/libtransmission/CMakeLists.txt: Target "subprocess-test" requires the language dialect "CXX17" (with compiler extensions), but CMake does not know the compile flags to use to enable it. CMake Error in tests/libtransmission/CMakeLists.txt: Target "libtransmission-test" requires the language dialect "CXX17" (with compiler extensions), but CMake does not know the compile flags to use to enable it. -- Generating done -- Build files have been written to: /home/sipl/Transmission/build |
解决方法:
wget https://cmake.org/files/v3.21/cmake-3.21.0-linux-x86_64.tar.gz
tar -zxvf cmake-3.21.0-linux-x86_64.tar.gz
/home/xxx/cmake-3.21.0-linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
1 2 3 4 5 6 7 8 |
sipl@sipl:~/Transmission/build$ /home/sipl/cmake-3.21.0-linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found suitable version "7.47.0", minimum required is "7.28.0") -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.0.2g", minimum required is "0.9.7") -- Looking for clang-tidy -- Looking for clang-tidy - not found -- Configuring done -- Generating done -- Build files have been written to: /home/sipl/Transmission/build |
错误4:
/home/sipl/Transmission/build/third-party/event/src/event/autogen.sh: aclocal: not found
CMakeFiles/event.dir/build.make:91: recipe for target 'third-party/event/src/event-stamp/event-configure' failed
解决方法:
sudo apt-get install automake
错误5:
error: Libtool library used but 'LIBTOOL' is undefined
解决方法:
sudo apt-get install libtool






最新评论
博主好,路过留言交流一下~我在做源头中转 Twinkle Model(利益相关):GPT 1折、国模 1折(GLM/DeepSeek/Kimi)、满血 Claude,低价稳定。价格全在模型广场 https://big-model.smart-agi.com/model-plaza ,有兴趣可以看看。
博主分享的 Surge 增强模式接管应用分流思路很赞!确实,系统大版本升级后,老牌 Proxifier 由于底层驱动兼容性问题经常莫名崩溃。在 Mac 上有 Surge 这种神器接管,但是在 Windows 平台上,很多人又很难找到兼顾‘轻量分流+稳定不崩溃’的工具:ProxiFyre 依赖 WireSock 内核驱动容易蓝屏且纯命令行,开 TUN 虚拟网卡又会把开发网段和公司 VPN 改乱。 如果是 Windows 用户寻找 Proxifier 替代品,非常推荐关注 Ghost Proxifier Pro: - 纯用户态 Winsock API Hook:完全免安装内核驱动和虚拟网卡,零蓝屏隐患,不改动系统默认网关与路由表; - 智能递归子进程树:很多现代客户端(如播放器、流媒体套件、IDE)会派生子进程,它能自动递归识别并接管流量,杜绝漏代理; - 现代 Fluent 图形界面:直接拖入目标 exe 即可一键绑定 SOCKS5/HTTP 节点,比老版配置规则直观很多。 注:该工具为非开源的独立客户端软件。 - 官网主页:https://ghostproxifier.com - 项目发布:https://github.com/liliBestCoder/ghost-proxifier-pro
曾经最爱之一,还有emlog,zblog
感谢分享经验,谢谢站长!!已收藏
牛牛牛
同样
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?