[OmniOS-discuss] cannot remove temp dir
Matthieu Paindavoine
ctordtor at yahoo.fr
Thu May 9 16:50:39 EDT 2013
The behavior with /usr/bin/rm is the same (the error message is different:
rm: Unable to remove directory cabal-install-1.16.0.2-21814: Directory not empty)
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.
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.
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).
Thanks for your help.
Matthieu
________________________________
De : Paul B. Henson <henson at acm.org>
À : omnios-discuss at lists.omniti.com
Envoyé le : Jeudi 9 mai 2013 21h01
Objet : Re: [OmniOS-discuss] cannot remove temp dir
On 5/9/2013 7:28 AM, Matthieu Paindavoine wrote:
> I am new to OmniOS. I am trying to setup a Haskell development
> environment and ran against a bump that's preventing me from completing
> the task. I mentioned this problem yesterday on IRC and got some help,
> but no definitive solution.
[...]
> execve("/usr/gnu/bin/rm", 0x08047D24, 0x08047D34) argc = 3
[...]
> rmdir("cabal-install-1.16.0.2-21814") Err#17 EEXIST
Out of curiosity, does it behave any differently if you use the native illumos rm rather than the gnu variant?
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.
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130509/4cfa0c74/attachment.html>
More information about the OmniOS-discuss
mailing list