#3732: GHC 6.10.4 compilation failure: libffi failed to compile
----------------------------------+-----------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Resolution: | Keywords:
Difficulty: | Os: Linux
Testcase: | Architecture: ia64
Failure: Building GHC failed |
----------------------------------+-----------------------------------------
Changes (by igloo):
* difficulty: =>
Old description:
> The libffi failed to compile with the error:
> "configure: error: source directory already configured; run "make
> distclean" there first"
>
> To solve this one must specify the full path when invoking the configure
> script.
> To do this the part of the "ghc-xxx/libffi/Makefile" should be changed
> to:
>
> from
> CC=$(WhatGccIsCalled) $(SHELL) configure \
> to
> CC=$(WhatGccIsCalled) $(SHELL) `pwd`/configure \
New description:
The libffi failed to compile with the error:
"configure: error: source directory already configured; run "make
distclean" there first"
To solve this one must specify the full path when invoking the configure
script.
To do this the part of the "ghc-xxx/libffi/Makefile" should be changed to:
from
{{{
CC=$(WhatGccIsCalled) $(SHELL) configure \
}}}
to
{{{
CC=$(WhatGccIsCalled) $(SHELL) `pwd`/configure \
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3732#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs