[Haskell-cafe] package question/problem

Galchin, Vasili vigalchin at gmail.com
Fri Oct 17 19:23:32 EDT 2008


Hello,

    I am trying to "cabal install" HSQL. I am using ghc 6.8.2. I get the
following error about a non-visible/hidden package (old-time-1.0.0.0):

vigalchin at ubuntu:~$ cabal install hsql
Resolving dependencies...
'hsql-1.7' is cached.
[1 of 1] Compiling Main             ( Setup.lhs, dist/setup/Main.o )
Linking dist/setup/setup ...
Configuring hsql-1.7...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Preprocessing library hsql-1.7...
Building hsql-1.7...

Database/HSQL.hsc:66:7:
    Could not find module `System.Time':
      it is a member of package old-time-1.0.0.0, which is hidden
cabal: Error: some packages failed to install:
hsql-1.7 failed during the building phase. The exception was:
exit: ExitFailure 1
vigalchin at ubuntu:~$

I don't see (old-time-1.0.0.0) with parens around it so I am confused:

vigalchin at ubuntu:~$ ghc-pkg list
/usr/local/lib/ghc-6.8.2/package.conf:
    Cabal-1.2.3.0, GLUT-2.1.1.1, HUnit-1.2.0.0, OpenGL-2.2.1.1,
    QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0,
    bytestring-0.9.0.1, cgi-3001.1.5.1, containers-0.1.0.1,
    directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, (ghc-6.8.2),
    haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1,
    mtl-1.1.0.0, network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0,
    packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0,
    pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0,
    regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2,
    rts-1.0, stm-2.1.1.0, template-haskell-2.2.0.0, time-1.1.2.0,
    unix-2.3.0.0, xhtml-3000.0.2.1
/home/vigalchin/.ghc/i386-linux-6.8.2/package.conf:
    Cabal-1.4.0.1, GLFW-0.3, HDBC-1.1.5, HTTP-3001.0.4,
    MonadRandom-0.1.1, Stream-0.2.6, Takusen-0.8.3, X11-1.4.2,
    arrows-0.4, binary-0.4.2, category-extras-0.53.5, chp-1.1.0,
    dlist-0.4.1, event-list-0.0.7, ipc-0.0.3, midi-0.0.6, mtl-1.1.0.1,
    network-bytestring-0.1.1.2, non-negative-0.0.3,
    posix-realtime-0.0.0.1, posix-realtime-0.0.0.2, probability-0.2.1,
    quantum-arrow-0.0.4, unix-2.4.0.0, zlib-0.4.0.4

??

What is the history of old-time package?

Regards, Vasili
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081017/67015bb9/attachment.htm


More information about the Haskell-Cafe mailing list