Skip to content

reversion in building on windows #118

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

Closed
joeyh opened this issue Dec 5, 2013 · 4 comments
Closed

reversion in building on windows #118

joeyh opened this issue Dec 5, 2013 · 4 comments

Comments

@joeyh
Copy link

joeyh commented Dec 5, 2013

2.4.2.1 fails to buid on windows, using the Haskell Platform and mingw. Looking at config.log, it seems that since my gcc is in C:\Program Files\whatever, it tries to run that full path, but without proper quoting, so it ends up complaining that C:\Program is not a executable.

2.4.1.2 builds in windows, in the identical build environment. Or at least the configure script works.

@hreinhardt
Copy link
Contributor

I suspect this may be caused by this pull request of mine: #104
You may want to try reverting that change (and then run 'autoreconf') and see if it fixes the problem.

@tibbe
Copy link
Member

tibbe commented Dec 19, 2013

@joeyh and @hreinhardt since I don't have a Windows install currently, could the two of you please try to work it out together? I'm afraid that we might need to roll back #104 otherwise, as I think "Program Files" is in the default install path of the HP on Windows.

@hreinhardt
Copy link
Contributor

I was able to reproduce this and it indeed is caused by #104. I think the root of the problem lies in cabal-install not quoting the path in the --with-gcc parameter; but even if we'd fix that, people with older versions of cabal-install would hit this problem. So right now the best fix is reverting #104.

@tibbe
Copy link
Member

tibbe commented Dec 31, 2013

I've reverted #104 in 5d56212 and filed issue haskell/cabal#1634.

@tibbe tibbe closed this as completed Dec 31, 2013
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

3 participants