Up-to-date install install script, if anyone wants to post it on the site

27 views
Skip to first unread message

justin...@gmail.com

unread,
Feb 11, 2008, 6:02:12 PM2/11/08
to HAppS
#!/usr/bin/env bash
# I'm going to try to do this in a somewhat scripted format.

sudo echo "You've entered your password, this will go faster now"

echo "Go eat something, this takes a while"

#grab latest GHC
curl http://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2 >
ghc-6.8.2-src.tar.bz2
curl http://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src-extralibs.tar.bz2
> ghc-6.8.2-src-extralibs.tar.bz2

# Unzip & build GHC
tar xvfj ghc-6.8.2-src.tar.bz2 && tar xvfj ghc-6.8.2-src-
extralibs.tar.bz2 && cd ghc-6.8.2 && ./configure && make && sudo make
install && cd ..

# install cabal-install
curl http://hackage.haskell.org/packages/archive/cabal-install/0.4.0/cabal-install-0.4.0.tar.gz
> cabal-install-0.4.0.tar.gz
tar xvfz cabal-install-0.4.0.tar.gz && cd cabal-install-0.4.0 &&
runghc Setup.lhs configure && runghc Setup.lhs build && sudo runghc
Setup.lhs install && cd ..

# install some libraries
cabal install HaXml-1.13.3 hslogger HTTP

#grab all of HAppS...
darcs get http://happs.org/repos/HAppS-State/
darcs get http://happs.org/repos/HAppS-IxSet/
darcs get http://happs.org/repos/HAppS-HTTP/
darcs get http://happs.org/repos/HAppS-Plugins/
darcs get http://happs.org/repos/HAppS-Util/
darcs get http://happs.org/repos/HAppS-Data/
darcs get http://happs.org/repos/syb-with-class/

#Install them in the order that I had to do it.

cd syb-with-class && runghc Setup.hs configure && runghc Setup.hs
build && sudo runghc Setup.hs install && cd ..

cd HAppS-Util && runghc Setup.hs configure && runghc Setup.hs build &&
sudo runghc Setup.hs install && cd ..

cd HAppS-Data && runghc Setup.hs configure && runghc Setup.hs build &&
sudo runghc Setup.hs install && cd ..

cd HAppS-State && runghc Setup.hs configure && runghc Setup.hs build
&& sudo runghc Setup.hs install && cd ..

cd HAppS-IxSet && runghc Setup.hs configure && runghc Setup.hs build
&& sudo runghc Setup.hs install && cd ..

cd HAppS-Plugins && runghc Setup.hs configure && runghc Setup.hs build
&& sudo runghc Setup.hs install && cd ..

cd HAppS-HTTP && runghc Setup.hs configure && runghc Setup.hs build &&
sudo runghc Setup.hs install && cd ..

echo "All done (hopefully)!"

gavino

unread,
Feb 11, 2008, 6:51:10 PM2/11/08
to HAppS
configure: error: GHC is required unless bootstrapping from .hc files.


./install_happs.bash: line 18: runghc: command not found
./install_happs.bash: line 21: cabal: command not found
./install_happs.bash: line 24: darcs: command not found
./install_happs.bash: line 25: darcs: command not found
./install_happs.bash: line 26: darcs: command not found
./install_happs.bash: line 27: darcs: command not found
./install_happs.bash: line 28: darcs: command not found
./install_happs.bash: line 29: darcs: command not found
./install_happs.bash: line 30: darcs: command not found
./install_happs.bash: line 34: cd: syb-with-class: No such file or
direct ory
./install_happs.bash: line 36: cd: HAppS-Util: No such file or
directory
./install_happs.bash: line 38: cd: HAppS-Data: No such file or
directory
./install_happs.bash: line 40: cd: HAppS-State: No such file or
directory
./install_happs.bash: line 42: cd: HAppS-IxSet: No such file or
directory
./install_happs.bash: line 44: cd: HAppS-Plugins: No such file or
directo ry
./install_happs.bash: line 46: cd: HAppS-HTTP: No such file or
directory


