Hi,

I've just cleared out my haskell stuff and tried to compile yi from 
scratch again [1].  Following the instructions in the README doesn't 
give me an executable yi.  Is the current darcs version of yi 
bootstrappable?

Here's the steps I followed:

$ darcs get http://code.haskell.org/yi
$ cd yi
$ cp examples/yi.hs HackerMain.hs

$ runhaskell Setup.hs configure --user -f hacking
Configuring yi-0.4...
Warning: This package indirectly depends on multiple versions of the 
same package. This is highly likely to cause a compile failure.
package ghc-6.8.2 requires Cabal-1.2.3.0
package yi-0.4 requires Cabal-1.5.2

$ runhaskell Setup.hs build
Preprocessing library yi-0.4...
Preprocessing executables for yi-0.4...
Building yi-0.4...
[1 of 1] Compiling Yi.Accessor      ( Yi/Accessor.hs, 
dist/build/Yi/Accessor.o )
/usr/bin/ar: creating dist/build/libHSyi-0.4.a

$ ./dist/build/yi/yi
bash: ./dist/build/yi/yi: No such file or directory

$ find dist -ls
4377403    4 drwxr-xr-x   3 adb      adb          4096 Jun  7 21:08 dist
1018319   76 -rw-r--r--   1 adb      adb         71061 Jun  7 21:08 
dist/setup-config
4377404    4 drwxr-xr-x   4 adb      adb          4096 Jun  7 21:08 
dist/build
4377424    4 drwxr-xr-x   2 adb      adb          4096 Jun  7 21:08 
dist/build/autogen
1825684    4 -rw-------   1 adb      adb           921 Jun  7 21:08 
dist/build/autogen/Paths_yi.hs
4377425    4 drwxr-xr-x   2 adb      adb          4096 Jun  7 21:08 
dist/build/Yi
1377002    8 -rw-r--r--   1 adb      adb          6361 Jun  7 21:08 
dist/build/Yi/Accessor.hi
1377003   12 -rw-r--r--   1 adb      adb         12120 Jun  7 21:08 
dist/build/Yi/Accessor.o
1493021   16 -rw-r--r--   1 adb      adb         13684 Jun  7 21:08 
dist/build/libHSyi-0.4.a
1035790   12 -rw-r--r--   1 adb      adb         10415 Jun  7 21:08 
dist/build/HSyi-0.4.o
1018320    4 -rw-r--r--   1 adb      adb          1249 Jun  7 21:08 
dist/installed-pkg-config


Andrew

[1] Ie. compiling ghc, darcs cabal, fingertree, utf8-string etc from 
scratch..

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

Reply via email to