ghc 6.10.3-prerelease failed build log for freebsd7.2

Ian Lynagh igloo at earth.li
Wed May 6 15:52:36 EDT 2009


Hi brad,

On Sun, May 03, 2009 at 11:03:49PM -0700, brad clawsie wrote:
> 
> after some trying, i was unable to get the 6.10.3 prerelease to build on
> freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc.

Thanks for trying it out!

Do you have iconv installed?

If so, does applying the patch below and putting:

EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/some/path --extra-lib-dirs=/some/other/path

(where /some/path and /some/other/path are the paths to the iconv
header and library respectively) in mk/build.mk before you start the
build work?


Thanks
Ian


diff -rN -u old-ghc/libraries/Makefile new-ghc/libraries/Makefile
--- old-ghc/libraries/Makefile  2009-05-06 20:49:11.000000000 +0100
+++ new-ghc/libraries/Makefile  2009-05-06 20:49:11.000000000 +0100
@@ -200,7 +200,8 @@
                $(COMMON_CONFIGURE_FLAGS) \
                   --haddock-options="--use-contents=../index.html \
                                      --use-index=../doc-index.html" \
-                  $(CONFIGURE_OPTS)
+                  $(CONFIGURE_OPTS) \
+                  $(EXTRA_CABAL_CONFIGURE_FLAGS)
 
 stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).dph/dph-par: \
     dph/dph-par



More information about the Glasgow-haskell-users mailing list