Hi all:
New to OpenSUSE as of two days ago. I tried compiling DWM window manager
today, which attempt has so far failed.
I understand OpenSUSE does not come with a full build environment, so I
expected a few errors along the way. In fact, the first two errors were
for missing X-libs packages (libX11-devel and libXfti-devel), which I
installed.
Now, the next errors seem to be because certain header files are not where
DWM (or GCC) expects to find them. For example, the first error was
(untruncated):
dutch@linux-uoyk:~/bin/dwm-6.1> sudo make clean install
cleaning
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="6.1" -DXINERAMA
LDFLAGS = -s -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
CC = cc
CC drw.c
In file included from drw.c:6:0:
/usr/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
#include
^
compilation terminated.
Makefile:18: recipe for target 'drw.o' failed
make: *** [drw.o] Error 1
dutch@linux-uoyk:~
In fact, ft2build exists, but instead of being located in
as expected, it is in . So, I made that
change, and the error disappeared.
Next error was similar:
In file included from /usr/include/X11/Xft/Xft.h:39:0,
from drw.c:6:
/usr/include/freetype2/ft2build.h:37:29: fatal error: config/ftheader.h: No such file or directory
#include
^
compilation terminated.
Same solution, make the path .
Next error, same thing:
n file included from drw.c:6:0:
/usr/include/X11/Xft/Xft.h:40:23: fatal error: freetype.h: No such file or directory
#include FT_FREETYPE_H
^
compilation terminated.
OK - you get the picture. Question is, is this PEBCAK, i.e., am I missing some essential
build feature? Note: I have checked with one other Linux distro and their header
files are as I adjusted them above. So, any ideas? Thanks for your help.
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org