logo       

RE: problems building the GHC as a package: msg#00006

lang.haskell.glasgow.bugs

Subject: RE: problems building the GHC as a package


On Fri, 30 Apr 2004, Simon Marlow wrote:

> 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?

Hi Simon,

I found out what was breaking my 'package.conf.inplace' file:
there was a missing comma in the following line...

package_deps = [ "base", "haskell98", <--- this one :P ],

I don't know if this is a building system bug. Anyway I'm reporting it.

Cheers,

--Mauro


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise