[Haskell-cafe] any idea why binary isn't bulding on OSX

Carter Schonwald carter.schonwald at gmail.com
Mon Jan 13 16:50:18 UTC 2014


That because you need to make sure the GCC in your path points to it , AND
you need to edit your ghc settings file, because ghc has a hard coded path
to the GCC that it was built with by default.

On Monday, January 13, 2014, MigMit wrote:

> Installing gcc 4.2 from MacPorts (and port selecting it) helped with this
> problem. Gcc 4.8 didn't.
>
> Отправлено с iPhone
>
> > 13 янв. 2014 г., в 12:09, Anatoly Yakovenko <aeyakovenko at gmail.com<javascript:;>>
> написал(а):
> >
> > src/Data/Binary/Get.hs:423:3:
> >
> >     error: invalid preprocessing directive
> >
> >     #-}
> >
> >      ^
> >
> >
> > src/Data/Binary/Get.hs:511:53:
> >
> >     warning: missing terminating ' character [-Winvalid-pp-token]
> >
> > -- host order, host endian form, for the machine you're on. On a 64 bit
> >
> >                                                    ^
> >
> > 12 warnings and 1 error generated.
> >
> > Failed to install binary-0.7.1.0
> >
> > cabal: Error: some packages failed to install:
> >
> > JuicyPixels-3.1.2 depends on binary-0.7.1.0 which failed to install.
> >
> > binary-0.7.1.0 failed during the building phase. The exception was:
> >
> > ExitFailure 1
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org <javascript:;>
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org <javascript:;>
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140113/e04af66c/attachment.html>


More information about the Haskell-Cafe mailing list