Dumb question - Deb 9 stretch files on Linux Mint ?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
punkbiscuit
Level 3
Level 3
Posts: 123
Joined: Wed Feb 08, 2017 3:06 pm

Dumb question - Deb 9 stretch files on Linux Mint ?

Post by punkbiscuit »

A few days ago I looked at a niche piece of software that is classed as being compiled or whatever
for Debian 9 Stretch.

https://github.com/MartinHerren/QrssPiG

I followed the instructions, and even got LM 18.3 updater to recognise the repository etc.
I installed using the manual method, and it *appeared * to install along with some other files (dependencies?).
But it doesn't work.

Tried the command line, and I can't even find where it had alledgedly installed itself.

Am I being daft in expecting this software to work as is ?

The software is actually quite a mundane thing for ham radio work (produces an audio graph as like
these examples, for studying ionospheric effects) -

http://www.swharden.com/qrss/plus/

Maybe there's a way of compiling this lot to work for LM 18.3, or getting it added to the official repository ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
fabien85
Level 7
Level 7
Posts: 1877
Joined: Tue Mar 11, 2014 4:30 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by fabien85 »

You would probably be better compiling the code from source, they give the instructions on the github page.
I note that several packages are needed for building : cmake, and libboost-all-dev, the latter pulling 90 packages, so I didnt test.
It should go something like this :

Code: Select all

apt install cmake checkinstall libboost-all-dev
cd /some/directory/to/keep/the/code
git clone https://github.com/MartinHerren/QrssPiG.git
cd QrssPiG/
mkdir build
cd build/
cmake ..
make
sudo checkinstall
checkinstall (instead of make install), makes the installed program recognised as a package by the system, so you will later be able to cleanly uninstall it when you need.
See viewtopic.php?f=90&t=230142
punkbiscuit
Level 3
Level 3
Posts: 123
Joined: Wed Feb 08, 2017 3:06 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by punkbiscuit »

OK, got as far as cmake and it bummed out on me -

-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LibBoostProgramOptions
CMake Error at cmake/Modules/LibFindMacros.cmake:259 (message):
REQUIRED PACKAGE NOT FOUND

We could not find development headers for LibYaml. Do you have the
necessary dev package installed? This package is REQUIRED and you need to
install it or adjust CMake configuration in order to continue building
qrsspig.

Relevant CMake configuration variables:

LibYaml_INCLUDE_DIR=<not found>
LibYaml_LIBRARY=<not found>

You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary.

Call Stack (most recent call first):
cmake/Modules/FindLibYaml.cmake:14 (libfind_process)
src/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!

Starting to wonder if I'm cut out for this stuff ;-)
fabien85
Level 7
Level 7
Posts: 1877
Joined: Tue Mar 11, 2014 4:30 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by fabien85 »

Indeed you need the yaml library and its development headers.
This is listed in the dependencies (which I missed) on the github page :

Code: Select all

To build QrssPiG you need cmake and a c++ compiler (g++ or clang++) with support for c++11.

To build the core of QrssPiG you need the following mandatory dev libs:

    libboost-program-options-dev
    libyaml-cpp-dev
    libfftw3-dev
    libgd-dev

Without any additional libs QrssPiG is limited to read data from its standard input and save the output to the local filesystem.

Additional functionalities are available through following libs:

    librtlsdr-dev: Read stream from rtlsdr device
    libhackrf-dev: Read stream from hackrf device
    libasound2-dev: Read stream from alsa audio device
    libssh-dev: SCP upload of grabs to a server
    libcurl4-openssl-dev: FTP upload of grabs to a server
    libliquid-dev: Downsampling of input signal samplerate before processing
    librtfilter-dev: Alternative for libliquid-dev
Note that packages may not have exactly the same name between the Debian repositories (used by the developer of this code) and the ubuntu repositories.
But I just checked that the names are the same at least for the first four mandatory libraries. (good luck if you need the rest)

