[Yhc] Can't build

Samuel Bronson naesten at gmail.com
Wed Sep 23 10:05:55 EDT 2009


On Wed, Sep 23, 2009 at 7:59 AM, Seo Sanghyeon <sanxiyn at gmail.com> wrote:
> Hello,
>
> I can't build Yhc. I followed instructions here:
> http://www.haskell.org/haskellwiki/Yhc/Building
>
> darcs get finished fine. When I simply typed "scons" into a console
> window, I get:
>
> tinuviel at debian:~/haskell/yhc$ scons
> scons: Reading SConscript files ...
> IOError: [Errno 2] No such file or directory: '_darcs/inventory':
>  File "/home/tinuviel/haskell/yhc/Sconstruct", line 22:
>    setup_version(env, Configure, ARGUMENTS)
>  File "/home/tinuviel/haskell/yhc/build/configure.py", line 49:
>    env["ENV"]["VERSION"] = getVersion(vtype)
>  File "/home/tinuviel/haskell/yhc/build/version.py", line 8:
>    lines = filter(lambda x: x.find("**") != -1,
> open("_darcs/inventory", "r").readlines())
>
> And there is no _darcs/inventory file indeed. Any idea?

I'm guessing your darcs is rather new, and defaults to the --hashed
format when "darcs get"ing darcs1-semantics repositories, and that the
scons file is just not prepared to deal with this.


More information about the Yhc mailing list