Neil Mitchell | 21 Oct 2009 22:05
Picon
Gravatar

Re: Can't build Yhc on Mac

Hi

I haven't build Yhc in ages (about a year), so the following is purely
from memory. From what I can remember Yhc used to depend on Tree234,
but then we moved to Data.Map. I wouldn't expect Tree234 to still be
needed/referenced at all. Is this using the latest darcs snapshot?

The Yhc libraries are unlikely to build anymore, but if you just want
the Yhc binary then that should still work. I used to regularly
compile Yhc with hugs (simply load up Main.hs with some include
directories), so compiling Yhc should be trivial.

Sorry I can't help any further - I think Yhc is now unmaintained, sadly.

Also sorry for the delay in replying, I was on honeymoon for 3 weeks!

Thanks

Neil

2009/9/30 Andrew Oakley <andrew <at> ado.is-a-geek.net>:
> On Thu, 24 Sep 2009 14:25:41 +0400
> Sergey Martynov <martynovs <at> gmail.com> wrote:
>> Getting dependencies for src/compiler/AssocTree.hs.
>> An error ocurred running `ghc -M -optdep-f
>> -optdepsrc/compiler/.AssocTree.hs.dep
>> -i./src/compiler:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/uniplate:./src/interactive
>> src/compiler/AssocTree.hs`:
> Have you tried simply running the given command so you can see any
> errors?  Perhaps they will help.
(Continue reading)

Neil Mitchell | 21 Oct 2009 22:05
Picon
Gravatar

Re: Can't build

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 <naesten <at> gmail.com>:
> 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())
>>
(Continue reading)

Jared Updike | 21 Oct 2009 22:46
Picon
Gravatar

Re: Can't build Yhc on Mac

> Sorry I can't help any further - I think Yhc is now unmaintained, sadly.

That's too bad, I thought they were just picking up momentum and
making cool things happen.

> Also sorry for the delay in replying, I was on honeymoon for 3 weeks!

Congrats.

  Jared.

> 2009/9/30 Andrew Oakley <andrew <at> ado.is-a-geek.net>:
>> On Thu, 24 Sep 2009 14:25:41 +0400
>> Sergey Martynov <martynovs <at> gmail.com> wrote:
>>> Getting dependencies for src/compiler/AssocTree.hs.
>>> An error ocurred running `ghc -M -optdep-f
>>> -optdepsrc/compiler/.AssocTree.hs.dep
>>> -i./src/compiler:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:depends/uniplate:./src/interactive
>>> src/compiler/AssocTree.hs`:
>> Have you tried simply running the given command so you can see any
>> errors?  Perhaps they will help.
>>
>>> "ghc" -i./src/compiler -i./src/libraries/general
>>> -i./src/libraries/core -idepends/cpphs -idepends/filepath
>>> -idepends/uniplate -i./src/interactive -package mtl -package
>>> containers -package pretty -package packedstring -c
>>> src/compiler/AssocTree.hs -o src/compiler/AssocTree.o
>>>
>>> src/compiler/AssocTree.hs:17:0:
>>>     Failed to load interface for `Tree234':
(Continue reading)

Neil Mitchell | 22 Oct 2009 10:46
Picon
Gravatar

Re: Trouble building yhc on Mac OS X Leopard / x86

Hi Jared,

I'm afraid to say that installing Yhc on a Mac was always problematic
due to GMP - and we never had any particular idea why, or any Mac to
test it on. No one is really working on Yhc now, so it's unlikely
anyone will be able to help, sadly.

Thanks, Neil

2009/2/22 Jared Updike <jupdike <at> gmail.com>:
> I did
>
> scons
>
> It crashed about some .h x86/ffi/darwin. So I did
>
> scons fullclean
> scons depends
>
> and it got much further (I presume...) but now it says
>
> libgmp must be install and gmp.h made accessible before you can compile Yhc
>
> which is odd since I installed them with MacPorts, in /opt/local/lib
> and /opt/local/include; they are there, and Sconstruct has those paths
> in the lines:
>
> env.Append(CPPPATH=["/usr/local/include", "/opt/local/include",
> "/Library/Frameworks/GMP.Framework/Headers"])
>        env.Append(LIBPATH=["/usr/local/lib", "/opt/local/lib",
(Continue reading)


Gmane