Kelly Norton wrote:
> Hi folks,
>=20
> I haven't had very much luck building haskelldb on an intel mac. The=20
> error that finally put an end to forward progress is copied below. I am=
=20
> running ghc-6.6 and ./configure seemed to like my setup (although I did=
=20
> have to run ./configure --build i386-apple-macosx8.8.0, since=20
> config.guess couldn't make out my mac). The summary given by ./configur=
e=20
> was:
>=20
>=20
> HaskellDB will support:
> -----------------------
>=20
> 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
>=20
> The actual error emitted during make.
>=20
> /usr/local/bin/ghc -fglasgow-exts -fallow-overlapping-instances -packag=
e=20
> hsql -i../build/ghc -package-name haskelldb -c=20
> ../build/ghc/Database/HaskellDB/HDBRec.hs
>=20
> ../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=20
> dependencies)
> In the instance declaration for `RecCat (RecCons f a r1) r2 (RecCon=
s=20
> f a r3)'
>=20
> ../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=20
> dependencies)
> In the instance declaration for `RecCat (Record r1) (Record r2)=20
> (Record r3)'
> make[2]: *** [../build/ghc/Database/HaskellDB/HDBRec.o] Error 1
> make[1]: *** [all-ghc] Error 2
> make: *** [src] Error 2
>=20
>=20
> If anyone has any thoughts, I would greatly appreciate the help.
> /kel
This seems to be the release version of HaskellDB, which is quite=20
outdated. The current darcs version should build with 6.6 and not have=20
problems with Intel Macs. You can get it with:
darcs get --partial http://darcs.haskell.org/haskelldb/
/Bj=F6rn
|