Building TQSL 2.5.7 from source for Linux
I had version tqsl-2.5.5 installed on my Ubuntu 20.04 desktop, but after a few months decided to upgrade to tqsl 2.5.7 by building from source since there was no package available. The install notes included in tqsl-2.5.7.tar.gz are good for a seasoned linux developer but not so much for the casual user like me.
Assuming you have built other projects from source you should already have build-essentials installed. To check - type in the following commend and confirm the output is similar (per the install notes, the exact version # do not have to match, this is just the version I have installed)
$sudo apt-get install build-essentialReading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1.1).
Next you need to satisfy all build prerequisites to create the tqtqsl library under linux. TrustedQSL requires OpenSSL, expat, zlib, LMDB, wxWidgets and curl before you can build. All generic package names. What I found difficult was finding the names of the "developer" versions of these packages. Here is what I used:
$sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version (1.1.1f-1ubuntu2.1).
$sudo apt-get install expat
Building dependency tree
Reading state information... Done
expat is already the newest version (2.2.9-1build1).
$sudo apt-get install liblmdb-dev
Building dependency tree
Reading state information... Done
liblmdb-dev is already the newest version (0.9.24-1).
$sudo apt install libcurl4-openssl-dev
Building dependency tree
Reading state information... Done
libcurl4-openssl-dev is already the newest version (7.68.0-1ubuntu2.4).
Finally, I struggled the most with wxWidgets. The notes say to use wxWidgets 2.8.12 or wxWidgets 3.1.2. I had to build wxWidgets from source to resolve the error "Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES)". This led to a bunny trail of resolving another set of dependencies!
Comments