ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
2.72k stars 225 forks source link

DWM-Titus Packages Bug Fedora 40 #296

Closed rdunne2020 closed 1 month ago

rdunne2020 commented 1 month ago

Describe the bug

When the dwmtitus-setup.sh script is called when trying to run the DWM-Titus Application Setup on Fedora Server 40 the compilation will fail because the X11 headers are not installed.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Applications Setup and select DWM-Titus
  2. Fill in your elevation passwords in order to continue down to where dwm is compiled
  3. See compilation error in drw.c for it not being able to find X11/Xlib.h

Expected behavior

DWM compiles successfully leaving behind the dwm executable

Screenshots

CTT-BadFedoraDWM

Additional context

This specific error can be solved with by running the following

dnf install libX11-devel libXinerama-devel libXft-devel

However there's is still another set of headers which must be installed with dnf install imlib2-devel

I haven't been able to test yet but this can likely be fixed by updating the script here