haskell - Cabal fails to install Idris language on OSX Lion -
i'm trying install idris language in osx lion using installation guide provided on official tutorial. have alraedy installed gmp. error get:
$ cabal install idris resolving dependencies... configuring libffi-0.1... cabal: pkg-config package libffi required not found. [1 of 1] compiling main ( /var/folders/f0/dlx6tl5x18z4k4_vq0fkqtb80000gn/t/llvm-general-3.3.5.0-61662/llvm-general-3.3.5.0/setup.hs, /var/folders/f0/dlx6tl5x18z4k4_vq0fkqtb80000gn/t/llvm-general-3.3.5.0-61662/llvm-general-3.3.5.0/dist/setup/main.o ) linking /var/folders/f0/dlx6tl5x18z4k4_vq0fkqtb80000gn/t/llvm-general-3.3.5.0-61662/llvm-general-3.3.5.0/dist/setup/setup ... setup: program llvm-config version ==3.3.* required not found. cabal: error: packages failed install: idris-0.9.9 depends on llvm-general-3.3.5.0 failed install. libffi-0.1 failed during configure step. exception was: exitfailure 1 llvm-general-3.3.5.0 failed during configure step. exception was: exitfailure 1
trying install idris without llvm produces error:
$ cabal install idris -f-llvm resolving dependencies... configuring libffi-0.1... cabal: pkg-config package libffi required not found. cabal: error: packages failed install: idris-0.9.9 depends on libffi-0.1 failed install. libffi-0.1 failed during configure step. exception was: exitfailure 1
the first error indicates should install llvm development packages of distribution (not through cabal) , second indicates should install development package gcc libffi library. linux distribution using? or on windows/mac?
Comments
Post a Comment