Unable to build GHC-7.4.1 on OpenIndiana

Paul Graphov graphov at gmail.com
Sun Mar 11 14:19:27 CET 2012


Thanks for your advice but that didn't help. Also GHC is build
successfully on my Ubuntu box with gnu make-3.81

But solution for my case was quite simple - I've commented out those
lines in ghc.mk that produced the error :) ghc binary-dist was built
successfully and run well on solaris-10 box.

On Wed, Mar 7, 2012 at 9:38 PM, Sergei Trofimovich <slyfox at inbox.ru> wrote:
> On Wed, 7 Mar 2012 17:07:06 +0400
> Paul Graphov <graphov at gmail.com> wrote:
>
>> Hello GHC-users!
>>
>> I'm trying to compile GHC-7.4.1 under OpenIndiana and get the
>> following error all the time:
>>
>> ghc.mk:85: *** Make has restarted itself 2 times; is there a makefile
>> bug?.  Stop.
>>
>> I googled a bit and found that this can be a result of touching some
>> files during build. But actually no files were touched, I've even
>> restarted compilation from scratch to check it.
>>
>> Currently I have GHC-7.2.2. that was installed via
>> http://pkg.openindiana.org/sfe, GNU Make 3.81
>
> I'd suggest you to try make-3.82. There were changes
> in laziness of macro expansion (ghc build system uses
> macros quite extensively).
>
>
> --
>
>  Sergei
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



More information about the Glasgow-haskell-users mailing list