TQSL Installation

20 posts / 0 new
Last post
NZ0T
TQSL Installation

I see that the latest TQSL is V2.4.3. I currently have 2.3.1 installed which is what synaptic has available for my Mint 19.1. A tar is available but with my limited Linux skills I have no idea how to compile and install it. Can someone help with a step by step procedure on how to compile and install the latest TQSL or point me towards one? V 2.3.1 seems to work fine for me but I would like to have the latest installed if I can figure out how to do it.

73, Bill NZ0T

PA3GOS
TQSL Installation

Hi Bill,

I just tried to go that route. Seems on my Mint 18.3 tqsl is missing some uninstallable dependencies.

Nevertheless, here is what you might try:

1. Unpack the tarball to a directory in your homedirectory. Remember where!
2. Now find the tqsl 2.4.3 folder (directory) you just created by unpacking.
3. Rightclick on the folder and choose "Open in terminal".
4. In the terminal, type "Cmake . " without the quotes. If you get an error that cmake could not be found: type "sudo apt-get install cmake". Again, without the quotes.
5. If all goes well, type "make"
6. If no errors occurred, type "make install"
7. Done

Mind you, after the typed commands, hit "enter". And while typing, forget the quotes, also where i didn't mention that.
Also, between cmake and the dot is a space. Might not be clear when you read this. Maybe you can copy the commands from here and paste them in the terminal.

73, Tjalling PA3GOS

K0LS
TQSL Installation

My previous post was saved in the wrong text format. Sorry about that!
TQSL update success story.
I too had problems updating TQSL to the latest version. I’m a newbie to both Linux and CQRLOG. Wanted to update mainly because TQSL version 2.3.1 did not work without errors within my setup. First thing recommended in troubleshooting TQSL/LoTW issues is to update to the latest version which Bill points out is 2.4.3.
Bill and I have the same setup using Linux Mint 19.1 so his posted question fit my particular situation perfectly.
Using Tjalling’s suggestion of unpacking a tar file (downloaded from the ARRL) I was eventually able to successfully compile, but the suggested “make install” command failed.
During the compile process (cmake .) there were several (5 in all) dependencies which the process “could NOT find” which caused errors in each “cmake .” attempt. Using the Synaptic Package Manager these missing files were successfully installed one at a time. Once these dependencies were installed it finally completed the compile process without error.
However, it failed to install because of the error “file INSTALL cannot copy file “/home/ham1/tqsl-2.4.3/src/libtqsllib.so” to “/user/local/lib/libtqsllib.so”. I tried to copy the file myself to the desired folder only to have it report I did not have permission to move the file there. After considerable research time on line I was able to solve the error by adding “sudo” in front of the “make install” command. Leave a space between sudo and make, “sudo make install”. This addition overcame the “permissions” issue. After the install process was complete I opened the TQSL app and to my surprise, and relief, it was the new TQSL version. Success!
Unfortunately the new TQSL version didn’t fix my ongoing issues with the LoTW upload/download error. This was finally remedied when I installed the proper password LoTW was expecting to handle data to/from their server.
Hope this helps others out that are struggling with updating TQSL.
Thanks to Bill and Tjalling for their posts.
73, Lonnie K0LS

PA3GOS
TQSL Installation

Now here is an "oops" from my end. Indeed "sudo make install" should be used.
I am sorry for my, seemingly, too fast answer. Also, my post was inadequate when it came to the dependencies.
In Synaptic, always install the xxxxx-dev of what is missing.

I did not mention the dependencies because they may differ from one installation to another.

But Bill never replied back so I was under the assumption that all went well.

Now, when someone finds this thread, all information is present. Thanks to you Lonnie.

73 Tjalling PA3GOS

NZ0T
When I enter "cmake ." I get

When I enter "cmake ." I get this error:

cmake .
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is unknown
-- 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
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!

What am I doing wrong?

73, Bill NZ0T

