<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I compared libraries/base/aclocal.m4 of the HEAD and 6.12 branch
and found the difference:<br>
<br>
< [AS_VAR_PUSHDEF([ac_Search], [ac_cv_search_$3])dnl<br>
---<br>
> [AS_VAR_PUSHDEF([ac_Search], [ac_cv_search_$1])dnl<br>
<br>
This was changed by patch:<br>
<br>
Thu Aug 19 22:48:58 CEST 2010 Ross Paterson
<a class="moz-txt-link-rfc2396E" href="mailto:ross@soi.city.ac.uk"><ross@soi.city.ac.uk></a><br>
* fix cache variable name used by FP_SEARCH_LIBS_PROTO<br>
<br>
I applied the patch to 6.12 what solved the problem.<br>
<br>
But you won’t even come to that point (compiling whole ghc and not
only base) without the patch for ticket #4252 which is missing in
6.12. I reported this already with ticket #4402
(<a class="moz-txt-link-freetext" href="http://hackage.haskell.org/trac/ghc/ticket/4402#comment:3">http://hackage.haskell.org/trac/ghc/ticket/4402#comment:3</a>).<br>
<br>
Cheers,<br>
Mischa<br>
<br>
<br>
Am 19.10.2010 16:05, schrieb Ryan Newton:
<blockquote
cite="mid:AANLkTimyMq8+65MMhavkDz9sHtqUgcXr60wxmXBbrt1J@mail.gmail.com"
type="cite">Usually I get undefined references wrt iconv (similar
to the below post) not a failure at configure time.<br>
<br>
<a moz-do-not-send="true"
href="http://www.mail-archive.com/haskell-cafe@haskell.org/msg77195.html"
target="_blank">http://www.mail-archive.com/haskell-cafe@haskell.org/msg77195.html</a><br>
<br>
Although I have seen seemingly spurious "Missing C libraries"
errors before (for example, when I tried building on windows under
cygwin and I got that same message regarding libs "rt" and "dl" --
which were indeed present in /usr/lib!).<br>
<br>
I am going to upgrade to ubuntu 10.10 today so I'll let you know
if I run into the same thing.<br>
<br>
-Ryan<br>
<br>
<br>
<div class="gmail_quote">On Tue, Oct 19, 2010 at 9:41 AM, Simon
Marlow <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:marlowsd@gmail.com" target="_blank">marlowsd@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">On 15/10/2010 16:35, Mischa Dieterle
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi,<br>
<br>
I'm getting a build failure when I try to compile ghc-6.12
from the<br>
<a moz-do-not-send="true"
href="http://darcs.haskell.org/ghc-6.12" target="_blank">http://darcs.haskell.org/ghc-6.12</a>
repo.<br>
<br>
<br>
----<br>
ghc-cabal: Missing dependency on a foreign library:<br>
* Missing C library: iconv<br>
This problem can usually be solved by installing the system
package that<br>
provides this library (you may need the "-dev" version). If
the library is<br>
already installed but in a non-standard location then you
can use the flags<br>
--extra-include-dirs= and --extra-lib-dirs= to specify where
it is.<br>
make[1]: *** [libraries/base/dist-install/<a
moz-do-not-send="true" href="http://package-data.mk"
target="_blank">package-data.mk</a>] Error 1<br>
make: *** [all] Error 2<br>
----<br>
<br>
<br>
I'm using a ubuntu 10.10-64 bit system with libc-bin and
libc-dev-bin<br>
installed. I don't think the problem is a missing iconv
library. Maybe<br>
the problem is in the generated configure script by the new
autoconf<br>
version (autoconf version is 2.67).<br>
</blockquote>
<br>
I haven't encountered this problem, but I'm not using Ubuntu
10.10 yet. Please report the bug on the Trac so we don't
forget about it.<br>
<br>
Cheers,<br>
Simon<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Maybe someone can help.<br>
<br>
Cheers,<br>
Mischa<br>
<br>
Stderr output of ./configure on base module is:<br>
<br>
./configure: line 8709: ${ac_cv_search_iconv_t_cd_<br>
______________________cd___iconv_open_____<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__<br>
______________________iconv_close_cd__+set}: bad
substitution<br>
./configure: line 8735: ac_cv_search_iconv_t_cd_: command
not found<br>
./configure: line 8736:
______________________cd___iconv_open_____:<br>
command not found<br>
./configure: line 8737:<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__:
command not found<br>
./configure: line 8742: ${ac_cv_search_iconv_t_cd_<br>
______________________cd___iconv_open_____<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__<br>
______________________iconv_close_cd__+set}: bad
substitution<br>
./configure: line 8742: ${ac_cv_search_iconv_t_cd_<br>
______________________cd___iconv_open_____<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__<br>
______________________iconv_close_cd__+set}: bad
substitution<br>
./configure: line 8746: ${ac_cv_search_iconv_t_cd_<br>
______________________cd___iconv_open_____<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__<br>
______________________iconv_close_cd__+set}: bad
substitution<br>
./configure: line 8746: ac_cv_search_iconv_t_cd_: command
not found<br>
./configure: line 8747:
______________________cd___iconv_open_____:<br>
command not found<br>
./configure: line 8748:<br>
______________________iconv_cd_NULL_NULL_NULL_NULL__:
command not found<br>
./configure: line 8751:
______________________cd___iconv_open_____:<br>
command not found<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Glasgow-haskell-users@haskell.org"
target="_blank">Glasgow-haskell-users@haskell.org</a><br>
<a moz-do-not-send="true"
href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users"
target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote>
<br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Glasgow-haskell-users@haskell.org"
target="_blank">Glasgow-haskell-users@haskell.org</a><br>
<a moz-do-not-send="true"
href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users"
target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>