<div dir="ltr">Hello,<br><br> I am trying to "cabal install" HSQL. I am using ghc <a href="http://6.8.2.">6.8.2.</a> I get the following error about a non-visible/hidden package (old-time-1.0.0.0):<br><br>vigalchin@ubuntu:~$ cabal install hsql<br>
Resolving dependencies...<br>'hsql-1.7' is cached.<br>[1 of 1] Compiling Main ( Setup.lhs, dist/setup/Main.o )<br>Linking dist/setup/setup ...<br>Configuring hsql-1.7...<br>Warning: No 'build-type' specified. If you do not need a custom Setup.hs or<br>
./configure script then use 'build-type: Simple'.<br>Preprocessing library hsql-1.7...<br>Building hsql-1.7...<br><br>Database/HSQL.hsc:66:7:<br> Could not find module `System.Time':<br> it is a member of package old-time-1.0.0.0, which is hidden<br>
cabal: Error: some packages failed to install:<br>hsql-1.7 failed during the building phase. The exception was:<br>exit: ExitFailure 1<br>vigalchin@ubuntu:~$ <br><br>I don't see (old-time-1.0.0.0) with parens around it so I am confused:<br>
<br>vigalchin@ubuntu:~$ ghc-pkg list<br>/usr/local/lib/ghc-6.8.2/package.conf:<br> Cabal-1.2.3.0, GLUT-2.1.1.1, HUnit-1.2.0.0, OpenGL-2.2.1.1,<br> QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0,<br> bytestring-0.9.0.1, cgi-3001.1.5.1, containers-0.1.0.1,<br>
directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, (ghc-6.8.2),<br> haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1,<br> mtl-1.1.0.0, network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0,<br> packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0,<br>
pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0,<br> regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2,<br> rts-1.0, stm-2.1.1.0, template-haskell-2.2.0.0, time-1.1.2.0,<br> unix-2.3.0.0, xhtml-3000.0.2.1<br>
/home/vigalchin/.ghc/i386-linux-6.8.2/package.conf:<br> Cabal-1.4.0.1, GLFW-0.3, HDBC-1.1.5, HTTP-3001.0.4,<br> MonadRandom-0.1.1, Stream-0.2.6, Takusen-0.8.3, X11-1.4.2,<br> arrows-0.4, binary-0.4.2, category-extras-0.53.5, chp-1.1.0,<br>
dlist-0.4.1, event-list-0.0.7, ipc-0.0.3, midi-0.0.6, mtl-1.1.0.1,<br> network-bytestring-0.1.1.2, non-negative-0.0.3,<br> posix-realtime-0.0.0.1, posix-realtime-0.0.0.2, probability-0.2.1,<br> quantum-arrow-0.0.4, unix-2.4.0.0, zlib-0.4.0.4<br>
<br>??<br><br>What is the history of old-time package?<br><br>Regards, Vasili<br></div>