something still wrong with happy?

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Wed, 28 Mar 2001 14:25:26 +0100


> > Why is happy being called as 'agc'?
> 
> because for some reason, the HAPPY make variable doesn't appear to be
> set.  Which is strange, because somehow it must have been set in order
> to build GHC, so I'm mystified.  Do you have happy installed?  Which
> version?

No, happy is not installed, but it does exist in the build tree.
My config.cache says:

    fptools_cv_happy_version=${fptools_cv_happy_version=1.9}

I didn't specifically ask make to build happy this time, but it
may have been built previously.  Perhaps I should have used
'make ghc-in-place' to ensure that the in-place happy was used?

My mk/config.mk says
    HAPPY                      =
    HAPPY_VERSION              = 1.9
which looks bad.  Shouldn't the configuration process have filled
in the HAPPY variable with @HappyCmd@ - according to ./configure
    HappyCmd=$hardtop/happy/src/happy-inplace;
should do the job?

I just removed config.cache and did a fresh ./configure, and it
reports:

    checking for happy... no
    checking for version of happy... using happy from the source tree... 1.9

which is rather bizarre to say the least!

Regards,
    Malcolm