On Feb 11, 3:02 pm, "justin.geo...@gmail.com"
<justin.geo...@gmail.com> wrote:
> #!/usr/bin/env bash
> # I'm going to try to do this in a somewhat scripted format.
>
> sudo echo "You've entered your password, this will go faster now"
>
> echo "Go eat something, this takes a while"
>
> #grab latest GHC
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2>
> ghc-6.8.2-src.tar.bz2
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src-extralibs.tar.bz2
>
> > ghc-6.8.2-src-extralibs.tar.bz2
>
> # Unzip & build GHC
> tar xvfj ghc-6.8.2-src.tar.bz2 && tar xvfj ghc-6.8.2-src-
> extralibs.tar.bz2 && cd ghc-6.8.2 && ./configure && make && sudo make
> install && cd ..
>
> # install cabal-install
> curlhttp://hackage.haskell.org/packages/archive/cabal-install/0.4.0/cabal...> cabal-install-0.4.0.tar.gz
>
> tar xvfz cabal-install-0.4.0.tar.gz && cd cabal-install-0.4.0 &&
> runghc Setup.lhs configure && runghc Setup.lhs build && sudo runghc
> Setup.lhs install && cd ..
>
> # install some libraries
> cabal install HaXml-1.13.3 hslogger HTTP
>
> #grab all of HAppS...
> darcs gethttp://happs.org/repos/HAppS-State/
> darcs gethttp://happs.org/repos/HAppS-IxSet/
> darcs gethttp://happs.org/repos/HAppS-HTTP/
> darcs gethttp://happs.org/repos/HAppS-Plugins/
> darcs gethttp://happs.org/repos/HAppS-Util/
> darcs gethttp://happs.org/repos/HAppS-Data/
> darcs gethttp://happs.org/repos/syb-with-class/

gavino

unread,
Feb 11, 2008, 6:58:46 PM2/11/08
to HAppS
ok after using archlinux to sintall ghc and darcs its compiling loads
of stuff...

gavino

unread,
Feb 11, 2008, 7:54:07 PM2/11/08
to HAppS
30min of action, then:

Writing new package config file... done.
Configuring HAppS-Util-0.9.1...
Setup.hs: At least the following dependencies are missing:
hslogger >=1.0.2
./install_happs.bash: line 38: cd: HAppS-Data: No such file or
directory
./install_happs.bash: line 40: cd: HAppS-State: No such file or
directory
./install_happs.bash: line 42: cd: HAppS-IxSet: No such file or
directory
./install_happs.bash: line 44: cd: HAppS-Plugins: No such file or
directory
./install_happs.bash: line 46: cd: HAppS-HTTP: No such file or
directory

Julia Hughes

unread,
Mar 28, 2008, 7:43:25 AM3/28/08
to HAppS
http://wikipedlla.com/up_to_date_install_install_script_if_anyone_wants_to_post_it_on_the_site
> #!/usr/bin/env bash
> # I'm going to try to do this in a somewhat scripted format.
> sudo echo &quot;You've entered your password, this will go faster now&quot;
> echo &quot;Go eat something, this takes a while&quot;
> #grab latest GHC
> curl http://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2 &gt;
> ghc-6.8.2-src.tar.bz2
> curl http://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src-extralibs.tar.bz2
> &gt; ghc-6.8.2-src-extralibs.tar.bz2
> >

parnell

unread,
Apr 4, 2008, 3:45:20 PM4/4/08
to HAppS
I am unable to build HAppS-Plugins with ghc 6.8.2.

I get the error:
"Could not find module 'Data.Map' :
it is amember of package containers-0.1.0.1, which is hidden"

What do I need to install to make this visible?

All other packages installed correctly.

