Unable to build GHC-7.4.1 on OpenIndiana
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 use "quick" build flavour in build/build.mk (but it doesn't seem to matter) Also i've installed these packages to make it build: pkg install gcc pkg install system/header pkg install developer/library/lint pkg install header-math Thanks.
On Wed, 7 Mar 2012 17:07:06 +0400 Paul Graphov <graphov@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
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@inbox.ru> wrote:
On Wed, 7 Mar 2012 17:07:06 +0400 Paul Graphov <graphov@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@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (2)
-
Paul Graphov -
Sergei Trofimovich