[C2hs] ANN: C->Haskell version 0.14.3 "Travelling Lightly"

Manuel M T Chakravarty chak at cse.unsw.edu.au
Wed Aug 10 22:32:03 EDT 2005

> Manuel M T Chakravarty (chak at cse.unsw.edu.au) wrote:
> Hi Manuel!
> > Happy Hacking,
> Attempt to build c2hs on amd64 gives:
> gour at gaura-nitai ~/tmp/c2hs-0.14.3 $ ./Setup.hs configure
> Configuring c2hs-0.14.3...
> configure: Using install prefix: /usr/local
> configure: Using compiler: /usr/bin/ghc
> configure: Compiler flavor: GHC
> configure: Compiler version:
> configure: Using package tool: /usr/bin/ghc-pkg
> configure: Using haddock: /usr/bin/haddock
> configure: Using happy: /usr/bin/happy
> configure: Using alex: /usr/bin/alex
> configure: Using hsc2hs: /usr/bin/hsc2hs
> configure: Using c2hs: /usr/bin/c2hs
> configure: No cpphs found
> configure: No greencard found
> gour at gaura-nitai ~/tmp/c2hs-0.14.3 $ ./Setup.hs build
> Preprocessing executables for c2hs-0.14.3...
> Setup.hs: can't find source for C2HSConfig in ["base/admin","base/errors","base/general","base/graphs","base/state","base/syms","base/syntax","c2hs/c","c2hs/chs","c2hs/gen","c2hs/state","c2hs/toplevel"]

It appears as if you got the sources via Dracs and forgot to run
"autoconf" (which means that there woulnd't be a "configure") script in
the toplevel directory.  (See also the INSTALL file.)


More information about the C2hs mailing list