Resolving dependencies... Configuring Decimal-0.5.1... Configuring JuicyPixels-3.2.9.5... Building JuicyPixels-3.2.9.5... Building Decimal-0.5.1... Installed Decimal-0.5.1 Configuring OneTuple-0.2.1... Building OneTuple-0.2.1... Installed OneTuple-0.2.1 Configuring base-orphans-0.7... Building base-orphans-0.7... Installed base-orphans-0.7 Configuring bindings-DSL-1.0.24... Building bindings-DSL-1.0.24... Installed bindings-DSL-1.0.24 Configuring bytestring-trie-0.2.4.1... Building bytestring-trie-0.2.4.1... Installed bytestring-trie-0.2.4.1 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed cabal-doctest-1.0.6 Configuring cereal-0.5.5.0... Building cereal-0.5.5.0... Installed cereal-0.5.5.0 Configuring colour-2.3.4... Building colour-2.3.4... Installed colour-2.3.4 Configuring data-default-class-0.1.2.0... Building data-default-class-0.1.2.0... Installed JuicyPixels-3.2.9.5 Configuring fail-4.9.0.0... Building fail-4.9.0.0... Installed fail-4.9.0.0 Configuring fftwRaw-0.1.0.1... Installed data-default-class-0.1.2.0 Configuring hashtables-1.2.3.0... Building fftwRaw-0.1.0.1... Building hashtables-1.2.3.0... Installed fftwRaw-0.1.0.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Installed old-locale-1.0.0.7 Configuring operational-0.2.3.5... Building operational-0.2.3.5... Installed operational-0.2.3.5 Configuring pulse-simple-0.1.14... Building pulse-simple-0.1.14... Installed hashtables-1.2.3.0 Configuring reflection-2.1.3... Installed pulse-simple-0.1.14 Configuring rtlsdr-0.1.0.5... Building reflection-2.1.3... Failed to install rtlsdr-0.1.0.5 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/rtlsdr-0.1.0.5-DweRS5fLapP9V9QVzlUzo9.log ): cabal: Entering directory '/tmp/cabal-tmp-6567/rtlsdr-0.1.0.5' Configuring rtlsdr-0.1.0.5... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: rtlsdr 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.If the library 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. cabal: Leaving directory '/tmp/cabal-tmp-6567/rtlsdr-0.1.0.5' Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Installed reflection-2.1.3 cabal: Error: some packages failed to install: rtlsdr-0.1.0.5-DweRS5fLapP9V9QVzlUzo9 failed during the configure step. The exception was: ExitFailure 1 sdr-0.1.0.11-K9csAbRnsJhEeoHcNVDZ6d depends on sdr-0.1.0.11 which failed to install.