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@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to