Skip to content
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

"The program cpphs is required but it could not be found." #12

Open
windemut opened this issue Jun 8, 2014 · 1 comment
Open

"The program cpphs is required but it could not be found." #12

windemut opened this issue Jun 8, 2014 · 1 comment

Comments

@windemut
Copy link

windemut commented Jun 8, 2014

I got the below error trying to install GLUtil on OS X Mavericks. I understand there was an earlier, similar issue where the poster said they "had to install cpphs", but no further details were given for a solution. "cabal install cpphs" does not work for me, it claims cpphs is already installed. I tried --reinstall, but it gave me a scary message about everything being broken, so I did not go down that path.

I'd like to get this working, but am at a loss about what to do next. Am I missing something?

======= cabal install GLUtil:
Resolving dependencies...
Configuring GLUtil-0.7.4...

/var/folders/4b/1rj__m2j61d42z8fz4yqmhdm0000gn/T/68198.c:1:12:
warning: control reaches end of non-void function [-Wreturn-type]
int foo() {}
^
1 warning generated.
cabal: The program cpphs is required but it could not be found.
Failed to install GLUtil-0.7.4
cabal: Error: some packages failed to install:
GLUtil-0.7.4 failed during the configure step. The exception was:
ExitFailure 1

======= cabal install cpphs:
Resolving dependencies...
All the requested packages are already installed:
cpphs-1.18.4
Use --reinstall if you want to reinstall anyway.

@windemut
Copy link
Author

windemut commented Jun 8, 2014

Looks like I have been missing something: Adding ~/Library/Haskell/bin to my PATH resolved this issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant