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.


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.