Configuring freenect-1.2... Dependency base ==4.8.1.0: using base-4.8.1.0 Dependency vector ==0.10.12.3: using vector-0.10.12.3 Using Cabal-1.22.4.0 compiled by ghc-7.10 Using compiler: ghc-7.10.2 Using install prefix: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2 Binaries installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/hackage-bin Libraries installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/lib/x86_64-linux-ghc-7.10.2/freenect-1.2-9EEpNjRq4bQ9scii9IWWcJ Private binaries installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/libexec Data files installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/share/x86_64-linux-ghc-7.10.2/freenect-1.2 Documentation installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/share/doc/x86_64-linux-ghc-7.10.2/freenect-1.2 Configuration files installed in: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/etc Using alex version 3.1.4 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/hackage-bin/alex Using ar found on system at: /usr/bin/ar No c2hs found Using cpphs version 1.19 found on system at: /mit/ghc/arch/amd64_ubuntu1404/bin/cpphs Using gcc version 4.8 found on system at: /usr/bin/gcc Using ghc version 7.10.2 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/bin/ghc Using ghc-pkg version 7.10.2 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.16.1 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/bin/haddock Using happy version 1.19.5 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/hackage-bin/happy Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/bin/hpc Using hsc2hs version 0.67 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/bin/hsc2hs Using hscolour version 1.22 found on system at: /tmp/kenta/afs/sipb.mit.edu/project/ghc/arch/amd64_ubuntu1404/install/7.10.2/hackage-bin/HsColour No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config Using strip version 2.24 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found setup-Simple-Cabal-1.22.4.0-x86_64-linux-ghc-7.10.2: Missing dependencies on foreign libraries: * Missing (or bad) header file: libfreenect.h * Missing C libraries: freenect, freenect_sync This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages.