i am installing haskell code is as follow
git clone git://github.com/ghc/ghc.git && cd ghc && ./sync-all get
cd ghc && ./sync-all get cd ghc && ./boot && ./configure && make && make install
when i try with ./sync-all get i get following error:
Cloning into 'ghc'...
/bin/sh: 1: ./sync-all: not found
when i try without ./sync-all in code i get following error
It seems you cloned this repository from GitHub. But your git config files
don't contain the url rewrites that are needed to make this work (GitHub
doesn't support '/' in repository names, so we use a different naming scheme
for the submodule repositories there).
Please run the following commands first:
git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
git config --global url."http://github.com/ghc/packages-".insteadOf http://github.com/ghc/packages/
git config --global url."https://github.com/ghc/packages-".insteadOf https://github.com/ghc/packages/
git config --global url."ssh://[email protected]/ghc/packages-".insteadOf ssh://[email protected]/ghc/packages/
git config --global url."[email protected]:/ghc/packages-".insteadOf [email protected]:/ghc/packages/
And then:
git submodule update --init
./boot
Or start over, and clone the GHC repository from the haskell server:
git clone --recursive git://git.haskell.org/ghc.git
For more information, see:
* https://ghc.haskell.org/trac/ghc/wiki/Newcomers or
* https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#CloningfromGitHub
please provide me the solution
apt-cache policy ghc-7.10.3