The officially official Devuan Forum!

You are not logged in.

#1 2023-12-22 19:46:24

jemadux
Member
From: Greece
Registered: 2023-03-09
Posts: 30  

[SOLVED] transmission-gkt ( release version)

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 | XFCE
Greetings from Greece

Offline

#2 2023-12-23 00:15:38

boughtonp
Member
From: UK
Registered: 2023-01-19
Posts: 206  
Website

Re: [SOLVED] transmission-gkt ( release version)

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

#3 2023-12-23 01:08:45

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] transmission-gkt ( release version)

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?

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

#4 2023-12-23 10:28:26

jemadux
Member
From: Greece
Registered: 2023-03-09
Posts: 30  

Re: [SOLVED] transmission-gkt ( release version)

steve_v wrote:
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 | XFCE
Greetings from Greece

Offline

#5 2023-12-26 15:20:56

stopAI
Member
Registered: 2023-04-04
Posts: 131  

Re: [SOLVED] transmission-gkt ( release version)

Hello.

Wouldn't it be easier to download qbittorrent appimage from the official website and use it?

Offline

#6 2023-12-26 16:51:47

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] transmission-gkt ( release version)

stopAI wrote:

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

#7 2023-12-27 12:21:54

stopAI
Member
Registered: 2023-04-04
Posts: 131  

Re: [SOLVED] transmission-gkt ( release version)

steve_v wrote:

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

#8 2023-12-27 15:27:14

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] transmission-gkt ( release version)

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. roll

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

#9 2023-12-27 16:49:34

stopAI
Member
Registered: 2023-04-04
Posts: 131  

Re: [SOLVED] transmission-gkt ( release version)

steve_v wrote:

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. roll

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

#10 2023-12-27 18:05:35

golinux
Administrator
Registered: 2016-11-25
Posts: 3,151  

Re: [SOLVED] transmission-gkt ( release version)

@stopAi . . . tread carefully. That was uncalled for.

Online

#11 2023-12-27 18:39:44

aluma
Member
Registered: 2022-10-26
Posts: 533  

Re: [SOLVED] transmission-gkt ( release version)

Hobby is an irrational thing and one of the main incentives here is “want” smile
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

#12 2023-12-28 12:33:22

stopAI
Member
Registered: 2023-04-04
Posts: 131  

Re: [SOLVED] transmission-gkt ( release version)

golinux wrote:

@stopAi . . . tread carefully. That was uncalled for.

I'm sorry. I didn't want to offend anyone.

Offline

#13 2024-01-12 18:24:39

jemadux
Member
From: Greece
Registered: 2023-03-09
Posts: 30  

Re: [SOLVED] transmission-gkt ( release version)

the problem is solved .. i just tried to compile from wrong tarball ... that's why i had the problem


Dev1 Stable | openrc | XFCE
Greetings from Greece

Offline

#14 2024-01-12 22:13:57

JWM-Kit
Member
Registered: 2020-06-29
Posts: 117  
Website

Re: [SOLVED] transmission-gkt ( release version)

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

Board footer