We should really remove the hacking flag. This was to speedup
development builds,
but it should not be needed with new cabal, where the executables can use the
library instead of recompiling every module another time.

Cheers,
JP.

On Thu, May 12, 2011 at 2:35 PM, Andrew Myers <[email protected]> wrote:
> Hi everyone,
> I've been looking around the Yi source a lot more and finally have a
> toolchain that works, I use Archlinux so I was affected by this[1] bug
> in ghc.  I've found though that I can't build Yi with the -fhacking
> flag on either my Arch desktop or the Snow Leopard Mac that I have at
> work.
>
> I configure with 'cabal configure -fhacking' and the run 'cabal build -
> v' and on both platforms I get the following
>
> amyers% cabal build -v
> Creating dist/build (and its parents)
> Creating dist/build/autogen (and its parents)
> Preprocessing executables for yi-0.6.3.0...
> Building yi-0.6.3.0...
> Building executable yi...
> Creating dist/build/yi (and its parents)
> Creating dist/build/yi/yi-tmp (and its parents)
> /usr/bin/ghc --make -o dist/build/yi/yi -hide-all-packages -fbuilding-
> cabal-package -package-conf dist/package.conf.inplace -i -idist/build/
> yi/yi-tmp -isrc/executable -idist/build/autogen -Idist/build/autogen -
> Idist/build/yi/yi-tmp -optP-include -optPdist/build/autogen/
> cabal_macros.h -odir dist/build/yi/yi-tmp -hidir dist/build/yi/yi-tmp -
> stubdir dist/build/yi/yi-tmp -package-id base-4.3.1.0-
> f5c465200a37a65ca26c5c6c600f6c76 -package-id yi-0.6.3.0-inplace -O -
> threaded -XHaskell2010 src/executable/HackerMain.hs
> <command line>: cannot satisfy -package-id yi-0.6.3.0-inplace
>    (use -v for more information)
>
> Has anyone seen this?  I've got ghc-7.0.2 and the latest haskell
> platform on both systems.
> Thanks,
> Andrew
>
> [1] http://hackage.haskell.org/trac/ghc/ticket/5004
>
> --
> Yi development mailing list
> [email protected]
> http://groups.google.com/group/yi-devel

-- 
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel

Reply via email to