-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to install uuagc-cabal on OSX 10.6.8 #4
Comments
Have you done "cabal update" before this? Mtl-2.1.1 is available from hackage (http://hackage.haskell.org/package/mtl-2.1.1) and is the latest version, so I am not sure why it would not be able to satisfy that dependency. And what if you run "cabal install mtl-2.1.1" first? |
yes, I did cabal update before. and mtl-2.1.1 is there: cabal install mtl-2.1.1 |
What is the output of running cabal install uuagc --reinstall -v ? |
I successfully installed uuagc with cabal install uuagc --reinstall -v uuagc is available? : no I guess the configure script might be checking the wrong place for uuagc on OSX ? |
I think you must have changed something in your installation, as the "-v" option should not have changed the behaviour of the install, only printing more debug information. When uuagc is installed, it should be a binary in "~/.cabal/bin" named "uuagc". Please check that it exists. I guess that the cabal in directory is not in your path and that is why configure cannot find uuagc. There are two ways to fix this problem:
|
@gzmask could you confirm whether you still have this issue? |
The solution of @jbransen fixes the problem. However, the installation directory has changes and is now in ~/Library/Haskell/bin (also pointed out in a text file named "where-is-my-stuff.txt" under ~/.cabal). |
cabal install uuagc --reinstall
Resolving dependencies...
Configuring uuagc-bootstrap-0.9.40.2...
Building uuagc-bootstrap-0.9.40.2...
Preprocessing executable 'uuagc-bootstrap' for uuagc-bootstrap-0.9.40.2...
: cannot satisfy -package-id mtl-2.1.1-ae9b44386a2528180e60dcf2412689c0
(use -v for more information)
Configuring uuagc-cabal-1.0.2.0...
Building uuagc-cabal-1.0.2.0...
Preprocessing library uuagc-cabal-1.0.2.0...
: cannot satisfy -package-id mtl-2.1.1-ae9b44386a2528180e60dcf2412689c0
(use -v for more information)
cabal: Error: some packages failed to install:
uuagc-0.9.40.3 depends on uuagc-cabal-1.0.2.0 which failed to install.
uuagc-bootstrap-0.9.40.2 failed during the building phase. The exception was:
ExitFailure 1
uuagc-cabal-1.0.2.0 failed during the building phase. The exception was:
ExitFailure 1
The text was updated successfully, but these errors were encountered: