<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>The behavior with /usr/bin/rm is the same (the error message is different:</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><span>rm: Unable to remove directory cabal-install-1.16.0.2-21814: Directory not empty)<br></span></div><div><br></div><div>I am trying to install a Haskell environment. I initially set my goal, like you mentioned, on the haskell-platform. But it depends on OpenGL, and I can't find it available. So I decided to just install ghc-7.4.2 and cabal.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">I used the ghc-7.0.3
 binary distribution available on www.haskell.org to bootstrap the ghc-7.4.2 source distribution, and it compiled successfully.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">I then installed cabal with the bootstrap.sh (--global) script found in the cabal-install source, and it installed fine too, and suggested I upgrade to the latest version available with 'cabal install --global cabal-install', that's when it started turning sour (the build log I included in my previous mail).</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style:
 normal;">Thanks for your help.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">Matthieu<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> omnios-discuss@lists.omniti.com <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi 9 mai 2013 21h01<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 7:28 AM, Matthieu Paindavoine wrote:<br><br>> I am new to OmniOS. I am trying to setup a Haskell development<br>> environment and ran against a bump that's preventing me from completing<br>> the task. I mentioned this problem yesterday on IRC and got some help,<br>> but no definitive solution.<br>[...]<br>> execve("/usr/gnu/bin/rm", 0x08047D24, 0x08047D34)  argc = 3<br>[...]<br>> rmdir("cabal-install-1.16.0.2-21814")        Err#17 EEXIST<br><br>Out of curiosity, does it behave any differently if you use the native illumos rm rather than the gnu variant?<br><br>If I get a minute, I'll try to reproduce this. What exactly are you doing? Install ghc (ghc-7.6.3-src.tar.bz2), and then the platform (haskell-platform-2012.4.0.0.tar.gz)? I didn't see a standalone package
 just for cabal after a quick look.<br><br>_______________________________________________<br>OmniOS-discuss mailing list<br><a ymailto="mailto:OmniOS-discuss@lists.omniti.com" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br><a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br><br><br></div> </div> </div>  </div></body></html>