[Xmonad] Issue 81 in xmonad: X11-1.3.0 won't build on OSX 10.4 without altering X11.cabal to point to /usr/X11R6/lib

codesite-noreply at google.com codesite-noreply at google.com
Sun Nov 4 21:59:49 EST 2007

Issue 81: X11-1.3.0 won't build on OSX 10.4 without altering X11.cabal 
to point to /usr/X11R6/lib

Comment #8 by hitesh.jasani:
Hurray, it works!  Thanks for a great product in xmonad and for such 
quick support.

BTW, one change that people need to know about is that the configure 
command no
longer accepts the '--without-xinerama' option -- instead it seems to 
figure out what
to do on its own, which is much nicer imho.

% runhaskell Setup.hs configure

Configuring X11-1.3.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to build Xinerama... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/extensions/Xinerama.h usability... no
checking X11/extensions/Xinerama.h presence... yes
configure: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xinerama.h:     check for missing prerequisite
configure: WARNING: X11/extensions/Xinerama.h: see the Autoconf documentation
configure: WARNING: X11/extensions/Xinerama.h:     section "Present But 
Cannot Be
configure: WARNING: X11/extensions/Xinerama.h: proceeding with the 
preprocessor's result
configure: WARNING: X11/extensions/Xinerama.h: in the future, the 
compiler will take
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to dons at galois.com ##
configure: WARNING:     ## ------------------------------ ##
checking for X11/extensions/Xinerama.h... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating X11.buildinfo
config.status: creating include/HsX11Config.h
config.status: creating include/X11_extras_config.h

% runhaskell Setup.hs build

Preprocessing library X11-1.3.0...
Building X11-1.3.0...
[ 1 of 17] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs,
dist/build/Graphics/X11/Xlib/Types.o )
[ 2 of 17] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs,
dist/build/Graphics/X11/Types.o )
[ 3 of 17] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs,
dist/build/Graphics/X11/Xlib/Atom.o )
[ 4 of 17] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs,
dist/build/Graphics/X11/Xlib/Color.o )
[ 5 of 17] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs,
dist/build/Graphics/X11/Xlib/Context.o )
[ 6 of 17] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs,
dist/build/Graphics/X11/Xlib/Display.o )
[ 7 of 17] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs,
dist/build/Graphics/X11/Xlib/Event.o )
[ 8 of 17] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs,
dist/build/Graphics/X11/Xlib/Font.o )
[ 9 of 17] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs,
dist/build/Graphics/X11/Xlib/Misc.o )
[10 of 17] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs,
dist/build/Graphics/X11/Xlib/Region.o )
[11 of 17] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs,
dist/build/Graphics/X11/Xlib/Screen.o )
[12 of 17] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs,
dist/build/Graphics/X11/Xlib/Window.o )
[13 of 17] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs,
dist/build/Graphics/X11/Xlib/Image.o )
[14 of 17] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs,
dist/build/Graphics/X11/Xlib.o )
[15 of 17] Compiling Graphics.X11.Xlib.Extras (
dist/build/Graphics/X11/Xlib/Extras.o )
Warning: orphan instances:
   instance base:GHC.Read.Read 
[X11-1.3.0:Graphics.X11.Xlib.Types.Rectangle] = $f1

[16 of 17] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs,
dist/build/Graphics/X11/Xinerama.o )
[17 of 17] Compiling Graphics.X11     ( Graphics/X11.hs, 
dist/build/Graphics/X11.o )
ar: creating archive dist/build/libHSX11-1.3.0.a


-- X11.buildinfo.  Generated from X11.buildinfo.in by configure.
-- System-dependent values used by Distribution.Simple.defaultUserHooks
buildable: True
cc-options:  -I/usr/X11R6/include   -I/usr/X11R6/include -I/usr/X11R6/include
ld-options:  -L/usr/X11R6/lib
extra-libraries: Xinerama Xext

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the Xmonad mailing list