K0LS
TQSL Installation

I’m not sure, but the errors may indicate the “cmake .” command cannot find the necessary files to compile.
I created a new folder and named it TQSL.
Downloaded the Linux tar file from the ARRL website and moved the downloaded file into that folder.
Right click on the “Tqsl-2.4.3.tar.gz” file and select “Extract Here”.
This will create a new folder called “Tqsl-2.4.3”.
Right click on that newly created folder and select “Open in Terminal”.
Then type your “cmake .” command.
Hopefully the process will complete without errors, but if it does you can load the dependencies that are missing. Try this first to see if your current errors go away.

NZ0T
I did exactly what you did

I did exactly what you did and got the same errors. Very weird

K0LS
TQSL Installation

I am new to Linux and compiling so I hope someone will weigh in on this too. In the meantime I’ll try to help.
After you extracted the tar file into your new folder did you find 15 items in the new Tqsl-2.4.3 folder? I have 5 folders and 10 other miscellaneous files.
The folders are named:
Apps
Cmakemodules
HTML
Src
Win32-msi
Do you have the same thing? If not that may be the problem area.

Below are the first few lines of my terminal log after the successful “cmake .” command was entered. Comparing your log with mine notice your second line does not know “The CXX compiler identification is GNU 7.3.0”. It is unknown in your log.
Then the log matches your terminal log until it gets to the line that says ”CMake Error at CMakeLists.txt:3 (project)”.

Your log points out that “No CMAKE_CXX_COMPILER could be found”. The suggestions contained within the error log must be clues to solve this error, but I’m not knowledgeable enough to know what they mean. However, I’m going to take some time to see if I can figure it out.

cmake .
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.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 LMDB: /usr/include
-- Found lmdb (include: /usr/include, library:
/usr/lib/x86_64-linux-gnu/liblmdb.so)
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version
"2.2.5")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version
"1.1.0g")
-- Found ZLIB: /usr/include (found version "1.2.11")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so

NZ0T
I have the 5 files you have

I have the 5 files you have plus a 6th called CMakeFiles

K0LS
TQSL Installation

I stand corrected. I was looking in an old folder I used for testing. Once I was looking in the correct folder, I too have the “cmakefiles” folder and more additional files.
Moving on, I still feel a compiler file is either missing, in the wrong directory, and or the wrong path.
I have found on line many references to your errors with compiling other programs. Just do an online search for “The CXX compiler identification is unknown” and “CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found.”
Many articles with many answers all worth reading and trying. I would not want to suggest anything for you to try because I would not want to be the one to break your system.
I remember adding many missing files and a variety of packages in order to get my CQRLOG, WSJTX, and rig control to work. Unfortunately I didn’t keep a log of what I added to my clean Linux install. Perhaps I inadvertently added something that allowed my compile to work for upgrading my TQSL.
Since you are running Linux Mint open the “Package Manager”in the menu. Search for
“build-essential”. I have version 12.4ubuntu1 installed. The reason I ask is this package is mentioned several times in dealing with compiling. Also search and check “cmake”. My installed version is 3.10.2-1 ubuntu2.
Some have suggested to delete the build directory contents in order to get the C++ Complier to update?? I have no idea the process or the merits for eliminating directory contents. Sounds like a good way to mess things up.
Good luck with your journey. Hopefully someone will add a comment that will be beneficial in solving this error. If I find something worth mentioning I’ll post it. Once you solve the problem it would be good to post your solution for others to follow.
73,

K0LS
TQSL Installation

Bill, curious if your Linux has the same versions as my system. Below are three terminal commands that I ran in my home directory to see what versions I have installed. Wonder if you have the same ones as I do?
Enter:
g++ --version (Note the space between + and -)

Enter:
c++ --version

Enter:
cmake --version

My results follow.

ham1@HamPC:~$ g++ --version
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ham1@HamPC:~$ c++ --version
c++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ham1@HamPC:~$ cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
ham1@HamPC:~$

