I've built WSJT-X from source on a Raspberry Pi.  Here are my notes  (yeah, I 
know this isn't the _right_ way, but I couldn't understand the instructions, so 
i found a tutorial and modified it:

/*
The instructions in the source tarall are much easier to parse if you already 
know what you are doing.  🤷‍♂️

I got some hints from http://www.kk5jy.net/wsjtx-build/ 
<http://www.kk5jy.net/wsjtx-build/>

Here's what I did:

From a clean Bullseye install (11.1) via Raspberry Pi Imager

sudo apt-get install cmake

export CXXFLAGS='-O2 -march=native -mtune=native'
export CFLAGS='-O2 -march=native -mtune=native'

sudo apt-get install emacs-nox (or your favorite editor to build the script 
below)
build a script from the webpage above and execute it (takes a long time)

wget 
https://github.com/Hamlib/Hamlib/releases/download/4.3.1/hamlib-4.3.1.tar.gz 
<https://github.com/Hamlib/Hamlib/releases/download/4.3.1/hamlib-4.3.1.tar.gz>
tar xvzf <that>
cd <there>
/configure --prefix=/usr/local --enable-static
make
sudo make install
sudo ldconfig
rigctl --version shows: rigctl Hamlib 4.3.1 Mon Sep 13
which rigctl returns: /usr/local/bin/rigctl
reboot to confirm somehting doesn't break
Success!

----------  Now for wsjt-x

export CXXFLAGS='-O2 -march=native -mtune=native'
export CFLAGS='-O2 -march=native -mtune=native'

wget https://physics.princeton.edu/pulsar/k1jt/wsjtx-2.5.2.tgz 
<https://physics.princeton.edu/pulsar/k1jt/wsjtx-2.5.2.tgz>
tar xvzf <that>
cd <there>
cd src
[Aha!  This is where hamlib 4.4 comes from!]
tar -zxvf wsjtx.tgz
mkdir build
cd build
cmake ../wsjtx
make
sudo make install

*/

I'm a hardware guy, but I've programmed in Basic, Pascal, Fortran, a lot of 
Z-80 assembly, C, a little C++, Perl, and lately mostly Python under Debian 
(mostly on Raspberry Pi).

I don't really have the skills to parse the code and make changes, and there 
are no particular missing features I feel are critical.  I started to look at 
what it would take to run through the audio initialization and connection steps 
on {USB port renumbering} so as to avoid restarting WSJT-X (or deselecting and 
reselecting the proper audio ports), but it's a rare enough occurrance that I 
stopped when I got bogged down.  🤷‍♂️

I've written some Python code to parse ALL.TXT and determine where the gaps in 
the waterfall are, and get histograms of audio frequency, SNR, and dT, so 
that's kinda fun.

Gotta say, this is a spectacular program, and the ability to run it on multiple 
platforms really makes it shine.  While I've done Windows, macOS, and Linux, I 
settled on the latter for ease of use.

Thanks for making this for all of us to enjoy!

73, Willie N1JBJ
73, Willie VP5WS



> On Apr 25, 2022, at 11:29 AM, Joe Taylor via wsjt-devel 
> <wsjt-devel@lists.sourceforge.net> wrote:
> 
> When I started work on WSJT some 21 years ago, my principal goal was to help 
> bring amateur weak-signal communication techniques into the twenty-first 
> century -- and in doing so, to help spread knowledge of modern communication 
> theory into the amateur radio community.
> 
> By 2005 WSJT was well established but mostly used for special purposes like 
> meteor scatter and EME ("moonbounce").  A stable development path had been 
> established: the program was fully Open Source, licensed under the GNU 
> General Public License, and it could be built by anyone from source code 
> using freely available compilers and development tools.  At this time WSJT 
> was coded in a combination of Python, Fortran, and C.  A re-write in 2012 
> created the present program, WSJT-X, using the Qt platform and C++ language 
> in addition to Fortran and C.
> 
> To help gauge the extent to which my original educational goals are being 
> met, we in the core development team are interested to know how many WSJT-X 
> users are currently building the program for themselves, from source code.  
> If you are doing so, we would appreciate an email response -- either 
> publicly, to this list, or in a private email to me. All responses will be 
> appreciated, but particular things you might want to mention in your message 
> include these:
> 
> - Building on what platform?  Windows, Linux, macOS, or other?
> 
> - What are your particular programming skills and interests?
> 
> - Are you making changes to the code?  If so, toward what end?
> 
> - What portions of the code have you studied well enough to understand?
> 
> Many thanks -- I look forward to hearing from you!
> 
>       -- 73, Joe, K1JT
> 
> 
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel

_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to