Freshly installed linux KDE neon 5.20 to build sjasmplus (Z80 assembler)
Channel: ped7g
Date: 18/10/2020

I got brand new KDE slimbook notebook (from https://slimbook.es/en/ ), reinstalled KDE neon 5.20 onto it, and decided to show how quickly can one go from fresh minimal OS install to "C++ developer machine" capable to compile one of the projects I contribute to.


The target project is Z80 assembler (with extensions for ZX Spectrum Next) sjasmplus: https://github.com/z00m128/sjasmplus

And along that I installed common stuff like gcc, clang, make, kdevelop IDE, git, ... Including my clumsiness with new keyboard and touchpad, horrible mic quality (sorry, it's very noisy on input and the noise reduction helps a lot, but it's not miracle).

There is one major mistake through the video. I did want to include "~/.local/bin" into PATH so I can run my local binaries easily, and I didn't notice I'm in the wrong folder, creating new .bashrc file elsewhere - then later in the video I finally figure my mistake and just copy it mindlessly into my home folder, overwriting the default .bashrc installed. Don't be like me, make sure you edit the correct file, and don't overwrite files mindlessly. :)


The video is real-time unprocessed "as it happened", so it's full 34minutes until I figured all my mistakes, bugs in the SW itself and workarounds.



Timeline:
00:00 Introduction
01:21 Hunting down sjasmplus project web page (from ZX Next wiki)
02:22 git cloning the sjasmplus (to figure out I need to install git first)
03:15 installing git (using "aptitude" package manager)
04:24 second try to clone sjasmplus sources
04:44 demonstrating I don't have even make installed
05:47 installing common tools included in build-essential package
06:45 building the sjasmplus locally from source
07:40 installing the binary as local-user binary
08:57 uncovering bug in sjasmplus `make install` process
09:55 fighting Ubuntu bug of not having ~/.local/bin in PATH
13:24 creating the .bashrc file in wrong place to fix the PATH
15:12 wondering why it still doesn't work (not seeing my mistake)
16:10 building the sjasmplus including the automated tests
17:06 getting the missing UnitTest++ sources (git submodule)
17:44 second try to build sjasmplus tests
18:23 installing KDevelop IDE to edit the sources
20:14 launching the KDevelop, missing cmake
22:58 installing cmake package
23:52 installing git-cola GUI tool
25:57 trying to open the project in KDevelop again
27:58 editing the sjasmplus source in the IDE
30:03 git cloning the ZXSpectrumNextTests project
31:42 building the test suite with sjasmplus
32:39 bye folks