*** setup configure Configuring alsa-0.4... Dependency array >=0.1 && <0.4: using array-0.2.0.0 Dependency base >=3 && <6: using base-4.1.0.0 Dependency extensible-exceptions >=0.1.1 && <0.2: using extensible-exceptions-0.1.1.1 Dependency sample-frame >=0.0.1 && <0.1: using sample-frame-0.0.1 Using Cabal-1.7.3 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/alsa-0.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/alsa-0.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/alsa-0.4 No alex found Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.9 found on system at: /usr/local/tmp/archive/install/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.4 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar /usr/bin/gcc /tmp/23148.c -o /tmp/23148 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -lasound /usr/bin/gcc /tmp/23148.c -o /tmp/23148 -lasound /usr/bin/gcc /tmp/23148.c -o /tmp/23148 -lasound /usr/bin/gcc /tmp/23148.c -o /tmp/23148 -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR /usr/bin/gcc /tmp/23148.c -o /tmp/23148 -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR cabal-setup: Missing dependency on a foreign library: * Missing header file: alsa/asoundlib.h * Missing C library: asound 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. *** Trying again with preferred-versions *** setup configure Configuring alsa-0.4... Dependency array >=0.1 && <0.4: using array-0.2.0.0 Dependency base ==3.*: using base-3.0.3.1 Dependency extensible-exceptions >=0.1.1 && <0.2: using extensible-exceptions-0.1.1.1 Dependency sample-frame >=0.0.1 && <0.1: using sample-frame-0.0.1 Using Cabal-1.7.3 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/alsa-0.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/alsa-0.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/alsa-0.4 No alex found Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.9 found on system at: /usr/local/tmp/archive/install/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.4 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar /usr/bin/gcc /tmp/23194.c -o /tmp/23194 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -lasound /usr/bin/gcc /tmp/23194.c -o /tmp/23194 -lasound /usr/bin/gcc /tmp/23194.c -o /tmp/23194 -lasound /usr/bin/gcc /tmp/23194.c -o /tmp/23194 -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR /usr/bin/gcc /tmp/23194.c -o /tmp/23194 -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/time-1.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR cabal-setup: Missing dependency on a foreign library: * Missing header file: alsa/asoundlib.h * Missing C library: asound 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.