Topics

locked sticky Ubuntu 20.04 Compiling From Source


Stan
 

Hello,

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


Karza
 

Hi Stan,

On 7.9.2020 17.35, Stan via groups.io wrote:
Hello,

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

please do "sudo apt install libusb-1.0-0-dev" and try again.

73's de Kari, oh2gqc


Georgina Joyce
 

Hello,

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:

Hello,

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



Georgina


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



Stan
 

Hi Kari,

That worked, thanks!

next .....
Could not find a package configuration file provided by "Qt5SerialPort"
  with any of the following names:

    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake

I tried looking for:
Unable to locate package libqt5libserialport5-dev

Stan


-----Original Message-----
From: Karza <kari.sillanmaki@...>
To: main@WSJTX.groups.io
Sent: Mon, Sep 7, 2020 10:57 am
Subject: Re: [WSJTX] Ubuntu 20.04 Source

Hi Stan,

On 7.9.2020 17.35, Stan via groups.io wrote:
Hello,

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

please do "sudo apt install libusb-1.0-0-dev" and try again.
73's de Kari, oh2gqc


Karza
 

Hi Stan,

On 7.9.2020 18.15, Stan via groups.io wrote:
Hi Kari,

That worked, thanks!

next .....
Could not find a package configuration file provided by "Qt5SerialPort"
  with any of the following names:

    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake

So you are missing more than one package...

Try this somwhat longish command:

"sudo apt install build-essential git cmake gfortran fftw3-dev qtbase5-dev qttools5-dev libqt5serialport5-dev  qtmultimedia5-dev libqt5multimedia5-plugins libqt5sql5-sqlite autoconf automake libtool texinfo libusb-1.0-0-dev libudev-dev"

That should get you everything you need in order to compile WSJT-X.

'Kari


Stan
 

Kari,

Scanning dependencies of target install
[100%] Built target install

WSJTX v2.2.2 is now running!!!

Many thanks,
73 Stan KA1ZE



-----Original Message-----
From: Karza <kari.sillanmaki@...>
To: main@WSJTX.groups.io
Sent: Mon, Sep 7, 2020 11:26 am
Subject: Re: [WSJTX] Ubuntu 20.04 Source

Hi Stan,

On 7.9.2020 18.15, Stan via groups.io wrote:
Hi Kari,

That worked, thanks!

next .....
Could not find a package configuration file provided by "Qt5SerialPort"
  with any of the following names:

    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake
So you are missing more than one package...
Try this somwhat longish command:
"sudo apt install build-essential git cmake gfortran fftw3-dev qtbase5-dev qttools5-dev libqt5serialport5-dev  qtmultimedia5-dev libqt5multimedia5-plugins libqt5sql5-sqlite autoconf automake libtool texinfo libusb-1.0-0-dev libudev-dev"
That should get you everything you need in order to compile WSJT-X.
'Kari


Stan
 

Hello,

Thanks for the reply.. The deb file was not available tor Ubuntu 20.04

With Kari's help I have WSJTX 2.2.2 running.

73, Stan


-----Original Message-----
From: Georgina Joyce <gena@...>
To: main@wsjtx.groups.io <main@WSJTX.groups.io>
Sent: Mon, Sep 7, 2020 11:06 am
Subject: Re: [WSJTX] Ubuntu 20.04 Source

Hello,

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:

Hello,

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



Georgina


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



Stan
 



Hello

Well, it looks like I smiled too soon, hihi.  The 2.2.2 is up and running but does not engage with pulse audio on tx. The TX audio out slider on right side of main screen is greyed out. When I key the ttyUSB.. all works with tx function but the pulse pavucontrol doesn't start.

I have had no trouble with Xubuntu 18.04 and WSJTX v2.2.1

Stan, KA1ZE





'Kari
On 7.9.2020 18.44, stanka1ze@... wrote:
Kari,

Scanning dependencies of target install
[100%] Built target install

WSJTX v2.2.2 is now running!!!

Many thanks,
73 Stan KA1ZE



-----Original Message-----
From: Karza <kari.sillanmaki@...>
To: main@WSJTX.groups.io
Sent: Mon, Sep 7, 2020 11:26 am
Subject: Re: [WSJTX] Ubuntu 20.04 Source

Hi Stan,

On 7.9.2020 18.15, Stan via groups.io wrote:
Hi Kari,

That worked, thanks!

next .....
Could not find a package configuration file provided by "Qt5SerialPort"
  with any of the following names:

    Qt5SerialPortConfig.cmake
    qt5serialport-config.cmake
So you are missing more than one package...
Try this somwhat longish command:
"sudo apt install build-essential git cmake gfortran fftw3-dev qtbase5-dev qttools5-dev libqt5serialport5-dev  qtmultimedia5-dev libqt5multimedia5-plugins libqt5sql5-sqlite autoconf automake libtool texinfo libusb-1.0-0-dev libudev-dev"
That should get you everything you need in order to compile WSJT-X.
'Kari