Skip to content

Instantly share code, notes, and snippets.

@flazz
Created September 18, 2012 17:05
Show Gist options
  • Select an option

  • Save flazz/3744324 to your computer and use it in GitHub Desktop.

Select an option

Save flazz/3744324 to your computer and use it in GitHub Desktop.
==> Downloading http://dl.suckless.org/dwm/dwm-6.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/dwm-6.0.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/dwm-6.0.tar.gz
==> make PREFIX=/usr/local/Cellar/dwm/6.0 install
make PREFIX=/usr/local/Cellar/dwm/6.0 install
dwm build options:
creating config.h from config.def.h
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA
CC dwm.c
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
CC = cc
CC -o dwm
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dwm] Error 1
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/dwm.rb#L16
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: 33442291229d692fbdf05c3f4c03878fc64ea759
CPU: 8-core 64-bit nehalem
OS X: 10.7.4-x86_64
Xcode: 4.4 (guessed)
CLT: 4.4.0.0.1.1249367152
X11: 2.7.3 => /opt/X11
CC: cc
CXX: c++
LD: cc
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: Failed executing: make PREFIX=/usr/local/Cellar/dwm/6.0 install (dwm.rb:16)
This link will help resolve the above errors:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment