Skip to content

Instantly share code, notes, and snippets.

@mrpollo
Created April 14, 2012 00:27
Show Gist options
  • Select an option

  • Save mrpollo/2381167 to your computer and use it in GitHub Desktop.

Select an option

Save mrpollo/2381167 to your computer and use it in GitHub Desktop.
problems installing codec image devil for haskell
rroche at Ramon-Roches-MacBook-Pro in /usr/local on master*
$ cabal install codec-image-devil -v
Reading available packages...
Resolving dependencies...
In order, the following would be installed:
Codec-Image-DevIL-0.2.3 (new package)
Extracting
/Users/rroche/.cabal/packages/hackage.haskell.org/Codec-Image-DevIL/0.2.3/Codec-Image-DevIL-0.2.3.tar.gz
to
/var/folders/bc/y8v6nssd4gvct81rjlr2_2d80000gn/T/Codec-Image-DevIL-0.2.36673...
Configuring Codec-Image-DevIL-0.2.3...
Dependency array ==0.3.0.2: using array-0.3.0.2
Dependency base ==4.3.1.0: using base-4.3.1.0
Using Cabal-1.10.2.0 compiled by ghc-7.0
Using compiler: ghc-7.0.4
Using install prefix: /Users/rroche/.cabal
Binaries installed in: /Users/rroche/.cabal/bin
Libraries installed in:
/Users/rroche/.cabal/lib/Codec-Image-DevIL-0.2.3/ghc-7.0.4
Private binaries installed in: /Users/rroche/.cabal/libexec
Data files installed in: /Users/rroche/.cabal/share/Codec-Image-DevIL-0.2.3
Documentation installed in:
/Users/rroche/.cabal/share/doc/Codec-Image-DevIL-0.2.3
Using alex version 2.3.5 found on system at: /usr/local/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.0.4 found on system at: /usr/local/bin/ghc
Using ghc-pkg version 7.0.4 found on system at: /usr/local/bin/ghc-pkg
No greencard found
Using haddock version 2.9.2 found on system at: /usr/local/bin/haddock
Using happy version 1.18.6 found on system at: /usr/local/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.25 found on system at: /usr/local/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
cabal: Missing dependency on a foreign library:
* Missing C library: IL
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.
World file is already up to date.
cabal: Error: some packages failed to install:
Codec-Image-DevIL-0.2.3 failed during the configure step. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment