Problem compiling hdbc with GHC 6.10.1 in windows

Greetings I would like to report that I am not able to compile hdbc 1.1.5.0. $ runghc.exe Setup.lhs build Preprocessing library HDBC-1.1.5... Building HDBC-1.1.5... [1 of 6] Compiling Database.HDBC.ColTypes ( Database\HDBC\ColTypes.hs, dist\build\Database\HDBC\ColTypes.o ) [2 of 6] Compiling Database.HDBC.Statement ( Database\HDBC\Statement.hs, dist\build\Database\HDBC\Statement.o ) [3 of 6] Compiling Database.HDBC.Types ( Database\HDBC\Types.hs, dist\build\Database\HDBC\Types.o ) [4 of 6] Compiling Database.HDBC.DriverUtils ( Database\HDBC\DriverUtils.hs, dist\build\Database\HDBC\DriverUtils.o ) [5 of 6] Compiling Database.HDBC.Utils ( Database\HDBC\Utils.hs, dist\build\Database\HDBC\Utils.o ) Database\HDBC\Utils.hs:51:11: Not in scope: `catchDyn' Database\HDBC\Utils.hs:55:16: Not in scope: `catchDyn' Database\HDBC\Utils.hs:60:18: Not in scope: `dynExceptions' Environment: Windows XP SP2 GHC 6.10.1 thanks pj I had no problems compiling this with GHC 6.8.

You need to use base-3. For a temporary fix, edit the file HDBC.cabal
and change the base part of the "build-depends" to look like this:
base == 3.*, (wherever it occurs)
2008/11/6 PJ Durai
Greetings
I would like to report that I am not able to compile hdbc 1.1.5.0.
$ runghc.exe Setup.lhs build Preprocessing library HDBC-1.1.5... Building HDBC-1.1.5... [1 of 6] Compiling Database.HDBC.ColTypes ( Database\HDBC\ColTypes.hs, dist\build\Database\HDBC\ColTypes.o ) [2 of 6] Compiling Database.HDBC.Statement ( Database\HDBC\Statement.hs, dist\build\Database\HDBC\Statement.o ) [3 of 6] Compiling Database.HDBC.Types ( Database\HDBC\Types.hs, dist\build\Database\HDBC\Types.o ) [4 of 6] Compiling Database.HDBC.DriverUtils ( Database\HDBC\DriverUtils.hs, dist\build\Database\HDBC\DriverUtils.o ) [5 of 6] Compiling Database.HDBC.Utils ( Database\HDBC\Utils.hs, dist\build\Database\HDBC\Utils.o ) Database\HDBC\Utils.hs:51:11: Not in scope: `catchDyn' Database\HDBC\Utils.hs:55:16: Not in scope: `catchDyn' Database\HDBC\Utils.hs:60:18: Not in scope: `dynExceptions'
Environment: Windows XP SP2 GHC 6.10.1
thanks pj
I had no problems compiling this with GHC 6.8. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Or build with --constraint='base<4' nominolo:
You need to use base-3. For a temporary fix, edit the file HDBC.cabal and change the base part of the "build-depends" to look like this: base == 3.*, (wherever it occurs)
2008/11/6 PJ Durai
: Greetings
I would like to report that I am not able to compile hdbc 1.1.5.0.
$ runghc.exe Setup.lhs build Preprocessing library HDBC-1.1.5... Building HDBC-1.1.5... [1 of 6] Compiling Database.HDBC.ColTypes ( Database\HDBC\ColTypes.hs, dist\build\Database\HDBC\ColTypes.o ) [2 of 6] Compiling Database.HDBC.Statement ( Database\HDBC\Statement.hs, dist\build\Database\HDBC\Statement.o ) [3 of 6] Compiling Database.HDBC.Types ( Database\HDBC\Types.hs, dist\build\Database\HDBC\Types.o ) [4 of 6] Compiling Database.HDBC.DriverUtils ( Database\HDBC\DriverUtils.hs, dist\build\Database\HDBC\DriverUtils.o ) [5 of 6] Compiling Database.HDBC.Utils ( Database\HDBC\Utils.hs, dist\build\Database\HDBC\Utils.o ) Database\HDBC\Utils.hs:51:11: Not in scope: `catchDyn' Database\HDBC\Utils.hs:55:16: Not in scope: `catchDyn' Database\HDBC\Utils.hs:60:18: Not in scope: `dynExceptions'
Environment: Windows XP SP2 GHC 6.10.1
thanks pj
I had no problems compiling this with GHC 6.8. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Thu, Nov 6, 2008 at 4:44 PM, Thomas Schilling
You need to use base-3. For a temporary fix, edit the file HDBC.cabal and change the base part of the "build-depends" to look like this: base == 3.*, (wherever it occurs)
That worked. Thanks!
2008/11/6 PJ Durai
: Greetings
I would like to report that I am not able to compile hdbc 1.1.5.0.
$ runghc.exe Setup.lhs build Preprocessing library HDBC-1.1.5... Building HDBC-1.1.5... [1 of 6] Compiling Database.HDBC.ColTypes ( Database\HDBC\ColTypes.hs, dist\build\Database\HDBC\ColTypes.o ) [2 of 6] Compiling Database.HDBC.Statement ( Database\HDBC\Statement.hs, dist\build\Database\HDBC\Statement.o ) [3 of 6] Compiling Database.HDBC.Types ( Database\HDBC\Types.hs, dist\build\Database\HDBC\Types.o ) [4 of 6] Compiling Database.HDBC.DriverUtils ( Database\HDBC\DriverUtils.hs, dist\build\Database\HDBC\DriverUtils.o ) [5 of 6] Compiling Database.HDBC.Utils ( Database\HDBC\Utils.hs, dist\build\Database\HDBC\Utils.o ) Database\HDBC\Utils.hs:51:11: Not in scope: `catchDyn' Database\HDBC\Utils.hs:55:16: Not in scope: `catchDyn' Database\HDBC\Utils.hs:60:18: Not in scope: `dynExceptions'
Environment: Windows XP SP2 GHC 6.10.1
thanks pj
I had no problems compiling this with GHC 6.8. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Don Stewart
-
PJ Durai
-
Thomas Schilling