Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-14874/hopencl-0.2.0/dist/setup/setup.hs, /tmp/cabal-tmp-14874/hopencl-0.2.0/dist/setup/Main.o ) /tmp/cabal-tmp-14874/hopencl-0.2.0/dist/setup/setup.hs:4:1: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead Linking /tmp/cabal-tmp-14874/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 . Failed to install 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