[Xmonad] Compile error: How to find problem in environment?

Kai Grossjohann kai.grossjohann at verizonbusiness.com
Mon Jun 18 08:09:22 EDT 2007


Andrea Rossato <mailing_list at istitutocolli.org> writes:

> Il Mon, Jun 18, 2007 at 11:36:28AM +0200, Kai Grossjohann ebbe a scrivere:
>> On my MacOSX box, compiling xmonad fails with the following error
>> message.  On my Debian etch box, it works fine.
>> 
>> Operations.hs:188:9: Not in scope: `changeProperty32'
>
> defined here: Graphics.X11.Xlib.Extras
>
> as usual: upgrade X11-extras to darcs HEAD.

Ayee.  Hm.  Now I remember why I didn't upgrade X11-extras to darcs
HEAD:

marcie% make pull 
darcs pull
Pulling from "http://darcs.haskell.org/~sjanssen/X11-extras"...
No remote changes to pull in!
chmod +x Setup.lhs

Then:

marcie% make build 
./Setup.lhs clean
cleaning...
./Setup.lhs configure --prefix=/opt/sw/xmonad
Configuring X11-extras-0.2...
configure: Dependency base-any: using base-2.1.1
configure: Dependency X11>=1.2.1: using X11-1.2.2
configure: Using install prefix: /opt/sw/xmonad
configure: Binaries installed in: /opt/sw/xmonad/bin
configure: Libraries installed in: /opt/sw/xmonad/lib/X11-extras-0.2/ghc-6.6.1
configure: Private binaries installed in: /opt/sw/xmonad/libexec
configure: Data files installed in: /opt/sw/xmonad/share/X11-extras-0.2
configure: Using compiler: /opt/local/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6.1
configure: Using package tool: /opt/local/bin/ghc-pkg
configure: Using ar found on system at: /usr/bin/ar
configure: No haddock found
configure: No pfesetup found
configure: Using ranlib found on system at: /usr/bin/ranlib
configure: Using runghc found on system at: /opt/local/bin/runghc
configure: No runhugs found
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /opt/local/bin/hsc2hs
configure: No c2hs found
configure: No cpphs found
configure: No greencard found
./Setup.lhs build
Preprocessing library X11-extras-0.2...

Xinerama.hsc:10:31:
     error: X11_extras_config.h: No such file or directory
compiling Graphics/X11/Xinerama_hsc_make.c failed
command was: /opt/local/bin/ghc-6.6.1 -c -Iinclude Graphics/X11/Xinerama_hsc_make.c -o Graphics/X11/Xinerama_hsc_make.o
Setup.lhs: got error code while preprocessing: Graphics.X11.Xinerama

Perhaps I shouldn't be using Xinerama on OSX?  This time, Google has no
suggestions.

Kai



More information about the Xmonad mailing list