-
Notifications
You must be signed in to change notification settings - Fork 711
cabal-install does not quote the path in the --with-gcc parameter #1634
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
Comments
Would be helpful if a build log was provided. |
I'll try to test my fix with network-2.4.2.1 on Windows. |
@tibbe
As you can see, it gets the correct path from Cabal (this actually works even without my patch), but then fails because the path contains spaces. |
I've reverted my patch. One interesting workaround suggested on StackOverflow is to use short path names on Windows. |
The only solution I know of is to either fix or ditch Autoconf, which has a bad track record with handling spaces in variables. |
For the record, I've found the short names solution to work. What a pain :-/ |
It doesn't, see #3185. |
According to haskell/network#118 cabal-install does properly quote the path passed to
--with-gcc
, causing failures on Windows when the path contains a space.The text was updated successfully, but these errors were encountered: