You are not logged in.
The only application that I'd like have up-to-date is the torrent/magnet client
and my case is transmission 4.0.5
transmission 4.0.4 is working fine but i can't compile transmission 4.0.5
build instructions https://github.com/transmission/transmi … mission.md
my problem is
cmake -B build -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found suitable version "7.88.1", minimum required is "7.28.0")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "3.0.11", minimum required is "0.9.7")
-- Checking for modules 'gtkmm-4.0>=3.24.0;glibmm-2.68>=2.60.0;giomm-2.68>=2.26.0'
-- Found gtkmm-4.0, version 4.8.0
-- Found glibmm-2.68, version 2.74.0
-- Found giomm-2.68, version 2.74.0
-- Found DEFLATE: /usr/include (found suitable version "1.14", minimum required is "1.7")
-- Found EVENT2: /usr/lib/x86_64-linux-gnu/libevent.so (found suitable version "2.1.12-stable", minimum required is "2.1.0")
-- Found NATPMP: /usr/lib/x86_64-linux-gnu/libnatpmp.so
-- Found MINIUPNPC: /usr/lib/x86_64-linux-gnu/libminiupnpc.so (found version "2.2.4")
-- Could NOT find DHT (missing: DHT_LIBRARY DHT_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3115 (message):
No download info given for 'dht' and its source directory:
/home/jemadux/projects/source/transmission-4.0.5/third-party/dht
is not an existing non-empty directory. Please specify one of:
* SOURCE_DIR with an existing non-empty directory
* DOWNLOAD_COMMAND
* URL
* GIT_REPOSITORY
* SVN_REPOSITORY
* HG_REPOSITORY
* CVS_REPOSITORY and CVS_MODULE
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
cmake/TrMacros.cmake:170 (ExternalProject_Add)
CMakeLists.txt:508 (tr_add_external_auto_library)
-- Configuring incomplete, errors occurred!
See also "/home/jemadux/projects/source/transmission-4.0.5/build/CMakeFiles/CMakeOutput.log".
and there's no log file ,, what i should do ?
Dev1 Stable | openrc | MATE
Greetings from Greece
Offline
You're trying to compile from source software that isn't even in Unstable yet.
No idea why you'd want to do that, especially since you already have a version that is working fine. :/
Anyhow, if you're following official build documentation and the process is failing, then thing to do is report it to the developers of the software.
3.1415P265E589T932E846R64338
Offline
and there's no log file
Why would there be a log file, when the cmake output already makes the problem blindingly obvious?
-- Could NOT find DHT (missing: DHT_LIBRARY DHT_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3115 (message):
No download info given for 'dht' and its source directory:
/home/jemadux/projects/source/transmission-4.0.5/third-party/dht
is not an existing non-empty directory.
Have you looked at the directory structure mentioned? Does it contain sources for the DHT library?
Presumably you are trying to compile from the release tarball... Which for reasons unknown does not appear to include any of the required third-party sources.
Those you will likely need to retrieve via git, either manually or by cloning the project with --recurse-submodules as per the "Building Transmission from Git" instructions.
Or, as already suggested, you could simply forgo the SNS and use a stable, tested release from the repositories. What "must have" feature does 4.0.5 include anyway?
Last edited by steve_v (2023-12-23 01:14:38)
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Offline
jemadux wrote:and there's no log file
Why would there be a log file, when the cmake output already makes the problem blindingly obvious?
-- Could NOT find DHT (missing: DHT_LIBRARY DHT_INCLUDE_DIR) CMake Error at /usr/share/cmake-3.25/Modules/ExternalProject.cmake:3115 (message): No download info given for 'dht' and its source directory: /home/jemadux/projects/source/transmission-4.0.5/third-party/dht is not an existing non-empty directory.
Have you looked at the directory structure mentioned? Does it contain sources for the DHT library?
Presumably you are trying to compile from the release tarball... Which for reasons unknown does not appear to include any of the required third-party sources.
Those you will likely need to retrieve via git, either manually or by cloning the project with --recurse-submodules as per the "Building Transmission from Git" instructions.Or, as already suggested, you could simply forgo the SNS and use a stable, tested release from the repositories. What "must have" feature does 4.0.5 include anyway?
there's some dev libraries .. and that dev library is not in devuan stable ..
i had some other issues and i found some dev libraries .. but i cant find dht library
Dev1 Stable | openrc | MATE
Greetings from Greece
Offline
Hello.
Wouldn't it be easier to download qbittorrent appimage from the official website and use it?
Offline
Wouldn't it be easier to download qbittorrent appimage
While it might be easier, I really have no idea what qbittorrent or appimages have to do with compiling transmission.
How is this even remotely relevant or helpful?
@jemadux: You are extremely unlikely to find all the third-party sources (and correct versions) transmission needs as Debian/Devuan packages, at least not for a bleeding-edge version that isn't in any repository.
Closer investigation would suggest that only the "Source code" tarballs are incomplete (likely autogenerated), and the .tar.xz archive (i.e. this) is in fact what you want. Or just pull from github directly as I already suggested.
Also, less gratuitous full-quoting would be nice.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Offline
While it might be easier, I really have no idea what qbittorrent or appimages have to do with compiling transmission.
How is this even remotely relevant or helpful?
Well, I advised this because I know that compiling a transmission is not as easy as it might seem...
Offline
On gentoo ( not that that makes much difference):
$ git clone --recurse-submodules https://github.com/transmission/transmission Transmission
---snip---
$ cd Transmission
$ cmake -B build -DCMAKE_BUILD_TYPE=Release
---snip---
$ cd build
$ time cmake --build . -- -j 20
--snip---
[ 88%] Built target transmission-gtk
---snip---
[100%] Built target transmission-qt
real 1m10.308s
user 18m8.638s
sys 0m48.282s
5 commands, less than 2 minutes, no additional packages required, and no issues whatsoever to report.
Transmission is a perfectly ordinary cmake project, and building it is exactly as easy as it might seem... Provided, as the OP has discovered, you actually have the complete source tree to begin with.
If I was motivated enough (and had a debian/devuan desktop handy) I could likely build a Debian package almost as easily, but I'm still waiting to hear what's so great about this shiny new version.
3.x works just fine for my (headless server + webui) needs, and I see no reason to disturb a working system for the sake of "newer always better".
OTOH, if we keep up the "I don't know the answer, so just use appimage" and "download from official website" (AKA "I have 'ex-windows user' tattooed on my forehead") type nonsense, this place can be as devoid of useful technical information as FDN in no time.
Last edited by steve_v (2023-12-27 15:52:19)
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Offline
On gentoo and had a debian/devuan desktop handy
OTOH, if we keep up the "I don't know the answer, so just use appimage" and "download from official website" (AKA "I have 'ex-windows user' tattooed on my forehead") type nonsense, this place can be as devoid of useful technical information as FDN in no time.
Thank you, O great guru, for descending from your heavenly abode and enlightening us wretched worms with your heavenly wisdom.
P.S.
The AppImage approach is really really useful.
Offline
@stopAi . . . tread carefully. That was uncalled for.
Offline
Hobby is an irrational thing and one of the main incentives here is “want”
I don't need transmission, but I want to see what started the fighting.
Summary - everything is put together, here is the result of the make program.
[ 94%] Built target libtransmission-test
[ 95%] Building CXX object daemon/CMakeFiles/transmission-daemon.dir/daemon.cc.o
[ 95%] Building CXX object daemon/CMakeFiles/transmission-daemon.dir/daemon-posix.cc.o
[ 96%] Linking CXX executable transmission-daemon
[ 96%] Built target transmission-daemon
[ 97%] Building CXX object utils/CMakeFiles/transmission-create.dir/create.cc.o
[ 97%] Linking CXX executable transmission-create
[ 97%] Built target transmission-create
[ 97%] Building CXX object utils/CMakeFiles/transmission-edit.dir/edit.cc.o
[ 98%] Linking CXX executable transmission-edit
[ 98%] Built target transmission-edit
[ 98%] Building CXX object utils/CMakeFiles/transmission-remote.dir/remote.cc.o
[ 99%] Linking CXX executable transmission-remote
[ 99%] Built target transmission-remote
[ 99%] Building CXX object utils/CMakeFiles/transmission-show.dir/show.cc.o
[100%] Linking CXX executable transmission-show
[100%] Built target transmission-show
root@aa:/home/uly_e/bin/transmission-4.0.5#
My actions :
I downloaded transmission-4.0.5.tar.xz and unpacked it.
Further actions are indicated in README.md.
Installed the missing cmake, dh-cmake, cmake-data, cmake-extras, cmake-format.
Cmake required curl, installed.
Next are the commands cmake..., make as in instructions.
Offline
@stopAi . . . tread carefully. That was uncalled for.
I'm sorry. I didn't want to offend anyone.
Offline
the problem is solved .. i just tried to compile from wrong tarball ... that's why i had the problem
Dev1 Stable | openrc | MATE
Greetings from Greece
Offline
We are assuming he want to compile the newest version just so he can have the newest version. We don't really know if that is the case.
Sometimes a user has specific reasons to use an unstable version. For example I quite often build JWM from the master branch in order to keep up with new features and other changes. This is not because I want the newest version. It is so I can become familiar with the new version in order to implement the new changes into JWMKit. If JWM has a new feature I want to support it in my software. I need to experience it first hand, and I also need to test JWMKit with it. If I wait for a new stable to be release it slows me down on supporting those changes in JWMKit.
I'm glad you figured it out!
Last edited by JWM-Kit (2024-01-12 22:14:36)
Offline