[Xmonad] xinerama not working

Ruben Porras nahoo82 at gmail.com
Sat Jun 2 03:48:55 EDT 2007


Am Samstag, den 02.06.2007, 13:44 +1000 schrieb Donald Bruce Stewart:
> nahoo82:
> > Hi,
> > 
> > I'm having problems with the xinerama support. I follow the installation
> > steps and I run autoreconfigure. The xmonad binary is also linked with
> > libXinerama.so.
> 
> Can you check that X11-extras found and built with Xinerama support? 
> Perhaps provide the configure logs for X11-extras.

I think so, this are the steps that I'm following

$ runhaskell Setup.lhs configure
...
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
configure: creating ./config.status
config.status: creating X11-extras.buildinfo
config.status: creating include/config.h
config.status: include/config.h is unchanged

$ runhaskell Setup.lhs build
Preprocessing library X11-extras-0.2...
Building X11-extras-0.2...
/usr/bin/ar: creating dist/build/libHSX11-extras-0.2.a

As a test:

$ nm dist/build/libHSX11-extras-0.2.a | grep xinerama
000000a0 D X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaIsActive_closure
00000c58 T X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaIsActive_info
0000009c D X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryExtension_closure
00000c40 T X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryExtension_info
00000094 D X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryScreens_closure
00000c10 T X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryScreens_info
00000098 D X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryVersion_closure
00000c28 T X11zmextraszm0zi2_GraphicsziX11ziXinerama_xineramaQueryVersion_info

$ runhaskell Setup.lhs install --user
Installing: /usr/local/lib/X11-extras-0.2/ghc-6.6.1 & /usr/local/bin X11-extras-0.2...
Registering X11-extras-0.2...
Reading package info from ".installed-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.

Attached is also the buildlog from xmonad.

If it helps, I'm usisg xorg 1.3.0 and I'm activating the second monitor through the command

xrandr --output VGA --left-of LVDS

Thanks
-------------- next part --------------
$ runhaskell Setup.lhs configure
Configuring xmonad-0.2...
configure: Dependency base>=1.0: using base-2.1.1
configure: Dependency X11>=1.2.1: using X11-1.2.1
configure: Dependency X11-extras>=0.2: using X11-extras-0.2
configure: Dependency mtl>=1.0: using mtl-1.0.1
configure: Dependency unix>=1.0: using unix-2.1
configure: Using install prefix: /usr/local
configure: Binaries installed in: /usr/local/bin
configure: Libraries installed in: /usr/local/lib/xmonad-0.2/ghc-6.6.1
configure: Private binaries installed in: /usr/local/libexec
configure: Data files installed in: /usr/local/share/xmonad-0.2
configure: Using compiler: /usr/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6.1
configure: Using package tool: /usr/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: /usr/bin/runghc
configure: Using runhugs found on system at: /usr/bin/runhugs
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /usr/bin/hsc2hs
configure: No c2hs found
configure: No cpphs found
configure: No greencard found
$ runhaskell Setup.lhs build
Preprocessing executables for xmonad-0.2...
Building xmonad-0.2...
[1 of 6] Compiling StackSet         ( StackSet.hs, dist/build/xmonad/xmonad-tmp/StackSet.o )

StackSet.hs:270:31:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty

StackSet.hs:275:33:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty

StackSet.hs:280:30:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty

StackSet.hs:285:32:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty

StackSet.hs:368:11:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty

StackSet.hs:390:34:
    Warning: Pattern match(es) are non-exhaustive
             In a case alternative: Patterns not matched: Empty
[2 of 6] Compiling XMonad           ( XMonad.hs, dist/build/xmonad/xmonad-tmp/XMonad.o )
[3 of 6] Compiling Config[boot]     ( Config.hs-boot, nothing )
[4 of 6] Compiling Operations       ( Operations.hs, dist/build/xmonad/xmonad-tmp/Operations.o )
[5 of 6] Compiling Config           ( Config.hs, dist/build/xmonad/xmonad-tmp/Config.o )
[6 of 6] Compiling Main             ( Main.hs, dist/build/xmonad/xmonad-tmp/Main.o )
Linking dist/build/xmonad/xmonad ...
$ runhaskell Setup.lhs install
Installing: /usr/local/lib/xmonad-0.2/ghc-6.6.1 & /usr/local/bin xmonad-0.2...


More information about the Xmonad mailing list