Provides this library (you may need the "-dev" version). This problem can usually be solved by installing the system package that gcc -EĬabal.exe: Missing dependency on a foreign library: none neededĬhecking how to run the C preprocessor. $ cabal configure -extra-lib-dirs=c:/cygwin/usr/lib -extra-include-dirs=c:/cygwin/usr/includeĬhecking for gcc option to accept ANSI C. All the requested packages are already cached. extra-include-dirs=c:/cygwin/usr/include \ I already installed Cygwin's curl-devel package, so maybe I needed to help the linker along (note the DOS-ish paths because the mingw gcc bundled with ghc doesn't know about Cygwin): cygdrive/c/ghc/ghc-6.10.3/gcc -Bc:/ghc/ghc-6.10.3/gcc-lib -Ic:/ghc/ghc-6.10.3/include/mingw -EĬonfigure: error: curl libraries not found, so curl package cannot be builtĬabal.exe: Error: some packages failed to install: noĬhecking for /cygdrive/c/ghc/ghc-6.10.3/gcc option to accept ANSI C. yesĬhecking whether /cygdrive/c/ghc/ghc-6.10.3/gcc accepts -g. noĬhecking for suffix of executables.exeĬhecking whether we are using the GNU C compiler. yesĬhecking whether we are cross compiling. a.exeĬhecking whether the C compiler works. cygdrive/c/ghc/ghc-6.10.3/gccĬhecking for C compiler default output file name. Sh: runGenProcess: does not exist (No such file or directory)įair enough: installing curl requires a real shell, so let's try from inside Cygwin:Ĭhecking for gcc. I was unsuccessful installing curl from a cmd.exe prompt:Ĭabal: Error: some packages failed to install:Ĭurl-1.3.5 failed during the configure step. Using version 1.6.0.3 of the Cabal library On a Windows machine, I upgraded to ghc-6.10.3 and was in the process of building and installing libraries from hackageDB, Haskell's CPAN-hmm, or should that be Haskell's CTAN ?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |