You are not logged in.
I just got a fresh install of dwm-6.0 and changed around some stuff in config.h until I fell dissatisfied with the font, so wanted to get the pango patch to use TTF. I download the pango patch from suckless and follow the instructions to patch it, and when I 'make clean install', it says "compilation terminated" or something like that, and says a bunch of errors. When I use patch -R to remove it, and 'make clean install' again, it works. How do I go about installing patches?
Offline
It depends on the patch.
Offline
It depends on the patch.
So can I not install pango? That's the one I really want so I can actually use True Type Fonts and such.
Offline
Please paste errors: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
Please paste errors: https://bbs.archlinux.org/viewtopic.php?id=57855
root@Ayanami:/usr/local/src/dwm-6.0# sudo make clean install
cleaning
dwm build options:
Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
Package pangoxft was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangoxft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangoxft' found
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA
Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
Package pangoxft was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangoxft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangoxft' found
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
CC = cc
CC dwm.c
Package xft was not found in the pkg-config search path.
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
Package pangoxft was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangoxft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangoxft' found
dwm.c:39:25: fatal error: X11/Xft/Xft.h: No such file or directory
#include <X11/Xft/Xft.h>
^
compilation terminated.
make: *** [dwm.o] Error 1 this is what comes up after installing the patch
Offline
Please post details of how you are attempting to apply the patch.
Offline
Use "pkgfile" to find what packages contain xft.pc and pangoxft.pc. I get libxft and pango. Do you have those packages installed?
Last edited by 2ManyDogs (2014-11-25 19:58:37)
Offline
Please post details of how you are attempting to apply the patch.
I download the patch to ~/Downloads/
then,
cd /usr/local/src/dwm-6.0/ patch -p1 < ~/Downloads/dwm-6.0-pango.diff it works its magic
then
sudo make clean install and that error pops up
I could use git but this method gives me a little more detail
Offline