|
From: Kelly N. <ni...@ke...> - 2007-01-16 01:30:15
|
Hi folks,
I haven't had very much luck building haskelldb on an intel mac. The error
that finally put an end to forward progress is copied below. I am running
ghc-6.6 and ./configure seemed to like my setup (although I did have to run
./configure --build i386-apple-macosx8.8.0, since config.guess couldn't make
out my mac). The summary given by ./configure was:
HaskellDB will support:
-----------------------
GHC: yes
HSQL: yes
ODBC: no
MySql: yes
SQLite: no
PostgreSQL: no
WxHaskell: no
Hugs: no
HSQL: no
ODBC: no
MySql: no
SQLite: no
PostgreSQL: no
WxHaskell: no
The actual error emitted during make.
/usr/local/bin/ghc -fglasgow-exts -fallow-overlapping-instances -package
hsql -i../build/ghc -package-name haskelldb -c
../build/ghc/Database/HaskellDB/HDBRec.hs
../build/ghc/Database/HaskellDB/HDBRec.hs:90:0:
Illegal instance declaration for `RecCat (RecCons f a r1)
r2
(RecCons f a r3)'
(the Coverage Condition fails for one of the functional
dependencies)
In the instance declaration for `RecCat (RecCons f a r1) r2 (RecCons f a
r3)'
../build/ghc/Database/HaskellDB/HDBRec.hs:93:0:
Illegal instance declaration for `RecCat (Record r1)
(Record r2)
(Record r3)'
(the Coverage Condition fails for one of the functional
dependencies)
In the instance declaration for `RecCat (Record r1) (Record r2) (Record
r3)'
make[2]: *** [../build/ghc/Database/HaskellDB/HDBRec.o] Error 1
make[1]: *** [all-ghc] Error 2
make: *** [src] Error 2
If anyone has any thoughts, I would greatly appreciate the help.
/kel
|