
vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs clean cleaning... vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs configure --user --prefix=$HOME Configuring hsql-1.7... Warning: No license-file field. vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs build 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 vigalchin@ubuntu:~/Desktop/hsql-1.7$ I have a global ghc installation plus a local one off my user directory. In any case, when I do "ghc-pkg list" .... old-time-1.0.0.0 is not hidden. ???? Bottom line is how do I install DB libraries with least pain?? Regards, Vasili

On Tue, 8 Jul 2008, Galchin, Vasili wrote:
vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs clean cleaning... vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs configure --user --prefix=$HOME Configuring hsql-1.7... Warning: No license-file field. vigalchin@ubuntu:~/Desktop/hsql-1.7$ runhaskell Setup.lhs build 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 vigalchin@ubuntu:~/Desktop/hsql-1.7$
I have a global ghc installation plus a local one off my user directory. In any case, when I do "ghc-pkg list" .... old-time-1.0.0.0 is not hidden. ???? Bottom line is how do I install DB libraries with least pain??
Is old-time listed in the dependencies of the HSQL package? Problem is probably that many functions moved from 'base' to smaller packages like 'old-time' but package maintainers did not move to new compilers and thus new package structure. It's very inconvenient, but a known issue.

2008/7/8 Galchin, Vasili
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 vigalchin@ubuntu:~/Desktop/hsql-1.7$
I have a global ghc installation plus a local one off my user directory. In any case, when I do "ghc-pkg list" .... old-time-1.0.0.0 is not hidden. ????
I believe "hidden" here means that the .cabal file isn't specifically told it's okay to use "old-time", thus it's "hidden" to cabal, not to GHC. If you add "old-time" to the Build-depends field of the package, you should be able to get rid of this message. -- Denis

Thanks to everybody who responded!
Vasili
On Tue, Jul 8, 2008 at 7:40 AM, Denis Bueno
2008/7/8 Galchin, Vasili
: 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 vigalchin@ubuntu:~/Desktop/hsql-1.7$
I have a global ghc installation plus a local one off my user directory. In any case, when I do "ghc-pkg list" .... old-time-1.0.0.0 is not hidden. ????
I believe "hidden" here means that the .cabal file isn't specifically told it's okay to use "old-time", thus it's "hidden" to cabal, not to GHC.
If you add "old-time" to the Build-depends field of the package, you should be able to get rid of this message.
-- Denis
participants (3)
-
Denis Bueno
-
Galchin, Vasili
-
Henning Thielemann