ghc-6.12.3 package base - build failure on ubuntu10.10 (works with 10.4)

Ryan Newton rrnewton at gmail.com
Tue Oct 19 10:05:49 EDT 2010


Usually I get undefined references wrt iconv (similar to the below post) not
a failure at configure time.

    http://www.mail-archive.com/haskell-cafe@haskell.org/msg77195.html

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!).

I am going to upgrade to ubuntu 10.10 today so I'll let you know if I run
into the same thing.

-Ryan


On Tue, Oct 19, 2010 at 9:41 AM, Simon Marlow <marlowsd at gmail.com> wrote:

> On 15/10/2010 16:35, Mischa Dieterle wrote:
>
>> Hi,
>>
>> I'm getting a build failure when I try to compile ghc-6.12 from the
>> http://darcs.haskell.org/ghc-6.12 repo.
>>
>>
>> ----
>> ghc-cabal: Missing dependency on a foreign library:
>> * Missing C library: iconv
>> This problem can usually be solved by installing the system package that
>> provides this library (you may need the "-dev" version). If the library is
>> already installed but in a non-standard location then you can use the
>> flags
>> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
>> make[1]: *** [libraries/base/dist-install/package-data.mk] Error 1
>> make: *** [all] Error 2
>> ----
>>
>>
>> I'm using a ubuntu 10.10-64 bit system with libc-bin and libc-dev-bin
>> installed. I don't think the problem is a missing iconv library. Maybe
>> the problem is in the generated configure script by the new autoconf
>> version (autoconf version is 2.67).
>>
>
> 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.
>
> Cheers,
>        Simon
>
>
>
>  Maybe someone can help.
>>
>> Cheers,
>> Mischa
>>
>> Stderr output of ./configure on base module is:
>>
>> ./configure: line 8709: ${ac_cv_search_iconv_t_cd_
>> ______________________cd___iconv_open_____
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__
>> ______________________iconv_close_cd__+set}: bad substitution
>> ./configure: line 8735: ac_cv_search_iconv_t_cd_: command not found
>> ./configure: line 8736: ______________________cd___iconv_open_____:
>> command not found
>> ./configure: line 8737:
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__: command not found
>> ./configure: line 8742: ${ac_cv_search_iconv_t_cd_
>> ______________________cd___iconv_open_____
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__
>> ______________________iconv_close_cd__+set}: bad substitution
>> ./configure: line 8742: ${ac_cv_search_iconv_t_cd_
>> ______________________cd___iconv_open_____
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__
>> ______________________iconv_close_cd__+set}: bad substitution
>> ./configure: line 8746: ${ac_cv_search_iconv_t_cd_
>> ______________________cd___iconv_open_____
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__
>> ______________________iconv_close_cd__+set}: bad substitution
>> ./configure: line 8746: ac_cv_search_iconv_t_cd_: command not found
>> ./configure: line 8747: ______________________cd___iconv_open_____:
>> command not found
>> ./configure: line 8748:
>> ______________________iconv_cd_NULL_NULL_NULL_NULL__: command not found
>> ./configure: line 8751: ______________________cd___iconv_open_____:
>> command not found
>>
>>
>>
>>
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20101019/d48e7a36/attachment.html


More information about the Glasgow-haskell-users mailing list