Personally, I find the whole notion of "installing" libraries problematic. In particular, unless the process of building the libraries is particularly user-directed, local library copies are really de facto caches.

And since different application need different library namespaces it seems weird to have a global cache.

Searchpath allows you easily to give each application its own namespace and automates import chasing accross the internet. It is a work in progress and is definitely less refined than cabal, but if you are having this sort of issue you might want to try it out. See http://searchpath.org

-Alex-
______________________________________________________________
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com




Have you tried using searchpath for this sort of thing?

On Thu, 15 Jun 2006, Christian Maeder wrote:

Hi,

how can install a Cabal package hidden directly? Currently I simply
install it and have to hide it afterwards, manually. (Meanwhile one
could get a conflict with new exposed modules.)

I've tried "./setup register --gen-script" and edit the file
"register.sh", but that does not install the .a file.

Thanks Christian
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to