problems building the GHC as a package
Simon Marlow
simonmar at microsoft.com
Fri Apr 30 04:45:19 EDT 2004
On 28 April 2004 15:53, Mauro La Salete Costa Lima de Araujo wrote:
>> You don't need to build the RTS when building GHC as a package. If
>> you want to do this, you have to remove BuildPackageGHC=YES from
>> build.mk, build the compiler, RTS and libraries, and then add
>> BuildPackageGHC=YES again. But I don't think you need to do this;
>> just build the compiler in ghc/compiler.
>>
>
> The sugestion above worked! Thanks :) But when I'm trying to do
a
> make-install-package, I get the following other error:
>
> -------------------------------------------------------------------
> $ make install-inplace-pkg
> /cygdrive/c/ghc/ghc-6.2.1/bin/ghc-pkg --force --update-package
> <package.conf.inplace
> Reading package info from stdin...
> Fail: Couldn't parse package configuration.
> make: *** [install-inplace-pkg] Error 1
> -------------------------------------------------------------------
>
> I'm wondering if it has anything wrong with my 'package.conf.inplace'.
> It's look nice...
I can't see anything obviously wrong. Try editing the file by hand and
feeding it to ghc-pkg directly to see if you can find out which is the
offending field?
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list