Robert van Herk wrote:
> I'm currently testing the cabalized version of HaskellDB.
>=20
> I wonder why GenericConnect.pphs does not seem to get installed with th=
e=20
> cabal package... Was this intended?
Yes it was. The problem with GenericsConnect is that it imports all the=20
drivers that were compiled with it. This has a number of problems:
1) Any program using GenericConnect links with all the drivers that were=20
compiled along with GenericConnect, which makes the program large and=20
gives it a lot of link-time and run-time dependencies.
2) The package which would contain GenericConnect would have to depend=20
on all the driver packages, which means that that package cannot easily=20
be distributed, for example, as a binary RPM since the dependencies=20
would not be fixed.
All in all, GenericConnect does not seem like a very good idea to me. I=20
think that the hs-plugins-based generic backend is a better idea. The=20
only problem is that I haven't yet had time to figure out how to make it=20
load drivers from the installed packages. Currently it expects an object=20
file in the current directory. Help here would be appreciated.
/Bj=F6rn
|