locked sticky Re: Ubuntu 20.04 Compiling From Source #linux

Georgina Joyce <gena@...>


I don't have a Ubuntu system running presently.

What I would do is in a terminal:

Get all updates:

apt-get update

apt-get upgrade

apt-cache search libusb-1.0 | less

and observe what packages contain it and install:

apt-get install <package name>

If it doesn't exist you will have to build that from source too. But it is a good idea to let apt pull most of the weight if you can.

I can't remember why you are building from source but is there a bug to be reported? You might be able to get a .deb file from a testing / development  repo. You may have already explored that route.

On 7 Sep 2020, at 15:35, Stan via groups.io <stanka1ze@...> wrote:


My first attempt at a build from source. I have done my best to search for an answer but no luck.

My system is Xubuntu 20.04.1 Thank you for any help,

My problem:
-- Building for for: Linux-x86_64
-- ******************************************************
-- Checking for module 'hamlib'
--   Package 'libusb-1.0', required by 'hamlib', not found
-- Found hamlib
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find hamlib (missing: hamlib_LIBRARY_DIRS) (Required is at least
  version "3")
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  CMake/Modules/Findhamlib.cmake:88 (find_package_handle_standard_args)
  CMakeLists.txt:875 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/zx20/build/build/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:68: wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:442: CMakeFiles/wsjtx-build.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

This looks like I need to find libusb-1.0

Thank you ,
Stan, KA1ZE


Call: M0EBP
DMR ID: 2346259
Allstar: 52178
Locater: IO83PS

Join main@WSJTX.groups.io to automatically receive all group messages.