Re: [wxhaskell-users] cabal install wx

2009-08-09 Thread Eric Y. Kow
OK, I think I'm starting to remember more bits and pieces... On Sun, Aug 09, 2009 at 18:18:09 +0200, Lennart Kolmodin wrote: > I recently tried to make Gentoo Linux ebuilds for wxHaskell. We've had > support in the past, for the 0.9.x series, and would like to support the > new 0.11.x too. I spent

Re: [wxhaskell-users] cabal install wx

2009-08-09 Thread Lennart Kolmodin
Eric Y. Kow wrote: > On Sat, Aug 08, 2009 at 14:00:49 -0500, Brian Lewis wrote: >> [snip] It should not be trying to circumvent cabal's normal >> procedure for package registration. > > I agree with you. This one stupid little issue makes wxHaskell > difficult to install. It drives me absolutely

Re: [wxhaskell-users] cabal install wx

2009-08-09 Thread Brian Lewis
On Sunday, 09.08.09 at 00:15, Eric Y. Kow wrote: > Does this work better? > cabal install wx --configure-opt="--user --enable-split-objs --hcprof" I'll try. Thanks. > In the darcs version of wxHaskell, I've also attempted to split > wxcore off so that it is cleanly Cabalised (just the Simple buil

Re: [wxhaskell-users] cabal install wx

2009-08-09 Thread Brian Lewis
On Saturday, 08.08.09 at 23:24, S. Doaitse Swierstra wrote: > http://noordering.wordpress.com/2009/04/21/cabals-default-install-location/ I don't think that's relevant, firstly, because my ~/.cabal/config says explicitly to install packages in ~/.cabal, and secondly, because the wx cabal package s

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
On Sun, Aug 09, 2009 at 00:50:00 +0100, Eric Y. Kow wrote: > > Could you explain a little more? I don't understand the part after "I > > haven't worked out how ...". > > I'm dimly aware that we build this wxc library that wxcore is > dynamically linked against (I think) I'll also add that a past

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
On Sat, Aug 08, 2009 at 18:36:10 -0500, Brian Lewis wrote: > > In the darcs version of wxHaskell, I've also attempted to split > > wxcore off so that it is cleanly Cabalised (just the Simple build > > method), but I haven't worked out how to make it point the wxc > > package that we would have to b

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Eric Y. Kow
Brian, Does this work better? cabal install wx --configure-opt="--user --enable-split-objs --hcprof" (The key difference is the --configure-opt) On Sat, Aug 08, 2009 at 14:00:49 -0500, Brian Lewis wrote: > If there is some technical reason wx cannot be installed as a user > package, I'd like to

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Brian Lewis
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 pack

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread Brian Lewis
On Saturday, 08.08.09 at 20:37, S. Doaitse Swierstra wrote: > But this suggests that your Haskell installation is a global one, so > you should us: > > sudo cabal install wx I absolutely should *not* do that. It's not reasonable for the wx cabal package to modify files under the jurisdiction of so

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread S. Doaitse Swierstra
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 1

Re: [wxhaskell-users] cabal install wx

2009-08-08 Thread S. Doaitse Swierstra
Did you recently install something using the sudo command? That may have changed the permissions/ownership of the pacckage.conf. Doaitse 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 devel

[wxhaskell-users] cabal install wx

2009-08-07 Thread Brian Lewis
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 thi