[dev] [wmii] missing libraries

From: Jonas Bernoulli <jonas_AT_bernoulli.cc>
Date: Fri, 18 Dec 2009 00:24:53 +0100

Hello

Tried Xmonad for a while now but I never felt at home. Unfortunately
am unable to go back to wmii because of this:

# make
...
MAKE all cmd/wmii/
CC cmd/wmii/area.o
In file included from /usr/include/X11/Xft/Xft.h:39,
                 from ../../include/x11.h:9,
                 from cmd/wmii/dat.h:18,
                 from cmd/wmii/area.c:4:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
such file or directory
In file included from ../../include/x11.h:9,
                 from cmd/wmii/dat.h:18,
                 from cmd/wmii/area.c:4:
/usr/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME"
or <FILENAME>
In file included from ../../include/x11.h:9,
                 from cmd/wmii/dat.h:18,
                 from cmd/wmii/area.c:4:
/usr/include/X11/Xft/Xft.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_XftFTlibrary’
/usr/include/X11/Xft/Xft.h:94: error: expected
specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:101: error: expected
specifier-qualifier-list before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:188: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:293: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:352: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘XftLockFace’
/usr/include/X11/Xft/Xft.h:391: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:397: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/Xft/Xft.h:406: error: expected declaration specifiers
or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:407: error: expected declaration specifiers
or ‘...’ before ‘FT_UInt’
/usr/include/X11/Xft/Xft.h:416: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘XftCharIndex’
/usr/include/X11/Xft/Xft.h:449: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
make[2]: *** [area.o] Error 1
make[1]: *** [dall] Error 2
make: *** [dall] Error 2

# sed -i -e "/^INCLUDES/s|-I\.|-I. $(pkg-config --cflags freetype2)|" config.mk
# make
...
LD cmd/wmii/wmii.out
/home/devel/wmii/cmd/wmii/bar.c:254: undefined reference to `XUngrabPointer'
/home/devel/wmii/cmd/wmii/client.c:130: undefined reference to
`XSetWindowBorderWidth'
/home/devel/wmii/cmd/wmii/client.c:131: undefined reference to `XAddToSaveSet'
/home/devel/wmii/cmd/wmii/client.c:136: undefined reference to `XCreateColormap'
/home/devel/wmii/cmd/wmii/client.c:155: undefined reference to `XFreeColormap'
/home/devel/wmii/cmd/wmii/client.c:274: undefined reference to `XGrabServer'
/home/devel/wmii/cmd/wmii/client.c:286: undefined reference to `XUngrabServer'
/home/devel/wmii/cmd/wmii/client.c:591: undefined reference to `XKillClient'
...

Any suggestions? Thanks.

-- Jonas
Received on Thu Dec 17 2009 - 23:24:53 UTC

This archive was generated by hypermail 2.2.0 : Thu Dec 17 2009 - 23:36:02 UTC