Compiling a code is indeed intimidating at first, and can lead you to pull your hair in incomprehension. But mastering it will open you a lot of things in Linux, since nearly everything is open source, so you can download, modify and compile it yourself. (even the linux kernel if you want, though I personally have never yet tried it)
As a side note, it's most probably the little differences between Debian and Ubuntu/Mint on the name of libraries and where they are located, that makes it not work when you download the Debian binary.
And as side advantage, if you compile the code yourself, you can modify it and/or get the latest up to date version by a git pull and a recompiling inside the code's directory.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by jimallyn »

One, or possibly both, of us is confused. I am a long time ham (N7JA) and always interested in the unusual things that are done in ham radio. So, when I saw that you were doing one of those interesting ham radio things, I was interested. I went to the QRSSPiG site, and the QRSS Plus site, and a few others. If I understand correctly, QRSSPiG is software written for the Raspberry Pi, and not for non-Pi devices. So, I wouldn't expect it to run on Mint. It appears there are other QRSS programs available for X86/X86-64 computers. Perhaps like this:

https://www.swharden.com/wp/qrss-vd-the ... -by-aj4vd/

As I said, one or both of us is confused. If it's me, please enlighten me.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
punkbiscuit
Level 3
Level 3
Posts: 123
Joined: Wed Feb 08, 2017 3:06 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by punkbiscuit »

(1) JIm. Yeah I tried Scott's software but couldn't get it to work, as a few others. The QRSSPIG was originally for the PI, QRSS (the mode), PI (as in the machine)
and G (because it's known as "grabber" software). However the author has a PC Linux version, hence the DEBIAN 9 question.

However, the author has jst sent me a rehashed version .deb file to try on LM ;-)

It seems to install nicely now, so I just need to sort out a config file for it (I think it needs telling about audio inputs and ftp uploads). Progress, and
great support from the author.

(2) fabien85 and others. Thanks for the advice about compiling, but it looks like we have already moved on to a solution with the support of the
software author. Of course I really must get around to learning the comping stuff, but I get the impression that building stuff is not quite as easy
as a "prog_name inout_file output_file" scenario that I was expecting.

(3) Hmmm, just had a thought. I wonder if there's enough support for another section in the forum dedicated to ham radio and electronics
software topics ?
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by jimallyn »

punkbiscuit wrote: Mon Feb 19, 2018 5:45 pm (3) Hmmm, just had a thought. I wonder if there's enough support for another section in the forum dedicated to ham radio and electronics
software topics ?
Hmmm, an "Experimenter's Corner" perhaps? Sounds good to me. I think I may give QRSSPiG a try on my RPi one of these days. Sounds like fun.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
punkbiscuit
Level 3
Level 3
Posts: 123
Joined: Wed Feb 08, 2017 3:06 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by punkbiscuit »

jimallyn wrote: Mon Feb 19, 2018 9:01 pm
punkbiscuit wrote: Mon Feb 19, 2018 5:45 pm (3) Hmmm, just had a thought. I wonder if there's enough support for another section in the forum dedicated to ham radio and electronics
software topics ?
Hmmm, an "Experimenter's Corner" perhaps? Sounds good to me. I think I may give QRSSPiG a try on my RPi one of these days. Sounds like fun.
Yeah, experimenter corner of whatever. I don't really see much about amateur radio or electronics in the various Linux forums.
I guess we won't know unless it's given a chance.

QRSSPIG. I suppose it's a bit of the hobby on the fringes.
Most folk are there because they've long got bored of the usual 59 CQ CONTEST stuff.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11184
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by AZgl1800 »

got any links to those sites?

de K5AWO

dabbling with things electronic since 1958
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
punkbiscuit
Level 3
Level 3
Posts: 123
Joined: Wed Feb 08, 2017 3:06 pm

Re: Dumb question - Deb 9 stretch files on Linux Mint ?

Post by punkbiscuit »

>got any links to those sites?

I've sent you mail via this site as a PM for some links.

Have fun.
Locked

Return to “Software & Applications”