Newbie building GHC

Seth Kurtzberg seth@cql.com
Mon, 23 Sep 2002 13:45:33 -0700


Use strace with the -ff option.  This will produce separate traces for each 
child, which will be easier to interpret.  It looks like whatever is going 
wrong is happening in a child process (but someone who knows more about the 
innards of ghc may correct me on this).

On Monday 23 September 2002 08:04 pm, Saswat Anand wrote:
> Hi
>
> I am also facing the same problem. I tried to build a virgin tree,
> but with no success as Simon PJ has pointed out.
>
> I have attached my strace file.
>
> Saswat
>
> On Mon, 23 Sep 2002, Simon Marlow wrote:
> > > I have been trying to build GHC, but the ghc.exe that gets built for
> > > ghc-inplace always exits with "Error 1". It *can* print its version
> > > number and the help, but building anything fails. The build fails
> > > making Adjustor.o from Adjustor.c.
> > >
> > > I'm trying to build a cvs checkout fpconfig ghc hslibs on Win XP Pro,
> > > bootstrapping with the provided GHC 5.04.1 binary and Happy
> > > 1.13 binary.
> > >
> > > I mentioned this to a colleague and he said he had exactly the same
> > > problem (ghc exits with error 1), on Windows and Linux, when building
> > > from source tarballs and CVS. We don't normally have any problems
> > > running the haskell.org GHC binaries.
> > >
> > > Can any of you suggest what we might be doing wrong? We are in the
> > > southern hemisphere, so our electrons may be orbiting backwards.
> > >
> > :-)  I've never seen this myself, I'm afraid.  If you have a Linux build
> >
> > which behaves in the same way, could you try stracing it (i.e. prepend
> > 'strace' to the command which fails) and send us the output?
> >
> > Cheers,
> > 	Simon
> > _______________________________________________
> > Glasgow-haskell-users mailing list
> > Glasgow-haskell-users@haskell.org
> > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

-- 
-----------------------------------
Seth Kurtzberg
M. I. S. Corp.
1-480-661-1849