Resolving dependencies... Configuring LDAP-0.6.11... Building LDAP-0.6.11... Failed to install LDAP-0.6.11 Build log ( /home/builder/.cabal/logs/LDAP-0.6.11.log ): cabal: Entering directory '/tmp/cabal-tmp-21055/LDAP-0.6.11' Configuring LDAP-0.6.11... Building LDAP-0.6.11... Preprocessing library LDAP-0.6.11... [ 1 of 11] Compiling LDAP.TypesLL ( LDAP/TypesLL.hs, dist/build/LDAP/TypesLL.o ) [ 2 of 11] Compiling LDAP.Data ( dist/build/LDAP/Data.hs, dist/build/LDAP/Data.o ) LDAP/Data.hsc:97:2: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘toEnum’: toEnum (7) = ... LDAP/Data.hsc:260:2: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘toEnum’: toEnum (0) = ... [ 3 of 11] Compiling LDAP.Types ( dist/build/LDAP/Types.hs, dist/build/LDAP/Types.o ) [ 4 of 11] Compiling LDAP.Exceptions ( LDAP/Exceptions.hs, dist/build/LDAP/Exceptions.o ) [ 5 of 11] Compiling LDAP.Constants ( dist/build/LDAP/Constants.hs, dist/build/LDAP/Constants.o ) [ 6 of 11] Compiling LDAP.Utils ( dist/build/LDAP/Utils.hs, dist/build/LDAP/Utils.o ) [ 7 of 11] Compiling LDAP.Init ( dist/build/LDAP/Init.hs, dist/build/LDAP/Init.o ) [ 8 of 11] Compiling LDAP.Result ( dist/build/LDAP/Result.hs, dist/build/LDAP/Result.o ) [ 9 of 11] Compiling LDAP.Modify ( dist/build/LDAP/Modify.hs, dist/build/LDAP/Modify.o ) [10 of 11] Compiling LDAP.Search ( dist/build/LDAP/Search.hs, dist/build/LDAP/Search.o ) [11 of 11] Compiling LDAP ( LDAP.hs, dist/build/LDAP.o ) sasl_external.c:2:23: error: fatal error: sasl/sasl.h: No such file or directory #include ^ compilation terminated. `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-21055/LDAP-0.6.11' cabal: Error: some packages failed to install: LDAP-0.6.11 failed during the building phase. The exception was: ExitFailure 1