Fedora 22 cabal-install error: "Missing C library: Xss"

Create issue
Issue #24 invalid
Raphael Guarilha created an issue

I'm trying to install arbtt with cabal-install and I'm getting this error:

$ cabal install arbtt
Resolving dependencies...
Downloading arbtt-0.9.0.4...
Configuring arbtt-0.9.0.4...
Failed to install arbtt-0.9.0.4
Last 10 lines of the build log ( /home/USER/.cabal/logs/arbtt-0.9.0.4.log ):
Configuring arbtt-0.9.0.4...
setup-Cabal-1.18.1.5-x86_64-linux-ghc-7.8.4: Missing dependency on a foreign
library:
* Missing C library: Xss
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
arbtt-0.9.0.4 failed during the configure step. The exception was:
ExitFailure 1

System information

$ uname -or
4.0.4-301.fc22.x86_64 GNU/Linux

$ lsb_release -irc
Distributor ID: Fedora
Release:    22
Codename:   TwentyTwo

Installed ghc packages

$ dnf list installed | grep ghc
ghc.x86_64                              7.8.4-45.fc22                    @System
ghc-Cabal.x86_64                        1.18.1.5-45.fc22                 @System
ghc-Cabal-devel.x86_64                  1.18.1.5-45.fc22                 @System
ghc-GLURaw.x86_64                       1.4.0.1-4.fc22                   @System
ghc-GLURaw-devel.x86_64                 1.4.0.1-4.fc22                   @System
ghc-GLUT.x86_64                         2.5.1.1-4.fc22                   @System
ghc-GLUT-devel.x86_64                   2.5.1.1-4.fc22                   @System
ghc-HTTP.x86_64                         4000.2.10-1.fc22                 @System
ghc-HTTP-devel.x86_64                   4000.2.10-1.fc22                 @System
ghc-HUnit.x86_64                        1.2.5.2-34.fc22                  @System
ghc-HUnit-devel.x86_64                  1.2.5.2-34.fc22                  @System
ghc-OpenGL.x86_64                       2.9.2.0-4.fc22                   @System
ghc-OpenGL-devel.x86_64                 2.9.2.0-4.fc22                   @System
ghc-OpenGLRaw.x86_64                    1.5.0.0-4.fc22                   @System
ghc-OpenGLRaw-devel.x86_64              1.5.0.0-4.fc22                   @System
ghc-QuickCheck.x86_64                   2.7.6-1.fc22                     @System
ghc-QuickCheck-devel.x86_64             2.7.6-1.fc22                     @System
ghc-array.x86_64                        0.5.0.0-45.fc22                  @System
ghc-array-devel.x86_64                  0.5.0.0-45.fc22                  @System
ghc-async.x86_64                        2.0.1.5-1.fc22                   @System
ghc-async-devel.x86_64                  2.0.1.5-1.fc22                   @System
ghc-attoparsec.x86_64                   0.11.3.4-1.fc22                  @System
ghc-attoparsec-devel.x86_64             0.11.3.4-1.fc22                  @System
ghc-base.x86_64                         4.7.0.2-45.fc22                  @System
ghc-base-devel.x86_64                   4.7.0.2-45.fc22                  @System
ghc-binary.x86_64                       0.7.1.0-45.fc22                  @System
ghc-binary-devel.x86_64                 0.7.1.0-45.fc22                  @System
ghc-bytestring.x86_64                   0.10.4.0-45.fc22                 @System
ghc-bytestring-devel.x86_64             0.10.4.0-45.fc22                 @System
ghc-case-insensitive.x86_64             1.1.0.3-1.fc22                   @System
ghc-case-insensitive-devel.x86_64       1.1.0.3-1.fc22                   @System
ghc-compiler.x86_64                     7.8.4-45.fc22                    @System
ghc-containers.x86_64                   0.5.5.1-45.fc22                  @System
ghc-containers-devel.x86_64             0.5.5.1-45.fc22                  @System
ghc-css-text.x86_64                     0.1.2.1-1.fc22                   @System
ghc-css-text-devel.x86_64               0.1.2.1-1.fc22                   @System
ghc-deepseq.x86_64                      1.3.0.2-45.fc22                  @System
ghc-deepseq-devel.x86_64                1.3.0.2-45.fc22                  @System
ghc-directory.x86_64                    1.2.1.0-45.fc22                  @System
ghc-directory-devel.x86_64              1.2.1.0-45.fc22                  @System
ghc-doc-index.x86_64                    7.8.4-45.fc22                    @System
ghc-fgl.x86_64                          5.5.0.1-4.fc22                   @System
ghc-fgl-devel.x86_64                    5.5.0.1-4.fc22                   @System
ghc-filepath.x86_64                     1.3.0.2-45.fc22                  @System
ghc-filepath-devel.x86_64               1.3.0.2-45.fc22                  @System
ghc-ghc.x86_64                          7.8.4-45.fc22                    @System
ghc-ghc-devel.x86_64                    7.8.4-45.fc22                    @System
ghc-hashable.x86_64                     1.2.2.0-1.fc22                   @System
ghc-hashable-devel.x86_64               1.2.2.0-1.fc22                   @System
ghc-haskeline.x86_64                    0.7.1.2-45.fc22                  @System
ghc-haskeline-devel.x86_64              0.7.1.2-45.fc22                  @System
ghc-haskell-platform-devel.x86_64       2014.2.0.0.2-4.fc22              @System
ghc-haskell-src.x86_64                  1.0.1.6-4.fc22                   @System
ghc-haskell-src-devel.x86_64            1.0.1.6-4.fc22                   @System
ghc-haskell2010.x86_64                  1.1.2.0-45.fc22                  @System
ghc-haskell2010-devel.x86_64            1.1.2.0-45.fc22                  @System
ghc-haskell98.x86_64                    2.0.0.3-45.fc22                  @System
ghc-haskell98-devel.x86_64              2.0.0.3-45.fc22                  @System
ghc-hoopl.x86_64                        3.10.0.1-45.fc22                 @System
ghc-hoopl-devel.x86_64                  3.10.0.1-45.fc22                 @System
ghc-hpc.x86_64                          0.6.0.1-45.fc22                  @System
ghc-hpc-devel.x86_64                    0.6.0.1-45.fc22                  @System
ghc-hscolour.x86_64                     1.20.3-11.fc22                   @System
ghc-hscolour-devel.x86_64               1.20.3-11.fc22                   @System
ghc-html.x86_64                         1.0.1.2-31.fc22                  @System
ghc-html-devel.x86_64                   1.0.1.2-31.fc22                  @System
ghc-libraries.x86_64                    7.8.4-45.fc22                    @System
ghc-mtl.x86_64                          2.1.3.1-1.fc22                   @System
ghc-mtl-devel.x86_64                    2.1.3.1-1.fc22                   @System
ghc-network.x86_64                      2.4.2.3-1.fc22                   @System
ghc-network-devel.x86_64                2.4.2.3-1.fc22                   @System
ghc-old-locale.x86_64                   1.0.0.6-45.fc22                  @System
ghc-old-locale-devel.x86_64             1.0.0.6-45.fc22                  @System
ghc-old-time.x86_64                     1.1.0.2-45.fc22                  @System
ghc-old-time-devel.x86_64               1.1.0.2-45.fc22                  @System
ghc-parallel.x86_64                     3.2.0.4-1.fc22                   @System
ghc-parallel-devel.x86_64               3.2.0.4-1.fc22                   @System
ghc-parsec.x86_64                       3.1.5-1.fc22                     @System
ghc-parsec-devel.x86_64                 3.1.5-1.fc22                     @System
ghc-pretty.x86_64                       1.1.1.1-45.fc22                  @System
ghc-pretty-devel.x86_64                 1.1.1.1-45.fc22                  @System
ghc-primitive.x86_64                    0.5.2.1-1.fc22                   @System
ghc-primitive-devel.x86_64              0.5.2.1-1.fc22                   @System
ghc-process.x86_64                      1.2.0.0-45.fc22                  @System
ghc-process-devel.x86_64                1.2.0.0-45.fc22                  @System
ghc-random.x86_64                       1.0.1.1-29.fc22                  @System
ghc-random-devel.x86_64                 1.0.1.1-29.fc22                  @System
ghc-regex-base.x86_64                   0.93.2-31.fc22                   @System
ghc-regex-base-devel.x86_64             0.93.2-31.fc22                   @System
ghc-regex-compat.x86_64                 0.95.1-37.fc22                   @System
ghc-regex-compat-devel.x86_64           0.95.1-37.fc22                   @System
ghc-regex-posix.x86_64                  0.95.2-32.fc22                   @System
ghc-regex-posix-devel.x86_64            0.95.2-32.fc22                   @System
ghc-scientific.x86_64                   0.3.3.1-1.fc22                   @System
ghc-scientific-devel.x86_64             0.3.3.1-1.fc22                   @System
ghc-split.x86_64                        0.2.2-5.fc22                     @System
ghc-split-devel.x86_64                  0.2.2-5.fc22                     @System
ghc-stm.x86_64                          2.4.2-28.fc22                    @System
ghc-stm-devel.x86_64                    2.4.2-28.fc22                    @System
ghc-syb.x86_64                          0.4.1-1.fc22                     @System
ghc-syb-devel.x86_64                    0.4.1-1.fc22                     @System
ghc-tagsoup.x86_64                      0.13.3-1.fc22                    @System
ghc-tagsoup-devel.x86_64                0.13.3-1.fc22                    @System
ghc-template-haskell.x86_64             2.9.0.0-45.fc22                  @System
ghc-template-haskell-devel.x86_64       2.9.0.0-45.fc22                  @System
ghc-terminfo.x86_64                     0.4.0.0-45.fc22                  @System
ghc-terminfo-devel.x86_64               0.4.0.0-45.fc22                  @System
ghc-text.x86_64                         1.1.1.3-1.fc22                   @System
ghc-text-devel.x86_64                   1.1.1.3-1.fc22                   @System
ghc-tf-random.x86_64                    0.5-2.fc22                       @System
ghc-tf-random-devel.x86_64              0.5-2.fc22                       @System
ghc-time.x86_64                         1.4.2-45.fc22                    @System
ghc-time-devel.x86_64                   1.4.2-45.fc22                    @System
ghc-transformers.x86_64                 0.3.0.0-45.fc22                  @System
ghc-transformers-devel.x86_64           0.3.0.0-45.fc22                  @System
ghc-unix.x86_64                         2.7.0.1-45.fc22                  @System
ghc-unix-devel.x86_64                   2.7.0.1-45.fc22                  @System
ghc-unordered-containers.x86_64         0.2.4.0-1.fc22                   @System
ghc-unordered-containers-devel.x86_64   0.2.4.0-1.fc22                   @System
ghc-utf8-string.x86_64                  0.3.8-1.fc22                     @System
ghc-utf8-string-devel.x86_64            0.3.8-1.fc22                     @System
ghc-vector.x86_64                       0.10.9.1-1.fc22                  @System
ghc-vector-devel.x86_64                 0.10.9.1-1.fc22                  @System
ghc-xhtml.x86_64                        3000.2.1-45.fc22                 @System
ghc-xhtml-devel.x86_64                  3000.2.1-45.fc22                 @System
ghc-xss-sanitize.x86_64                 0.3.5.4-1.fc22                   @System
ghc-xss-sanitize-devel.x86_64           0.3.5.4-1.fc22                   @System
ghc-zlib.x86_64                         0.5.4.1-30.fc22                  @System
ghc-zlib-devel.x86_64                   0.5.4.1-30.fc22                  @System

Comments (2)

  1. nomeata repo owner

    You probably need the development package for Xss. Can you try installing libXScrnSaver-devel and see if that helps?

  2. Log in to comment