Carlo Hamalainen | 20 Jun 03:41 2013
Picon

Installling Leksah on ghc7.6.3 with haskell-platform 2013?

Hi,

I'm trying to install Leksah from hackage on my Debian testing laptop, 
which has ghc 7.6.3 and the Haskell Platform 2013. I fixed a bunch of 
errors about "catch" not being exported from the Prelude, but now I'm 
stuck on these two errors in leksah-server-0.8.0.5:

[10 of 13] Compiling IDE.Utils.GHCUtils ( src/IDE/Utils/GHCUtils.hs, 
dist/build/IDE/Utils/GHCUtils.o )

src/IDE/Utils/GHCUtils.hs:94:40-62:
     Not in scope: data constructor `Opt_ReadUserPackageConf'

src/IDE/Utils/GHCUtils.hs:161:44-50:
     Not in scope: data constructor `Opt_Cpp'
     Perhaps you meant one of these:
       `Opt_CSE' (imported from GHC), `Opt_Pp' (imported from GHC)

Where have Opt_ReadUserPackageConf and Opt_Cpp gone in ghc 7.6.3?

Cheers,

-- Carlo
Hamish Mackenzie | 9 Aug 08:35 2013
Picon

Re: Installling Leksah on ghc7.6.3 with haskell-platform 2013?

You will need Leksah 0.13 for GHC 7.6.3 and it is not in Hackage yet.

It is almost ready though.  If run

git clone https://github.com/leksah/leksah.git
cd leksah
cabal install cabal-meta cabal-src
cabal-meta install

It would be interesting to know if it works for you.

On 20 Jun 2013, at 13:41, Carlo Hamalainen <carlo <at> carlo-hamalainen.net> wrote:

> Hi,
> 
> I'm trying to install Leksah from hackage on my Debian testing laptop, which has ghc 7.6.3 and the Haskell
Platform 2013. I fixed a bunch of errors about "catch" not being exported from the Prelude, but now I'm
stuck on these two errors in leksah-server-0.8.0.5:
> 
> [10 of 13] Compiling IDE.Utils.GHCUtils ( src/IDE/Utils/GHCUtils.hs,
dist/build/IDE/Utils/GHCUtils.o )
> 
> src/IDE/Utils/GHCUtils.hs:94:40-62:
>    Not in scope: data constructor `Opt_ReadUserPackageConf'
> 
> src/IDE/Utils/GHCUtils.hs:161:44-50:
>    Not in scope: data constructor `Opt_Cpp'
>    Perhaps you meant one of these:
>      `Opt_CSE' (imported from GHC), `Opt_Pp' (imported from GHC)
> 
(Continue reading)

Carlo Hamalainen | 10 Aug 04:10 2013
Picon

Re: Installling Leksah on ghc7.6.3 with haskell-platform 2013?

On 09/08/13 16:35, Hamish Mackenzie wrote:
> You will need Leksah 0.13 for GHC 7.6.3 and it is not in Hackage yet.
>
> It is almost ready though.  If run
>
> git clone https://github.com/leksah/leksah.git
> cd leksah
> cabal install cabal-meta cabal-src
> cabal-meta install
>
> It would be interesting to know if it works for you.

On an up to date Debian Wheezy system with ghc 7.6.3, haskell platform 
2013, git 1.7.10.4:

✓ 11:51:58 carlo <at> x1 (master) ~/tmp/leksah $ cabal-meta install
git fetch origin
git checkout master
Already on 'master'
git submodule foreach git pull origin master
You need to run this command from the toplevel of the working tree.
cabal-meta:
log of commands saved to: /home/carlo/tmp/leksah/.shelly/1.txt
Exception: error running: git submodule foreach git pull origin master
exit status: 1
stderr: You need to run this command from the toplevel of the working tree.

So instead I tried the initial git clone with --recursive, but there are 
some fatal errors (references that are not in the tree?).

(Continue reading)

Hamish Mackenzie | 10 Aug 19:38 2013
Picon

Re: Installling Leksah on ghc7.6.3 with haskell-platform 2013?


On 10 Aug 2013, at 14:10, Carlo Hamalainen <carlo <at> carlo-hamalainen.net> wrote:

> Unable to checkout '8d05f0913cca3fdcf424e818220b0370591b0b29' in submodule path 'vendor/yi'
> 
> 
> So maybe something needs to be pushed/committed from a submodule?

Oops yes I added that to do some experimenting with Yi and Gtk3.  I have pushed
the latest version and updated the submodule ref.

Hamish

Gmane