bug 1711 revisited
hal at oz.net
Wed Oct 17 00:54:32 EDT 2007
Sorry to revive a dead horse, but there's still a bit of a problem
with building ghc on os x because of missing files that need to be
created by happy. I downloaded the current stable sources yesterday
(ghc-22.214.171.12471015-src.tar.bz2 and ghc-126.96.36.19971015-src-
extralibs.tar.bz2) and tried building them on a powerbook G4 running
OS X 10.4.10 with ghc 6.1.1 and the latest apple developer tools
installed. If I build just the basic package, that works fine. But
when I unpacked the basic package into a new directory and then
unpacked the extralibs on top of it, the resulting build failed with
the following at the end of the transcript:
Reading package info from "dist/inplace-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.
rm -f -f stamp/configure.library.*.haskell-src haskell-src/unbuildable
( cd haskell-src && setup/Setup configure \
--enable-library-profiling --enable-split-objs \
--configure-option=--with-cc=gcc ) \
&& touch stamp/configure.library.build-profiling-
splitting.haskell-src || touch haskell-src/unbuildable
rm -f haskell-src/GNUmakefile
cp Makefile.local haskell-src
if ifBuildable/ifBuildable haskell-src; then \
cd haskell-src && setup/Setup makefile -f GNUmakefile; \
Preprocessing library haskell-src-1.0.1...
Setup: happy command not found
make: *** [haskell-src/GNUmakefile] Error 1
make: *** [stage1] Error 2
This isn't a huge deal since at least the core package builds, but it
would be nice to fix it if possible before 6.8.x is released. Thanks.
More information about the Glasgow-haskell-bugs