Resolving dependencies... Configuring hopencl-0.2.0... Building hopencl-0.2.0... Failed to install hopencl-0.2.0 Build log ( /home/builder/.cabal/logs/hopencl-0.2.0.log ): cabal: Entering directory '/tmp/cabal-tmp-21059/hopencl-0.2.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-21059/hopencl-0.2.0/dist/setup/setup.hs, /tmp/cabal-tmp-21059/hopencl-0.2.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-21059/hopencl-0.2.0/dist/setup/setup ... Configuring hopencl-0.2.0... dist/build/Foreign/OpenCL/Bindings/Internal/Types.chs.h:6:19: fatal error: CL/cl.h: No such file or directory #include ^ compilation terminated. c2hs: Error during preprocessing custom header file Building hopencl-0.2.0... Preprocessing library hopencl-0.2.0... c2hs: Foreign/OpenCL/Bindings/Internal/Types.chi not found in: dist/build . cabal: Leaving directory '/tmp/cabal-tmp-21059/hopencl-0.2.0' cabal: Error: some packages failed to install: hopencl-0.2.0 failed during the building phase. The exception was: ExitFailure 1