Hi, I'm having some trouble building pugs. GHC 6.10.1 installed OK, as did cabal-install and all its dependencies, but cabal install pugs dies, at trying to build haskeline-0.6.1.2. apparently "IConv.hsc" is including "h_iconv.h" which has an error. AFter the build I try "find / -name IConv.hsc" but that's not anywhere to be found.
How can I get cabal to leave the build files around, so I can figure out more about what is failing and how to fix? Or, any other ideas? Some output from the build process below. pinky ~/pugs $ cabal update Downloading package list from server 'http://hackage.haskell.org/packages/archive' pinky ~/pugs $ cabal install Pugs Resolving dependencies... 'haskeline-0.6.1.2' is cached. Configuring haskeline-0.6.1.2... Preprocessing library haskeline-0.6.1.2... In file included from IConv.hsc:24: includes/h_iconv.h:1:19: iconv.h: No such file or directory In file included from IConv.hsc:24: includes/h_iconv.h:3: error: syntax error before "h_iconv_open" includes/h_iconv.h:3: warning: data definition has no type or storage class includes/h_iconv.h:5: error: syntax error before "cd" includes/h_iconv.h:7: error: syntax error before "cd" compiling dist/build/System/Console/Haskeline/Backend/IConv_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -Iincludes -DTERMINFO -I/usr/local/lib/ghc-6.10.1/directory-1.0.0.2/include -I/usr/local/lib/ghc-6.10.1/unix-2.3.1.0/include -I/usr/local/lib/ghc-6.10.1/old-time-1.0.0.1/include -I/usr/local/lib/ghc-6.10.1/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include -I/usr/local/lib/ghc-6.10.1/include -IPAPI_INCLUDE_DIR dist/build/System/Console/Haskeline/Backend/IConv_hsc_make.c -o dist/build/System/Console/Haskeline/Backend/IConv_hsc_make.o cabal: Error: some packages failed to install: Pugs-6.2.13.14 depends on haskeline-0.6.1.2 which failed to install. haskeline-0.6.1.2 failed during the building phase. The exception was: exit: ExitFailure 1 pinky ~/pugs $ find / -name IConv.hsc (not found) thanks!