[Haskell-cafe] ghc-pkg list says a package is installed, but ghci won't load its exposed module (HDBC-ODBC)

Thomas Hartman thomas.hartman at db.com
Wed Jun 13 16:31:24 EDT 2007


ghc-pkg list says a package is installed, but ghci won't load its 
module (HDBC-ODBC) 
Any advice? 
hartthoma at dbnycws28816 ~/haskellInstalls/HDBC-odbc-1.0.1.0 
$ ghc-pkg list 
c:/ghc/ghc-6.6.1\package.conf: 
    Cabal-1.1.6.2, GLUT-2.1.1, HAppS-0.8.4, HDBC-1.0.1, 
    HDBC-odbc-1.0.1.0, HUnit-1.1.1, HaXml-1.13.2, OpenGL-2.2.1, 
    QuickCheck-1.0.1, Win32-2.1.1, base-2.1.1, cgi-3001.1.1, 
fgl-5.4.1, 
    filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0, 
    html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0, regex-base-0.72, 
    regex-base-0.91, regex-compat-0.71, regex-posix-0.71, 
    regex-tdfa-0.92, rts-1.0, stm-2.0, template-haskell-2.1, 
    time-1.1.1, xhtml-3000.0.2 
..... 
Prelude> :m + Database.HDBC.ODBC 
module main:Database.HDBC.ODBC is not loaded 
..... 
$ ghc-pkg.exe describe HDBC-odbc 
name: HDBC-odbc 
version: 1.0.1.0 
license: LGPL 
copyright: Copyright (c) 2005-2006 John Goerzen 
maintainer: John Goerzen <jgoer... at complete.org> 
stability: Alpha 
homepage: 
package-url: 
description: 
category: 
author: 
exposed: True 
exposed-modules: Database.HDBC.ODBC 
hidden-modules: Database.HDBC.ODBC.Connection 
                Database.HDBC.ODBC.Statement Database.HDBC.ODBC.Types 
                Database.HDBC.ODBC.Utils Database.HDBC.ODBC.TypeConv 
import-dirs: "C:\\Program Files\\Haskell\\HDBC-odbc-1.0.1.0\ 
\ghc-6.6.1" 
library-dirs: "C:\\Program Files\\Haskell\\HDBC-odbc-1.0.1.0\ 
\ghc-6.6.1" 
hs-libraries: HSHDBC-odbc-1.0.1.0 
extra-libraries: odbc32 
extra-ghci-libraries: 
include-dirs: "C:\\Program Files\\Haskell\\HDBC-odbc-1.0.1.0\ 
\ghc-6.6.1\\include 
" 
includes: 
depends: base-2.1.1 mtl-1.0.1 HDBC-1.0.1 parsec-2.0 
hugs-options: 
cc-options: 
ld-options: 
framework-dirs: 
frameworks: 
haddock-interfaces: "C:\\Program Files\\Common Files\\HDBC- 
odbc-1.0.1.0\\doc\\ht 
ml\\HDBC-odbc.haddock" 
haddock-html: "C:\\Program Files\\Common Files\\HDBC-odbc-1.0.1.0\\doc\ 
\html" 

---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070613/a11ca5c4/attachment.htm


More information about the Haskell-Cafe mailing list