Error of `cabal install cabal-install` on Mac OS X 10.9.4

Greg Horn gregmainland at gmail.com
Sun Aug 31 18:00:02 UTC 2014


The problem is described here http://blog.omega-prime.co.uk/?p=96. When I
was using macports, I would build GHC myself using:

>>*   EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/opt/local/include \
*>>*                                 --extra-lib-dirs=/opt/local/lib
*

and

>>*   ./configure --with-iconv-includes=/opt/local/include \
*>>*               --with-iconv-libraries=/opt/local/lib \
*>>*               --with-gmp-includes=/opt/local/include \
*>>*               --with-gmp-libraries=/opt/local/lib*


as described here
http://www.haskell.org/pipermail/haskell-cafe/2010-June/079204.html


On Sun, Aug 31, 2014 at 4:39 PM, Peng Yu <pengyu.ut at gmail.com> wrote:

> On Sat, Aug 30, 2014 at 3:41 PM, Brandon Allbery <allbery.b at gmail.com>
> wrote:
> > On Sat, Aug 30, 2014 at 4:33 PM, Peng Yu <pengyu.ut at gmail.com> wrote:
> >>
> >> Undefined symbols for architecture x86_64:
> >> "_iconv", referenced from:
> >> _hs_iconv in libHSbase-4.7.0.1.a(iconv.o)
> >
> >
> > You are mixing stuff built against the system iconv with stuff built
> against
> > either MacPorts or Homebrew. This won't work.
>
> I have MacPorts installed. But how to figure out what in MacPorts is
> in conflict from the one from Haskell Mac OS X installer?
>
> --
> Regards,
> Peng
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20140831/b4afc3f5/attachment.html>


More information about the cabal-devel mailing list