
Dear GHC team, I again have problems with making GHC from source. Now, this is for making ghc-6.9.20080910-src.tar.bz with ghc-6.8.3. ./configure --prefix=... reports that Happy is needed. But earlier, I compiled ghc-6.8.3 with itself, and it did not required Happy. Generally, as I recall, I got used to making GHC from source without installing Happy. Please, what (and why) has changed about this? Maybe ghc-6.8.3 has Happy inside it and ghc-6.9.20080910-src has not? Here are the fragments of config.log for ghc-6.8.3 auto-make: --------------------------------------- ... It was created by The Glorious Glasgow Haskell Compilation System configure 6.8.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/home/mechvel/ghc/6.8.3/inst ## --------- ## ## Platform. ## ## --------- ## hostname = scico uname -m = i686 uname -r = 2.6.22-1-686 uname -s = Linux uname -v = #1 SMP Mon Jul 23 13:23:02 UTC 2007 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/mechvel/ghc/6.8.3/inst1/bin ... ... configure:5565: result: /home/mechvel/ghc/6.8.3/inst1/bin/ghc-pkg configure:5707: checking for happy configure:5740: result: no configure:5744: checking for version of happy configure:5757: result: configure:5794: checking for haddock configure:5827: result: no configure:5837: checking for alex configure:5870: result: no configure:5874: checking for version of alex configure:5887: result: ... ... #define _FILE_OFFSET_BITS 64 configure: exit 0 --------------------------------------------------------------- Why ghc-6.9.20080910-src.tar.bz cannot produce such? What I am missing? Can you somehow preserve the `make' procedure between the versions? Second, several years ago I was able to `make' Happy. Now, I tried to make Happy-1.17, with ghc-6.8.3. But it occurs difficult to find out how to do this. This is not like with GHC. The source GHC has README in the root of the `make' directory, where it is visible an short instruction ./configure ... make make install And in Happy, I do not find such. I am unhappy with Happy. Please, advise, ----------------- Serge Mechveliani mechvel@botik.ru

The release tarballs come with an already-happy-generated parser; the darcs version does not (because the parser could change as new extensions are brought in through the development process, so it makes more sense to have to generate it with happy every time to get the latest parser changes.) Austin

On 2008 Sep 16, at 11:01, Serge D. Mechveliani wrote:
reports that Happy is needed. But earlier, I compiled ghc-6.8.3 with itself, and it did not required Happy. Generally, as I recall, I got used to making GHC from source without installing Happy. Please, what (and why) has changed about this?
Development snapshots don't include generated files, as a general rule. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
participants (3)
-
Austin Seipp
-
Brandon S. Allbery KF8NH
-
Serge D. Mechveliani