Article 5FPFC devuan testing amd64: fail to compile dwm

devuan testing amd64: fail to compile dwm

by
jr_bob_dobbs
from LinuxQuestions.org on (#5FPFC)
This is in Devuan 64bit, Testing.

Tried to compile dwm. Got error:
Code:In file included from drw.c:6:
/usr/include/X11/Xft/Xft.h:39:10: fatal error: ft2build.h: No such file or directory
39 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:18: drw.o] Error 1/usr/include/X11/Xft/Xft.h exists and looks to be a system file, in
other words, already installed and nothing to do with dwm, OK?

I looked and yes, this line does occur in Xft.h:
Code:#include <ft2build.h>The file ft2build.h does exist:
Code:$ ls -l /usr/include/freetype2/ft2build.h
-rw-r--r-- 1 root root 990 Dec 5 03:20 /usr/include/freetype2/ft2build.hCould someone please explain to me how a system include fails to include another system include and how can I overcome this problem?

Thank you.

p.s. Yes, I am aware that dwm is a package in Devuan, but there are patches and colors I like to use and those have to be hard-coded into the source prior to compilation.latest?d=yIl2AUoC8zA latest?i=TnqI9HSSnBE:fxuWY54Iroc:F7zBnMy latest?i=TnqI9HSSnBE:fxuWY54Iroc:V_sGLiP latest?d=qj6IDK7rITs latest?i=TnqI9HSSnBE:fxuWY54Iroc:gIN9vFwTnqI9HSSnBE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments