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 seems written to install itself globally no matter what
~/.cabal/config says.

'cabal install wx' dies shortly after trying to register itself by
running

cat config/wxcore.pkg | sed -e "s|\${wxhlibdir}|/home/brian/.cabal/lib|"
  | ghc-pkg  update -

ghc-pkg is hardcoded to use the global package configuration:

$ cat $(which ghc-pkg)
#!/bin/sh
PKGCONF=/usr/lib/ghc-6.10.4/./package.conf
exec /usr/lib/ghc-6.10.4/ghc-pkg --global-conf $PKGCONF ${1+"$@"}

I don't know how to make it any more clear that this behavior is really
wrong.

------------------------------------------------------------------------------
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