ghc 6.10.3-prerelease failed build log for freebsd7.2

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi 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. i saved the output of the entire build from ./configure to the point of failure. it is too long too attach here, you can see it at: http://www.b7j0c.org/ghc-6.10.3.log.txt it is about 4.4mb thanks brad -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn+hQMACgkQxRg3RkRK91PGgACfWYJy9sIt6Nx1QxM+nkqXYMl3 pLIAoIDf6yw25VymUFPpdIG5L0B/gF2K =lwwy -----END PGP SIGNATURE-----

On Sun, May 3, 2009 at 11:02 PM, brad clawsie
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
hi
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.
i saved the output of the entire build from ./configure to the point of failure. it is too long too attach here, you can see it at:
http://www.b7j0c.org/ghc-6.10.3.log.txt
it is about 4.4mb
thanks brad
It looks like the problem occurs when building Haskeline: Configuring haskeline-0.6.1.5... checking whether to use -liconv... using -liconv. Setup: Missing dependency on a foreign library: * Missing C library: iconv The problem is that Cabal isn't getting the right argument to look for iconv in (I'm guessing) /usr/local/lib. (Strangely, the Haskeline custom Setup.hs script which detects whether to use iconv is itself succeeding; I should compare the two and see what's different...) Normally this can be fixed by building Haskeline with the Cabal arguments --extra-include-dirs, --extra-lib-dirs; but I don't know how they can be passed through by to the ghc build system. Can you please try, with your working ghc-6.10.2: cd into libraries/haskeline of the release candidate source directory, run runghc Setup configure --user -v3 and send the output. Thanks, -Judah

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Judah Jacobson
It looks like the problem occurs when building Haskeline:
Configuring haskeline-0.6.1.5... checking whether to use -liconv... using -liconv. Setup: Missing dependency on a foreign library: * Missing C library: iconv
The problem is that Cabal isn't getting the right argument to look for iconv in (I'm guessing) /usr/local/lib.
yeah, when i installed haskeline via cabal, i had to set the flags to look at these dirs in order to get it built
(Strangely, the Haskeline custom Setup.hs script which detects whether to use iconv is itself succeeding; I should compare the two and see what's different...)
Normally this can be fixed by building Haskeline with the Cabal arguments --extra-include-dirs, --extra-lib-dirs; but I don't know how they can be passed through by to the ghc build system.
Can you please try, with your working ghc-6.10.2: cd into libraries/haskeline of the release candidate source directory, run
runghc Setup configure --user -v3
$ cd libraries/haskeline/ $ runghc Setup configure --user -v3 Configuring haskeline-0.6.1.5... Creating dist (and its parents) searching for ghc in path. found ghc at /home/brad/local/bin/ghc ("/home/brad/local/bin/ghc",["--numeric-version"]) /home/brad/local/bin/ghc is version 6.10.2 looking for package tool: ghc-pkg near compiler in /home/brad/local/bin found package tool in /home/brad/local/bin/ghc-pkg ("/home/brad/local/bin/ghc-pkg",["--version"]) /home/brad/local/bin/ghc-pkg is version 6.10.2 ("/home/brad/local/bin/ghc",["--supported-languages"]) Reading installed packages... ("/home/brad/local/bin/ghc-pkg",["dump","--global"]) ("/home/brad/local/bin/ghc-pkg",["dump","--user"]) Setup: At least the following dependencies are missing: ghc-mtl ==1.1.* -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkn/uLwACgkQxRg3RkRK91PAvwCgnv4c9zoqPwUZLrvwxkQXJpWu E7gAoJz/BCMyZdjr7/fn/S7kE3EdnmDS =Tg3f -----END PGP SIGNATURE-----
participants (2)
-
brad clawsie
-
Judah Jacobson