<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt">Sure,<br>here are the steps:<br><pre>Install a 'bloody' OmniOS from DVD.
Update system with pkg refresh and image-update
Install developer packages
pfexec pkg install \
  developer/gcc47 \
  developer/object-file \
  developer/linker \
  developer/library/lint \
  developer/build/gnu-make \
  system/header \
  system/library/math/header-math \
  archiver/gnu-tar
update path to include /opt/gcc-4.7.2
download binary distribution of ghc-7.0.3 and install in /opt/ghc-7.0.3:<br><br>#> wget http://www.haskell.org/ghc/dist/7.0.3/maeder/ghc-7.0.3-i386-unknown-solaris2.tar.bz2
#> gtar jxvpf ghc-7.0.3-i386-unknown-solaris2.tar.bz2
#> mkdir /opt/ghc-7.0.3
#> cd ghc-7.0.3
#> ./configure --prefix=/opt/ghc-7.0.3
#> make install<br><br>update path and ld_library_path
download source distribution of ghc-7.4.2 and install in /opt/ghc-7.4.2:<br><br>#> wget http://www.haskell.org/ghc/dist/7.4.2/ghc-7.4.2-src.tar.bz2
#> gtar jxvpf ghc-7.4.2-src.tar.bz2
#> mkdir /opt/ghc-7.4.2
#> cd ghc-7.4.2
#> ./configure --prefix=/opt/ghc-7.4.2
#> make install<br><br>update path and ld_library_path
download cabal-install and execute bootstrap.sh:<br><br>#> wget http://www.haskell.org/cabal/release/cabal-install-0.14.0/cabal-install-0.14.0.tar.gz
#> gtar zxvpf cabal-install-0.14.0.tar.gz 
#> cd cabal-install-0.14.0
#> chmod u+x bootstrap.sh
#> ./bootstrap.sh --global<br><br>update path and ld_library_path
<br>#> cabal install --global cabal-install => Fail</pre><br><div><span><br></span></div><div><br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">De :</span></b> Paul B. Henson <henson@acm.org><br> <b><span style="font-weight: bold;">À :</span></b> Matthieu Paindavoine <ctordtor@yahoo.fr> <br><b><span style="font-weight: bold;">Cc :</span></b> "omnios-discuss@lists.omniti.com" <omnios-discuss@lists.omniti.com> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi 10 mai 2013 0h58<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [OmniOS-discuss] cannot remove temp dir<br> </font> </div> <div class="y_msg_container"><br>On 5/9/2013 1:50 PM,
 Matthieu Paindavoine wrote:<br><br>> I used the ghc-7.0.3 binary distribution available on www.haskell.org to<br>> bootstrap the ghc-7.4.2 source distribution, and it compiled successfully.<br>> I then installed cabal with the bootstrap.sh (--global) script found in<br>> the cabal-install source, and it installed fine too, and suggested I<br>> upgrade to the latest version available with 'cabal install --global<br>> cabal-install', that's when it started turning sour (the build log I<br>> included in my previous mail).<br><br>I didn't see a solaris binary distribution on the site at first glance, <br>nor a separate tarball for cabal.<br><br>Would you mind posting a step-by-step list of how to get to the point <br>where you had the problem so I could try and reproduce it? Something <br>along the lines of "download <a href="http://xxxxx/," target="_blank">http://xxxxx/, </a>run yyyy, download <br>http:/zzzzz, run wwww", etc? I'm sure
 I could work it out, but while I <br>am curious about the underlying filesystem problem you're encountering, <br>I must confess I'm not particularly interested in haskell :).<br><br><br><br></div> </div> </div>  </div></body></html>