From: Robert v. H. <rh...@cs...> - 2005-02-14 16:14:58
|
Hi all, I have a problem with configuring haskelldb: I am trying to build haskelldb, with support for ghc-hsql. I do not have root permissions on this box. Therefore, I made a local file containing my ghc package configuration. The local file is in /Users/rherk/soft/package.conf. It does have an entry for hsql, and the entry is correct. When I do: ./configure --with-ghc-pkg="ghc-pkg -f /Users/rherk/soft/package.conf" --prefix=/Users/rherk/soft/haskelldb I end up with: checking for ghc-pkg -f /Users/rherk/soft/package.conf... no configure: error: ghc-pkg is required for GHC support So, I though I'd make a script in ~/soft/ghc-pkg, namely: ghc-pkg -f /Users/rherk/soft/package.conf $@ Then, I try: ./configure --with-ghc-pkg="/Users/rherk/soft/ghc-pkg" --prefix=/Users/rherk/soft/haskelldb --enable-ghc-hsql Now, I get: configure: WARNING: HSQL for ghc not found, not building ghc HSQL support and I end up with: HaskellDB will support: ----------------------- GHC: yes HSQL: no ODBC: no MySql: no SQLite: no PostgreSQL: no WxHaskell: no Hugs: no HSQL: no ODBC: no MySql: no SQLite: no PostgreSQL: no WxHaskell: no My own ghc-pkg script does however seem to work: ./ghc-pkg -l /Users/rherk/soft/package.conf: hsql /usr/local/lib/ghc-6.2.1/package.conf: rts, base, haskell98, haskell-src, network, parsec, QuickCheck, readline, OpenGL, GLUT, unix, lang, concurrent, posix, util, data, text, net, hssource, uust Does anyone have any idea on what might be wrong? Robert |