Reinstall all dependent packages manually

Possible duplicate:
Kabbalah does not establish dependencies if necessary profiling libraries?

Here is the situation. I want to install \ reinstall package A with some new options or flags (for example, I add library-profiling: True to ~/.cabal/config ).

 cabal install --reinstall A 

Package A depends on package B , which is installed without the support of these options. This is why (if I understand correctly) tells me that:

 Could not find module `B': Perhaps you haven't installed the profiling libraries for package `B'? Use -v to see a list of the files searched for. 

So I need to reinstall package B , and then try installing package A :

 cabal install --reinstall B cabal install --reinstall A 

All I want is to say that I need to reinstall all packages that depend on A. How can i do this?

+7
source share

All Articles