[Haskell-cafe] Installling Leksah on ghc7.6.3 with haskell-platform 2013?

Carlo Hamalainen carlo at carlo-hamalainen.net
Sat Aug 10 04:10:15 CEST 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?).

✓ 12:01:44 carlo at x1 ~/tmp $ git clone --recursive 
https://github.com/leksah/leksah.git
Cloning into 'leksah'...
WARNING: gnome-keyring:: couldn't connect to: 
/home/carlo/.cache/keyring-yZXClI/pkcs11: No such file or directory
remote: Counting objects: 8930, done.
remote: Compressing objects: 100% (2431/2431), done.
remote: Total 8930 (delta 6145), reused 8824 (delta 6044)
Receiving objects: 100% (8930/8930), 17.53 MiB | 538 KiB/s, done.
Resolving deltas: 100% (6145/6145), done.
Submodule 'vendor/CodeMirror' (git at github.com:ghcjs/CodeMirror.git) 
registered for path 'vendor/CodeMirror'
Submodule 'vendor/ghcjs-dom' (git at github.com:ghcjs/ghcjs-dom.git) 
registered for path 'vendor/ghcjs-dom'
Submodule 'vendor/haskellVCSGUI' 
(git at github.com:leksah/haskellVCSGUI.git) registered for path 
'vendor/haskellVCSGUI'
Submodule 'vendor/haskellVCSWrapper' 
(git at github.com:leksah/haskellVCSWrapper.git) registered for path 
'vendor/haskellVCSWrapper'
Submodule 'vendor/jsc' (git at github.com:ghcjs/jsc.git) registered for 
path 'vendor/jsc'
Submodule 'vendor/leksah-server' 
(git at github.com:leksah/leksah-server.git) registered for path 
'vendor/leksah-server'
Submodule 'vendor/ltk' (git at github.com:leksah/ltk.git) registered for 
path 'vendor/ltk'
Submodule 'vendor/pretty-show' (git at github.com:leksah/pretty-show.git) 
registered for path 'vendor/pretty-show'
Submodule 'vendor/vado' (git at github.com:hamishmack/vado.git) registered 
for path 'vendor/vado'
Submodule 'vendor/webkit-javascriptcore' 
(git at github.com:ghcjs/webkit-javascriptcore.git) registered for path 
'vendor/webkit-javascriptcore'
Submodule 'vendor/yi' (git at github.com:leksah/yi.git) registered for path 
'vendor/yi'
Cloning into 'vendor/CodeMirror'...
X11 forwarding request failed on channel 0
remote: Counting objects: 14210, done.
remote: Compressing objects: 100% (6388/6388), done.
remote: Total 14210 (delta 8658), reused 13125 (delta 7792)
Receiving objects: 100% (14210/14210), 2.95 MiB | 543 KiB/s, done.
Resolving deltas: 100% (8658/8658), done.
Submodule path 'vendor/CodeMirror': checked out 
'107612c9e854c61ed3aa94bee29a136438085557'
Cloning into 'vendor/ghcjs-dom'...
X11 forwarding request failed on channel 0
remote: Counting objects: 813, done.
remote: Compressing objects: 100% (483/483), done.
remote: Total 813 (delta 578), reused 546 (delta 313)
Receiving objects: 100% (813/813), 363.52 KiB | 173 KiB/s, done.
Resolving deltas: 100% (578/578), done.
Submodule path 'vendor/ghcjs-dom': checked out 
'c347df82e86136851b9d132d1c71d18ecb3f9f2a'
Cloning into 'vendor/haskellVCSGUI'...
X11 forwarding request failed on channel 0
remote: Counting objects: 1239, done.
remote: Compressing objects: 100% (533/533), done.
remote: Total 1239 (delta 688), reused 1227 (delta 677)
Receiving objects: 100% (1239/1239), 13.05 MiB | 537 KiB/s, done.
Resolving deltas: 100% (688/688), done.
Submodule path 'vendor/haskellVCSGUI': checked out 
'5aaf804587c9e8b34dd669390666cdbcba564e4c'
Cloning into 'vendor/haskellVCSWrapper'...
X11 forwarding request failed on channel 0
remote: Counting objects: 1019, done.
remote: Compressing objects: 100% (432/432), done.
remote: Total 1019 (delta 569), reused 1008 (delta 558)
Receiving objects: 100% (1019/1019), 2.66 MiB | 525 KiB/s, done.
Resolving deltas: 100% (569/569), done.
Submodule path 'vendor/haskellVCSWrapper': checked out 
'00e0ed2f007a8ca68d1b8a4ebf66a86b572b9647'
Cloning into 'vendor/jsc'...
X11 forwarding request failed on channel 0
remote: Counting objects: 221, done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 221 (delta 95), reused 149 (delta 27)
Receiving objects: 100% (221/221), 48.26 KiB, done.
Resolving deltas: 100% (95/95), done.
Submodule path 'vendor/jsc': checked out 
'99047d74b7036a4bf9172af548b9c80498f7a3c9'
Cloning into 'vendor/leksah-server'...
X11 forwarding request failed on channel 0
remote: Counting objects: 950, done.
remote: Compressing objects: 100% (437/437), done.
remote: Total 950 (delta 509), reused 935 (delta 497)
Receiving objects: 100% (950/950), 245.92 KiB | 107 KiB/s, done.
Resolving deltas: 100% (509/509), done.
Submodule path 'vendor/leksah-server': checked out 
'8bba630271869f6873d06bd2de803ac473c7322f'
Cloning into 'vendor/ltk'...
X11 forwarding request failed on channel 0
remote: Counting objects: 424, done.
remote: Compressing objects: 100% (213/213), done.
remote: Total 424 (delta 214), reused 358 (delta 164)
Receiving objects: 100% (424/424), 103.03 KiB | 86 KiB/s, done.
Resolving deltas: 100% (214/214), done.
Submodule path 'vendor/ltk': checked out 
'2cd0a8c129b3e8f75017ec529393d112453fbce5'
Cloning into 'vendor/pretty-show'...
X11 forwarding request failed on channel 0
remote: Counting objects: 147, done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 147 (delta 67), reused 143 (delta 63)
Receiving objects: 100% (147/147), 57.07 KiB | 19 KiB/s, done.
Resolving deltas: 100% (67/67), done.
Submodule path 'vendor/pretty-show': checked out 
'149ee6d8eb67cc0b64e48557112c9b60c0148b0b'
Cloning into 'vendor/vado'...
X11 forwarding request failed on channel 0
remote: Counting objects: 93, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 93 (delta 31), reused 87 (delta 25)
Receiving objects: 100% (93/93), 15.66 KiB, done.
Resolving deltas: 100% (31/31), done.
Submodule path 'vendor/vado': checked out 
'aa8cdb3a7816a70be9db72af7ce417db2d20ad72'
Cloning into 'vendor/webkit-javascriptcore'...
X11 forwarding request failed on channel 0
remote: Counting objects: 182, done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 182 (delta 64), reused 159 (delta 41)
Receiving objects: 100% (182/182), 35.19 KiB, done.
Resolving deltas: 100% (64/64), done.
Submodule path 'vendor/webkit-javascriptcore': checked out 
'214aafa392b2b7b19ad15bb8847c75afec4576e1'
Cloning into 'vendor/yi'...
X11 forwarding request failed on channel 0
remote: Counting objects: 29194, done.
remote: Compressing objects: 100% (8596/8596), done.
remote: Total 29194 (delta 20373), reused 28889 (delta 20130)
Receiving objects: 100% (29194/29194), 30.64 MiB | 539 KiB/s, done.
Resolving deltas: 100% (20373/20373), done.
X11 forwarding request failed on channel 0
fatal: reference is not a tree: 8d05f0913cca3fdcf424e818220b0370591b0b29
Unable to checkout '8d05f0913cca3fdcf424e818220b0370591b0b29' in 
submodule path 'vendor/yi'


So maybe something needs to be pushed/committed from a submodule?

Thanks,

-- Carlo







More information about the Haskell-Cafe mailing list