nixers
bspwm on OS X Mavericks? - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration)
+--- Forum: OS X (https://nixers.net/Forum-OS-X)
+--- Thread: bspwm on OS X Mavericks? (/Thread-bspwm-on-OS-X-Mavericks)


bspwm on OS X Mavericks? - maxdeviant - 27-06-2014

I'm currently trying to install bspwm for OS X.

I was looking at windelicato's guide, but it does not explicitly cover OS X setup, specifically dependencies.

I have downloaded the bspwm and sxhkd source, and installed XQuartz.

Running
Code:
make
in the bswpm directory yields
Code:
cc -std=c99 -pedantic -Wall -Wextra -I/usr/local/include -D_POSIX_C_SOURCE=200112L -DVERSION=\"0.8.9\" -Os  -c -o bspwm.o bspwm.c
bspwm.c:41:10: fatal error: 'xcb/xinerama.h' file not found
#include <xcb/xinerama.h>
         ^
1 error generated.
make: *** [bspwm.o] Error 1

It appears that this stems from the missing xcb dependency (which also appears in the dependency install commands for Debian- and Arch-based distros)

Would anyone be able to help me get this up and running?


RE: bspwm on OS X Mavericks? - yrmt - 28-06-2014

Add -I/opt/X11/include and -L/opt/X11/lib so it looks for your XQuartz libraries?


RE: bspwm on OS X Mavericks? - yrmt - 28-06-2014

You can also get bspwm from pkgsrc-wip, it works on Mac OS X if you want


RE: bspwm on OS X Mavericks? - tmas - 29-06-2014

I've been looking into installing bspwm on OX X myself, and this was very helpful in figuring it out. However, it didn't actually work. The only way I found to get make to run properly was to copy the contents of /opt/X11/lib to /usr/include and copy the contents of /opt/X11/lib to /usr/local/lib. It's a dirty hack, but it got me through the make stage at least. I'm still configuring bspwm so I can't say for sure whether it works in the long run, but I figured I might as well put it out there.


RE: bspwm on OS X Mavericks? - maxdeviant - 29-06-2014

(29-06-2014, 05:13 PM)tmas Wrote: I've been looking into installing bspwm on OX X myself, and this was very helpful in figuring it out. However, it didn't actually work. The only way I found to get make to run properly was to copy the contents of /opt/X11/lib to /usr/include and copy the contents of /opt/X11/lib to /usr/local/lib. It's a dirty hack, but it got me through the make stage at least. I'm still configuring bspwm so I can't say for sure whether it works in the long run, but I figured I might as well put it out there.

Haven't had a chance to try these suggestions yet, but glad to hear that you have had some success with getting make to run :)


RE: bspwm on OS X Mavericks? - baskerville - 01-07-2014

First install homebrew, and then:
Code:
brew tap baskerville/formulae
brew install --HEAD bspwm sxhkd



RE: bspwm on OS X Mavericks? - yrmt - 01-07-2014

Or use pkgin, which is much nicer to use.


RE: bspwm on OS X Mavericks? - maxdeviant - 01-07-2014

(01-07-2014, 07:55 AM)baskerville Wrote: First install homebrew, and then:
Code:
brew tap baskerville/formulae
brew install --HEAD bspwm sxhkd

This is perfect! Already use homebrew for installing other utilities.

I did not expect the project maintainer to grace this thread :)


RE: bspwm on OS X Mavericks? - finbarr - 08-11-2014

Did you ever succeed in getting bspwm running? I installed it as above, and after following windelicato's guide I was still unable to get bspwm to work properly.

Specifically, I couldn't get my keyboard to work properly; pressing "Command - Left arrow" would type "C" in the terminal, and many of the keyboard keys just didn't work.


RE: bspwm on OS X Mavericks? - venam - 15-05-2015

I was reading this post today http://cmacr.ae/blog/2015/05/04/seamless-x11-on-osx/ written by one of our old members.
It's pretty extensive and should help others.


RE: bspwm on OS X Mavericks? - yuppie - 18-02-2017

does any of this work in macOS Sierra? I'd love this stuff to work without Xquartz