Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running FreeBSD 10 and I'd like to build dwm. I've installed Xorg using pkg install. Where are the headers located? Maybe I'm just old fashioned but I first looked in /usr/X11R6 ... not there. Anyone has any idea where Xorg will install its headers files in FreeBSD?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You can install dwm from port (/usr/ports/x11-wm/dwm). You can use own config.h:

make DWM_CONF=/path/to/dwm/config.h

I think you should use the port system instead of own compiling - it appears in your packages list.

share|improve this answer

Same place as earlier versions. /usr/local/include/xorg but most of what you want is probably in /usr/local/include/X11 from xproto and libX11...

Also pkg info -lx xorg-server will list files installed by xorg-server which can help point you in the right direction.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.