But this suggests that your Haskell installation is a global one, so  
you should us:

sudo cabal install wx

See discussions on the various mailing lists about permissions and  
install locations for cabal.
This has caused quite some confusion, and not only to you.

  Doaitse


On 8 aug 2009, at 18:08, Brian Lewis wrote:

> On Saturday, 08.08.09 at 13:41, S. Doaitse Swierstra wrote:
>> Did you recently install something using the sudo command? That may  
>> have
>> changed the permissions/ownership of the pacckage.conf.
>
> I think package.conf's ownership and permissions are as they should  
> be,
> root:root 644.
>
> The wx cabal package seems to assume that the user running 'cabal
> install' will be able to modify root-owned files in /usr. I don't
> understand why any installation would be set up that way these days.
>
> It also seems wrong because it defies ~/.cabal/config, which says to
> install stuff under ~/.cabal.
>
>> On 8 aug 2009, at 03:09, Brian Lewis wrote:
>>> I appreciate all the hard work that went into WxHaskell, and the
>>> effort
>>> going into its continued development. But:
>>>
>>> $ cabal install wx
>>> ...
>>> Writing new package config file...
>>> ghc-pkg: /usr/lib/ghc-6.10.4/./package.conf:
>>> you don't have permission to modify this file
>>>
>>> Is there some explanation for this hostile behavior? Every other
>>> cabalized package I've installed in the past year has been  
>>> satisified
>>> to live in ~/.cabal and not mess with other files behind the back of
>>> my distro's package management system.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to