-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
x11 fails to compile #22
Comments
Sorry, was in a bit of a rush: |
I haven't the faintest idea. X11-1.6.1.1 builds fine on GHC-7.6.3 here. Could you post the exact cabal command you run and its full output? Bonus points for including a verbose enough run of cabal (add -v, -vv, or -vvv) that we can see the exact command it's invoking when you get that error. Also, what does |
I'm basically just executing a 'caball install x11'. I'm not at my box at the moment, but I'll try to earn those bonus points in a few hours. |
Ok, so here some gists: The first one shows the end of the cabal-install output, before that there' s loads of compilation output. The second one shows the top,i.e. |
Hrm. Those warnings look similar to ones I saw flying by on #haskell the other night; the problem for that person turned out to be that clang's preprocessor behaves differently than gcc's. But since the problem is in a completely different file... I'm still a bit stumped. I'm not even sure what the next thing to ask for would be. Perhaps you could take a peek in the generated |
Contacted Eridius on #haskell, who was the guy having CPP problems the other day. He said what worked for him was grabbing the newest cpphs from Hackage and adding |
Downloaded the source to try manually, so I could check the Extras.hs. But that didn't work: After succesfully doing checked with |
Ok, the obvious thing was, that cpphs wasn't in my path. :-) |
Thanks by the way for the first-class support! |
No, please don't close the issue just yet. I'd like to keep it open until I think of a way of making things Just Work. =) You're welcome for the help. |
It's been six years ... can we close this issue now? It feels like it's no longer a pressing problem. |
Well... I'm not spending time thinking about how to fix it. But that doesn't mean it's fixed... |
Hi,
I'm trying to build X11 with cabal, but the installation always fails with:
"Graphics/X11/Xlib/Extras.hsc:1435:47: parse error on input `<-'"
Any suggestions?
Cheers
The text was updated successfully, but these errors were encountered: