
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@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? -- Seo Sanghyeon

On Wed, Sep 23, 2009 at 7:59 AM, Seo Sanghyeon
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@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.

Hi,
Can you not just create your darcs repo with
--old-fashioned-inventory, that should restore the old behaviour.
As I said in the other Yhc mail, I'm afraid Yhc is now unmaintained :-(
Thanks, Neil
2009/9/23 Samuel Bronson
On Wed, Sep 23, 2009 at 7:59 AM, Seo Sanghyeon
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@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. _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
participants (3)
-
Neil Mitchell
-
Samuel Bronson
-
Seo Sanghyeon