ghc 6.2 build problem (MinGW/MSYS)

Simon Peyton-Jones simonpj at microsoft.com
Wed Dec 31 16:13:11 EST 2003


Gour

I urge you to follow the instructions carefully laid out at
	
http://www.haskell.org/ghc/docs/latest/html/building/winbuild.html

>From your 'configure' line, it doesn't look as if you are doing so.  If
you do anything else you are on your own!

Incidentally, the right mailing list for *building GHC* is
cvs-ghc at haskell.org

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Gour
| Sent: 28 December 2003 17:15
| To: glasgow-haskell-users at haskell.org
| Subject: ghc 6.2 build problem (MinGW/MSYS)
| 
| I'm pretty new with GHC and I have prblem building ghc 6.2 with MinGW
compiler
| in MSYS environment.
| 
| After running "configure --prefix=/mingw ; make"
| 
| make fails with:
| 
| [snip]
| copying ./mpn/generic/gmp-mparam.h to gmp-mparam.h
| gcc -E -mno-cygwin  -undef -traditional -I../includes -x c
-DHAVE_LIBMINGWEX package.conf.in \
|         | sed 's/^#.*$//g' >package.conf.inplace
| gcc -E -mno-cygwin  -undef -traditional -I../includes -DINSTALLING -x
c -DHAVE_LIBMINGWEX
| package.conf.in \
|         | sed 's/^#.*$//g' >package.conf.installed
| ../utils/ghc-pkg/ghc-pkg-inplace --update-package
<package.conf.inplace
| ../utils/ghc-pkg/ghc-pkg-inplace: /ghc/utils/ghc-pkg/ghc-pkg.exe: No
such file or directory
| ../utils/ghc-pkg/ghc-pkg-inplace: exec:
/ghc/utils/ghc-pkg/ghc-pkg.exe: cannot execute: No such file
| or directory
| make[2]: *** [../driver/stamp-pkg-conf-rts] Error 126
| make[1]: *** [boot] Error 1
| make[1]: Leaving directory `/home/gour/ghc-6.2/ghc'
| make: *** [build] Error 1
| 
| I have tried to modify the script by changing paths, but then I broke
another
| thing.
| 
| The same source tarball builds normally under Gentoo Linux with
appropriate
| ebuild.
| 
| Question: does anyone built ghc 6.2 with MinGW & MSYS (via configure)?
| 
| (Since on Win98 I compile everything with MinGW/MSYS and install all
the
| packages under /mingw tree,I'd like to do the same with ghc, and not
to use
| binary installer since it comes with its own Perl ...)
| 
| I'm using binary ghc-6.0.1 in building process.
| 
| Sincerely,
| Gour
| 
| --
| Gour
| gour at mail.inet.hr
| Registered Linux User #278493
| 
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Cvs-ghc mailing list