compiler install failure

11 views
Skip to first unread message

ivan

unread,
Dec 15, 2009, 5:23:56 AM12/15/09
to fla...@googlegroups.com
Hi,

I'm trying to install the compiler, so I downloaded the source, cd compiler,
cabal install, but am stuck with:

Configuring Flapjax-2.0.1...
Preprocessing executables for Flapjax-2.0.1...
Building Flapjax-2.0.1...

src/Flapjax/Compiler.hs:22:17:
Could not find module `BrownPLT.Html.Syntax':
it is a member of the hidden package `WebBits-Html-1.0'
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
Flapjax-2.0.1 failed during the building phase. The exception was:
exit: ExitFailure 1

Anyone knows how to solve this? My ghc is 6.10.4, system amd64 linux.

Thanks in advance
ivan

Xingzhi Pan

unread,
Dec 15, 2009, 8:43:30 AM12/15/09
to fla...@googlegroups.com
I tried to build the compiler a while ago and failed with some (maybe
different) errors, too. Seems it's a bit dated. I then turned to the
using-flapjax-as-a-js-library approach...

Cheers,
Xingzhi Pan
> --
> Flapjax home page: www.flapjax-lang.org
> Flapjax list: groups.google.com/group/flapjax
> Post: fla...@googlegroups.com
> Unsubscribe: flapjax-u...@googlegroups.com

Arjun Guha

unread,
Dec 15, 2009, 8:53:08 AM12/15/09
to fla...@googlegroups.com
>> I'm trying to install the compiler, so I downloaded the source, cd compiler,
>> cabal install, but am stuck with:

This is a software versioning issue. I think you downloaded the
version tagged as Flapjax-2.0.1.

It looks like I hadn't created a new tag on Github for our November
update. Try this bundle (it's the current source):

http://github.com/arjunguha/flapjax/tarball/Flapjax-2.1

Arjun

ivan

unread,
Dec 15, 2009, 9:00:28 AM12/15/09
to fla...@googlegroups.com
Thanks, this time it outputs:

cabal: cannot configure Flapjax-2.5. It requires JsContracts ==0.5.3
There is no available version of JsContracts that satisfies ==0.5.3

While only 0.5.1 seems to be available.

ivan

Arjun Guha

unread,
Dec 15, 2009, 9:04:30 AM12/15/09
to fla...@googlegroups.com
Ack, fixed.

If you cabal update (I think) it will download a new package list,
which should include version 0.5.3.

Arjun
Reply all
Reply to author
Forward
0 new messages