On Feb 11, 5:02 pm, "justin.geo...@gmail.com"
<justin.geo...@gmail.com> wrote:
> #!/usr/bin/env bash
> # I'm going to try to do this in a somewhat scripted format.
>
> sudo echo "You've entered your password, this will go faster now"
>
> echo "Go eat something, this takes a while"
>
> #grab latest GHC
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2>
> ghc-6.8.2-src.tar.bz2
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src-extralibs.tar.bz2
>
> > ghc-6.8.2-src-extralibs.tar.bz2
>
> # Unzip & build GHC
> tar xvfj ghc-6.8.2-src.tar.bz2 && tar xvfj ghc-6.8.2-src-
> extralibs.tar.bz2 && cd ghc-6.8.2 && ./configure && make && sudo make
> install && cd ..
>
> # install cabal-install
> curlhttp://hackage.haskell.org/packages/archive/cabal-install/0.4.0/cabal...> cabal-install-0.4.0.tar.gz
>
> tar xvfz cabal-install-0.4.0.tar.gz && cd cabal-install-0.4.0 &&
> runghc Setup.lhs configure && runghc Setup.lhs build && sudo runghc
> Setup.lhs install && cd ..
>
> # install some libraries
> cabal install HaXml-1.13.3 hslogger HTTP
>
> #grab all of HAppS...
> darcs gethttp://happs.org/repos/HAppS-State/
> darcs gethttp://happs.org/repos/HAppS-IxSet/
> darcs gethttp://happs.org/repos/HAppS-HTTP/
> darcs gethttp://happs.org/repos/HAppS-Plugins/
> darcs gethttp://happs.org/repos/HAppS-Util/
> darcs gethttp://happs.org/repos/HAppS-Data/
> darcs gethttp://happs.org/repos/syb-with-class/

parnell

unread,
Apr 4, 2008, 3:49:52 PM4/4/08
to HAppS
I should add that I have installed containers-0.1.0.1 from Cabal.

I am unable to build HAppS-Plugins with ghc 6.8.2.

I get the error:
"Could not find module 'Data.Map' :
it is amember of package containers-0.1.0.1, which is hidden"

What do I need to install to make this visible?

On Feb 11, 5:02 pm, "justin.geo...@gmail.com"
<justin.geo...@gmail.com> wrote:
> #!/usr/bin/env bash
> # I'm going to try to do this in a somewhat scripted format.
>
> sudo echo "You've entered your password, this will go faster now"
>
> echo "Go eat something, this takes a while"
>
> #grab latest GHC
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src.tar.bz2>
> ghc-6.8.2-src.tar.bz2
> curlhttp://www.haskell.org/ghc/dist/6.8.2/ghc-6.8.2-src-extralibs.tar.bz2
>
> > ghc-6.8.2-src-extralibs.tar.bz2
>
> # Unzip & build GHC
> tar xvfj ghc-6.8.2-src.tar.bz2 && tar xvfj ghc-6.8.2-src-
> extralibs.tar.bz2 && cd ghc-6.8.2 && ./configure && make && sudo make
> install && cd ..
>
> # install cabal-install
> curlhttp://hackage.haskell.org/packages/archive/cabal-install/0.4.0/cabal...> cabal-install-0.4.0.tar.gz
>
> tar xvfz cabal-install-0.4.0.tar.gz && cd cabal-install-0.4.0 &&
> runghc Setup.lhs configure && runghc Setup.lhs build && sudo runghc
> Setup.lhs install && cd ..
>
> # install some libraries
> cabal install HaXml-1.13.3 hslogger HTTP
>
> #grab all of HAppS...
> darcs gethttp://happs.org/repos/HAppS-State/
> darcs gethttp://happs.org/repos/HAppS-IxSet/
> darcs gethttp://happs.org/repos/HAppS-HTTP/
> darcs gethttp://happs.org/repos/HAppS-Plugins/
> darcs gethttp://happs.org/repos/HAppS-Util/
> darcs gethttp://happs.org/repos/HAppS-Data/
> darcs gethttp://happs.org/repos/syb-with-class/

Bjorn Buckwalter

unread,
Apr 5, 2008, 9:53:44 AM4/5/08
to HA...@googlegroups.com
You probably have to add "containers" to the "Build-Depends:" field in
order to make Cabal "expose" it when building.

If that fixes your problem perhaps you should submit a patch.

-Bjorn

Bjorn Buckwalter

unread,
Apr 5, 2008, 9:55:10 AM4/5/08
to HA...@googlegroups.com
> You probably have to add "containers" to the "Build-Depends:" field in
> order to make Cabal "expose" it when building.

To clarify: in the .cabal file.

Lemmih

unread,
Apr 5, 2008, 9:58:20 AM4/5/08
to HA...@googlegroups.com
On Fri, Apr 4, 2008 at 9:45 PM, parnell <parnel...@ronin-capital.com> wrote:
>
> I am unable to build HAppS-Plugins with ghc 6.8.2.

HAppS-Plugins contains nothing useful at this moment.

--
Cheers,
Lemmih

Reply all
Reply to author
Forward
0 new messages