hdirect and ghc 5.02
Mark Conway Wirt
mark@intrepid.net
Mon, 8 Oct 2001 08:24:39 -0400
On Fri, Oct 05, 2001 at 01:27:54PM -0700, Sigbjorn Finne wrote:
> Try http://www.galconn.com/~sof/hdirect-0.18-src.tar.gz
>
> (src dist built about a month ago).
>
There seems to be a slight problem with the build system. I've tried
building it from fptools (having only checked out fpconfig) and it
crashes on make boot:
rm -f Version.hs
echo "--Automatically generated" > Version.hs
echo "module Version where" >> Version.hs
echo "" >> Version.hs
echo "pkg_name :: String" >> Version.hs
echo "pkg_name = \"HaskellDirect (ihc)\"" >> Version.hs
echo "pkg_version :: String" >> Version.hs
echo "pkg_version = \"snapshot 081001\"" >> Version.hs
make[2]: *** No rule to make target `mkNativeInfo', needed by `NativeInfo.hs'. Stop.
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/mark/fptools/hdirect-0.18'
make: *** [all] Error 1
Apparently, the Makefile doesn't define a rule for generating mkNativeInfo
from mkNativeInfo.c. I've compiled mkNativeInfo by hand and it seems to get
past that. Then again, maybe I'm just doing something wrong with the build.
--Mark