[Haskell-cafe] problem with hsql on windows

Shanon Fernald sfernald at gmail.com
Wed Jul 7 03:52:05 EDT 2004


I'm using:

GHC 6.2.1
HSQL 1.4
on a Windows XP machine.

I'm trying to the compile the HSQL example using the eclipse Haskell
plug-in, but I get the following error message:

Chasing modules from: Main.hs
Compiling Queries          ( ./Queries.hs, C:\workspace\dbtest\out/Queries.o )

./Queries.hs:3:
    Failed to load interface for `Database.HSQL':
	Bad interface file:
C:/ghc/ghc-6.2.1/imports/Database/HSQL/GHC/imports/Database/HSQL.hi
	    mismatched interface file versions: expected 6021, found 6020

What it appears is that my HSQL has an interface matching GHC 6.2 maybe?

I just downloaded the HSQL 1.4 from the sourceforge site. The windows
exe version is HSQL-1.4.exe.

Is this the correct version of HSQL? Am I matching the GHC and HSQL
versions correctly? If so, do you know what else I might be doing
wrong? I am able to compile other programs with no problem.

Thanks for help. It is fun to learn a new language and my Haskell
books are on order :)


More information about the Haskell-Cafe mailing list