Skip to content

reversion in building on windows #118

Closed

Description

@joeyh

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.

Activity

  1. hreinhardt commented on Dec 6, 2013

    @hreinhardt
    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.

  2. tibbe commented on Dec 19, 2013

    @tibbe
    Contributor

    @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.

  3. hreinhardt commented on Dec 26, 2013

    @hreinhardt
    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.

  4. tibbe commented on Dec 31, 2013

    @tibbe
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions