Error X11/xft/xft.h No Such File Or Directory
Unanswered Index »Help & Support (Testing/Unstable) »Trying to patch xft to dwm Pages: 1 #1 2012-10-19 22:48:39 cortman #! CrunchBanger From: ZZ9 Plural Z Alpha Registered: 2012-03-15 ft2build.h: no such file or directory Posts: 128 Trying to patch xft to dwm More dwm hitches.I'm trying to dwm apply the xft patch (downloaded from suckless), and the patch applies fine- but when I go to compile I get this (full output):cortman@gwaihir:~/dwm-6.0$ sudo make clean install cleaning rm -f dwm dwm.o dwm-6.0.tar.gz dwm build options: CFLAGS = -std=c99 -pedantic -Wall -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama CC = cc creating config.h from config.def.h cp config.def.h config.h CC dwm.c cc -c -std=c99 -pedantic -Wall -I. -I/usr/include -I/usr/X11R6/include -DVERSION=\"6.0\" -DXINERAMA dwm.c dwm.c:42:25: fatal error: X11/Xft/Xft.h: No such file or directory compilation terminated. make: *** [dwm.o] Error 1libxinerama-dev is installed.Since a lot you guys seem to use dwm, has anyone come up with a fix for it?Thanks! Last edited by cortman (2012-10-19 22:51:15) Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my my referral link. Offline Be excellent to each other! #2 2012-10-19 23:02:45 pidsley Window Mangler Registered: 2012-05-23 Posts: 1,752 Re: Trying to patch xft to dwm try installing libxft-dev% apt-file search Xft.h libxft-dev: /usr/include/X11/Xft/Xft.hapt-file is very useful for finding build dependencies Last edited by pidsley (2012-10-19 23:04:56) words to live by Offline #3 2012-10-20 04:34:17 cortman #! CrunchBanger From: ZZ9 Plural Z Alpha Registered: 2012-03-15 Posts: 128 Re: Trying to patch xft to dwm Thanks for the suggestion and the apt-file tip; that really is a useful tool.I installed libxft-dev, and that took care of that error, but now I get a different (but similar) one-cortman@gwaihir:~/dwm-6.0$ sudo make clean install cleaning rm -f dwm dwm.o dwm-6.0.tar.gz dwm build options: CFLAGS = -std=c99 -pedantic -Wall -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama CC = cc CC dwm.c cc -c -std=c99 -pedantic -Wall -I. -I/usr/include -I/usr/X11R6/include -DVERSION=\"6.0\" -DXINERAMA dwm.c In file included from /usr/include/X11/Xft/Xft.h:39:0, from dwm.c:42: /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory compilation terminated. make: *** [dwm.o] Error 1So I ranapt-file sear
graph Member Registered: 2010-12-21 Posts: 105 [Solved] Hand-patching DWM (xft + statuscolors) Hello there.I'm trying to handpatch the statuscolors-patch into my already xft-patched dwm source. However, my knowledge of C is quite small, so I have a question about removing and adding lines:My status-color diff says the following: typedef struct { int x, y, w, h; - unsigned long norm[ColLast]; - unsigned long sel[ColLast]; + unsigned long colors[MAXCOLORS][ColLast]; Drawable drawable; GC gc;In my xft-patched dwm.c-file the passage looks like this:typedef struct { int x, y, w, h; XftColor norm[ColLast]; XftColor sel[ColLast]; Drawable drawable; GC gc;So the "unsigned" http://crunchbang.org/forums/viewtopic.php?id=22523 bit is changed to "XftColor". Should I still remove the line, or is it needed for xft? Will it still work if I only add the line that needs to be added according to the diff/patch? Last edited by graph (2013-05-22 18:51:46) Offline #2 2013-05-22 07:11:47 jasonwryan Forum & Wiki Admin From: .nz Registered: 2009-05-09 Posts: 19,512 Website Re: [Solved] Hand-patching DWM (xft + https://bbs.archlinux.org/viewtopic.php?id=163792 statuscolors) My patch looks like:- XftColor norm[ColLast]; - XftColor sel[ColLast]; + XftColor colors[MAXCOLORS][ColLast]; Drawable drawable; Arch + dwm • Mercurial repos • GithubRegistered Linux User #482438 Offline #3 2013-05-22 08:55:28 graph Member Registered: 2010-12-21 Posts: 105 Re: [Solved] Hand-patching DWM (xft + statuscolors) I took a look at your patch, and now it's working - Thank you for that.However, I get this error while compiling: dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA -DXFT LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama -L/usr/X11R6/lib -lXft CC = cc CC dwm.c In file included from /usr/include/X11/Xft/Xft.h:39:0, from dwm.c:42: /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory #include
Date: Mon, 6 Dec 2010 06:45:02 UTC Severity: serious Tags: patch Found in version wmii/3.9.2+debian-1 Fixed https://bugs.debian.org/606070 in version wmii/3.9.2+debian-2 Done: Ralf Treinen
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse REDUCE Mailing Lists REDUCE A Portable General-Purpose Computer Algebra System Brought to you by: achearn, arthurcnorman, eschruefer, jpff, and 4 others Summary Files Reviews Support Wiki (External) Mailing Lists Bugs News Discussion Code reduce-algebra-developers reduce-algebra-developers [Reduce-algebra-developers] a question about installation From: richard fell