NZ0T
My results:

My results:

g++
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

c++
c++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Cmake

cmake version 3.10.2

K0LS
TQSL Installation

From your error log we know the CXX complier is “unknown” and that CMake needs to be told where the CXX complier is located. Basically the clues to solve your compile errors.

Below are three commands I ran on my system which returned the location of each compile file. All are located within the /user/bin/.
What does your system indicate after running the same commands?

My system:
HamPC:~$ command -v cc
/usr/bin/cc
hamPC:~$ command -v g++
/usr/bin/g++
HamPC:~$ command -v gcc
/usr/bin/gcc

NZ0T
Here's what I got:

Here's what I got:

bill@bill-OptiPlex-380:~$ command -v cc
/usr/bin/cc

bill@bill-OptiPlex-380:~$ command -v g++
/usr/bin/g++
bill@bill-OptiPlex-380:~$ command -v gcc
/usr/bin/gcc

K0LS
TQSL Installation

Okay, your compile files are in the same place as mine. Something is different between our systems so will keep looking.
There are several references on line to a program that is important for compiles to work called “build-essential”. I checked and I have it on my PC.
I first ran:
sudo apt-get update
All this does is update the package lists to indicate the newest version. This command does not update any applications.
Then I ran the command:
sudo apt-get install -y build-essential
This command will install “build-essential” which in my case is already installed and it informed me it is the current version (see below). If you don’t have it, it should ask you first if you want to install it. May be helpful to check and possibly install on your system.

ham1@HamPC:~$ sudo apt-get install -y build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

NZ0T
I did not have build

I did not have build-essential installed. Once installed I started getting missing library errors. After installing a couple with synaptic I got this error:

bill@bill-OptiPlex-380:~/Desktop/TQSL/tqsl-2.4.3$ cmake .
-- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmakemodules/FindCURL.cmake:49 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
apps/CMakeLists.txt:13 (find_package)

But I do have CURL installed so not sure why I'm getting this error. here are a bunch of other CURL libraries in synaptic but don't know which one I need.

But, making progress lol.

K0LS
TQSL Installation

Yes, progress.
I checked my system and I have more than one CURL loaded. I’m not sure which are needed.

Using Search (curl) within Synaptic Package Manager, these were found:
curl (version 7.58.0-2ubuntu3.6)
libcurl3-gnutls (Version 7.58.0-2ubuntu3.6)
libcurl4 (version 7.58.0-2ubuntu3.6)
libcurl4-openssl-dev (version 7.58.0-2ubuntu3.6)
python3-pycurl (version 7.43.0.1-02)

This is only a guess, but the “libcurl4-openssl-dev” may be the important one because Tjalling, PA3GOS, suggested loading the “dev” versions of everything missing. I had a total of 5 missing. I’d load one, rerun, and it would find another missing. Did that 5 times before it finally compiled TQSL. lol

NZ0T
That did it! I installed

That did it! I installed "libcurl4-openssl-dev” and the last library asked for which was "wxwidgets" and TQSL installed OK. Thanks so very, very much for all your help!

73, Bill NZ0T

K0LS
TQSL Installation

Very relieved to hear TQSL finally compiled for you.
I was happy to help and learned a lot through the process.
Thank you for posting your question and for Tjalling’s response as I was able to update my TQSL which was not working properly.
So far I like Linux as it has given my old HP PC new life. Glad CQRLOG was available for logging my WSJTX QSOs. I have my PC setup to dual boot, but not sure I’ll ever boot Windows up again.
73,
Lonnie - KØLS

KG7M
KG7M's picture
TQSL Installation

Although this thread is nearly two years old, it was very helpful in guiding me through updating tqsl. I had been running an older version, 2.2 which didn't allow me to upload my FT4 contacts to LOTW. I'm now happily running version 2.5.9.

Thank you to all.

73,

Mike KG7M