You want to add old-time as a dependency in the cabal file for haskelldb-hsql. Word of caution - hsql isn't very well maintained, I dont think. You are better going with HDBC.

On Thu, Mar 19, 2009 at 8:08 AM, Dean Michael Berris <mikhailberis@gmail.com> wrote:
Hi Guys,

I get this when I do 'cabal install haskelldb-hsql':

Resolving dependencies...
[1 of 1] Compiling Main             (
/tmp/haskelldb-hsql-0.101938/haskelldb-hsql-0.10/Setup.hs,
/tmp/haskelldb-hsql-0.101938/haskelldb-hsql-0.10/dist/setup/Main.o )
Linking /tmp/haskelldb-hsql-0.101938/haskelldb-hsql-0.10/dist/setup/setup ...
Configuring haskelldb-hsql-0.10...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Preprocessing library haskelldb-hsql-0.10...
Building haskelldb-hsql-0.10...

Database/HaskellDB/HSQL.hs:25:7:
   Could not find module `System.Time':
     it is a member of package old-time-1.0.0.1, which is hidden
cabal: Error: some packages failed to install:
haskelldb-hsql-0.10 failed during the building phase. The exception was:
exit: ExitFailure 1

Anything I can do to get this fixed? Running 'ghc-pkg describe
old-time' yields this:

name: old-time
version: 1.0.0.1
license: BSD3
copyright:
maintainer: libraries@haskell.org
stability:
homepage:
package-url:
description: This package provides the old time library.
            For new code, the new time library is recommended.
category: System
author:
exposed: True
exposed-modules: System.Time
hidden-modules:
import-dirs: /usr/lib64/ghc-6.10.1/old-time-1.0.0.1
library-dirs: /usr/lib64/ghc-6.10.1/old-time-1.0.0.1
hs-libraries: HSold-time-1.0.0.1
extra-libraries:
extra-ghci-libraries:
include-dirs: /usr/lib64/ghc-6.10.1/old-time-1.0.0.1/include
includes: HsTime.h
depends: base-4.0.0.0 old-locale-1.0.0.1
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces:
/usr/share/doc/ghc-6.10.1/libraries/old-time/old-time.haddock
haddock-html: /usr/share/doc/ghc-6.10.1/libraries/old-time

Am I missing anything obvious?

TIA

--
Dean Michael Berris | Software Engineer, Friendster, Inc.
blog.cplusplus-soup.com | twitter.com/mikhailberis |
linkedin.com/in/mikhailberis | profiles.friendster.com/mikhailberis |
deanberris.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Haskelldb-users mailing list
Haskelldb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/haskelldb-users