uowuo / abaddon

An alternative Discord client with voice support made with C++ and GTK 3
GNU General Public License v3.0
1.08k stars 52 forks source link

Package `libhandy-1-dev` does not exist #257

Closed Roadhog360 closed 5 months ago

Roadhog360 commented 10 months ago

In the installation instructions for Ubuntu 20.04, the instructions state to run the command to install dependencies. However, libhandy-1-dev does not exist, making this programm impossible to install on my Ubuntu 20.04 system, despite the instructions claiming right above the command that Ubuntu 20.04 should work.

I've searched the closed issues, and it didn't seem like any of the closed issues were related to this error; all of them had libhandy.

However, when I try running cmake .., it fails due to the absense of the above package.

roadhog360@roadhog360-Strix-GL504GV-GL504GV:~/Downloads/trash/abaddon/build$ cmake ..
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
ixwebsocket was not found and will be included as a submodule
-- TLS configured to use openssl
-- OpenSSL: 1.1.1f
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find libhandy (missing: libhandy_LIBRARY libhandy_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/Findlibhandy.cmake:33 (find_package_handle_standard_args)
  CMakeLists.txt:133 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/roadhog360/Downloads/trash/abaddon/build/CMakeFiles/CMakeOutput.log".
See also "/home/roadhog360/Downloads/trash/abaddon/build/CMakeFiles/CMakeError.log".

I've even tried a few variants of it to see if I could hit it, but I was not able to find this "libhandy" package.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libhandy-1-dev
roadhog360@roadhog360-Strix-GL504GV-GL504GV:~$ sudo apt install libhandy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libhandy
roadhog360@roadhog360-Strix-GL504GV-GL504GV:~$ sudo apt install libhandy-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libhandy-1
ouwou commented 10 months ago

looks like the README is wrong (ill change it to say 22.04) so you have 2 options:

Roadhog360 commented 10 months ago

Hey, tried it without libhandy, the command you specified runs successfully, compilation with make gets pretty far in but then stops here:

/home/roadhog360/Downloads/trash/abaddon/src/abaddon.cpp:3:10: fatal error: spdlog/cfg/env.h: No such file or directory
    3 | #include <spdlog/cfg/env.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/abaddon.dir/build.make:94: CMakeFiles/abaddon.dir/src/abaddon.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:178: CMakeFiles/abaddon.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Subsequent builds only show that error and fail, right after these lines of text:

[  6%] Built target rnnoise
[  8%] Built target qrcodegen
[  9%] Built target keychain
[ 37%] Built target ixwebsocket
[ 38%] Building CXX object CMakeFiles/abaddon.dir/src/abaddon.cpp.o

How can I proceed?

ouwou commented 10 months ago

your spdlog is too old (that header is 1.6.0). youll need to update it. you can probably grab the .deb of a newer version

ouwou commented 5 months ago

reopen if still issue