How to compile and install spectrwm 3.6

Hello,

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

Rome , Rock6

Desktop environment (KDE, LXQT…):

KDE

Description of the issue (screenshots if relevant):

How to compile and install Spectrwm 3.6 from official github. One day I will figure out packaging and submit as package but that is taking me a long time to figure out and understand. For now this should get you installed. I recognize this might install more lib packages than absolutely needed. I did not take the time to narrow this down any further. (substitute appropriate shortcut file for spectrwm_us.conf )

Relevant informations (hardware involved, software version, logs or output…):

Spectrwm 3.6 github

cd ~
sudo dnf install git lib64xcb-* libbsd* lib64xcursor* lib64xft-dev* dmenu xlockmore
git clone https://github.com/conformal/spectrwm.git
cd spectrwm/linux/
make
sudo cp ~/spectrwm/linux/libswmhack.so.0.0 /usr/local/lib/
sudo cp ~/spectrwm/linux/spectrwm /usr/local/bin/
sudo cp ~/spectrwm/spectrwm.desktop /usr/share/xsessions/

mkdir ~/.config/spectrwm
cp ~/spectrwm/spectrwm.conf ~/.config/spectrwm/
cp ~/spectrwm/spectrwm_us.conf ~/.config/spectrwm/
sudo cp spectrwm.1 /usr/local/share/man/man1

I fear you gave too few infos for a real reply…

However here is a quick list of things:

  • Are all the packages for the build system installed? The sources seem to have only a Makefile, so at least make and the compiler are needed…
  • Their instructions for building are inexistent, but you can manually inspect the Makefiles (in the main dir and the linux dir), then you will find something missing from your dependency list: from what I see you need at least libx11-devel, libfontconfig-devel and the mandoc program…
  • OMV use clang as default compiler: sometime the sources want or hardcode gcc, or the build fails with clang and works with gcc… YMMV.

Hi . Sorry I was unclear. I was posting this as a how-to for others info. I do not need any help. Possibly I posted it in the wrong place.

Perhaps this need to go in Resources or Development?
But Rugyada is the mistress here…

1 Like

Done.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.