Opened 3 years ago

Closed 17 months ago

#5489 closed bug (fixed)

Win7: Bootstrapping 7.3 from 7.2.1 using msys git 1.7.6 causes integer-gmp ./configure to fail

Reported by: btutt Owned by: igloo
Priority: normal Milestone: 7.6.2
Component: Documentation Version: 7.3
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: Building GHC failed Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Following the getting started instructions and the approximate suggested path for my .profile.

I ended up with flex.exe being found in the Git installation directory.

My work around was to:
uninstall msys
Install MinGW/MSys from http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110530/

DO NOT download the latest catalogues. They've uploaded a gcc-4.6.x compiler so beware. I didn't bother trying so beware. :)

Path to set in .profile so that flex gets picked up:
/c/MinGW/msys/1.0/bin:/c/MinGW/bin:<....>

This allowed the integer-gmp ./configure to succeed.

Attachments (1)

iconv.patch (1.3 KB) - added by btutt 3 years ago.
Skip iconv/libcharset detection on Windows

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by btutt

Skip iconv/libcharset detection on Windows

comment:1 Changed 2 years ago by igloo

  • Milestone set to 7.4.1
  • Status changed from new to patch

Thanks for the patch. We'll take a look.

comment:2 Changed 2 years ago by igloo

  • Milestone changed from 7.4.1 to 7.6.1

comment:3 Changed 22 months ago by simonpj

  • Difficulty set to Unknown
  • Owner set to igloo

comment:4 Changed 20 months ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:5 Changed 17 months ago by igloo

  • Resolution set to fixed
  • Status changed from patch to closed

Fixed, thanks:

commit b52d6856a99dd98a8b5428c6d4327107d140d107
Author: Ian Lynagh <igloo@earth.li>
Date:   Sun Sep 25 16:20:35 2011 +0100

    Don't try to detect iconv or libcharset if we are on Windows
    
    We don't use iconv or libcharset on Windows, but if configure finds
    them then it can cause problems. So we don't even try looking if
    we are on Windows.
    
    See http://www.haskell.org/pipermail/cvs-ghc/2011-September/065980.html
    
    Patch from Bill Tutt.
Note: See TracTickets for help on using tickets.