Re: [Haskell-cafe] package question/problem
Hi Vasili, have a look at all options of ghc-pkg. There is one command to hide a package. Hidden packages will be shown by ghc-pkg list in parenthesis. The second way to hide packages is passing a special option to ghc (you can look it up in the ghc documentation or by running ./setup build -v3). Probably here it's another reason: Maybe the build-depends fields of the package are wrong. So just open the .cabal file and add it. pay attention to if flag(...) build-depends : else build-depends : so that you add it to the right one. >What is the history of old-time package? Hmm. It's superseded by the new time library found on hackage.. I hope that this message will help you. Sincerly Marc Weber ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
Galchin, Vasili wrote: > 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): > > [EMAIL PROTECTED]:~$ cabal install hsql [snip] > 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 > [EMAIL PROTECTED]:~$ This happens because Cabal invokes ghc with the -hide-all-packages flag. It then adds explicit -package flags for all packages listed as build dependencies. (The idea is to force developers to specify all their package's dependencies in the library's .cabal file.) Sadly, hsql looks unmaintained. You can try unpacking the hsql-1.7 tarball and adding the required dependencies to the build-depends: field of the .cabal file. Running 'cabal install' in the source directory will attempt to install the package. > What is the history of old-time package? old-time was split out of the base package in base 3.0 (which ships with ghc 6.8.x). HTH, Bertram ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
On Fri, 2008-10-17 at 18:23 -0500, Galchin, Vasili wrote: > Hello, > > I am trying to "cabal install" HSQL. I am using ghc 6.8.2. The simple answer is that the package is unmaintained and has not been updated to work with ghc 6.8.x. You can either use HDBC instead or fix HSQL by applying one of the patches floating around or fix it by following Bertram or Marc's advice. (Note that ghc-pkg hide/expose is a red herring) Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
Hi Duncan, I was under the impression that HDBC doesn't support myqsl?? Regards, Vasili On Sat, Oct 18, 2008 at 6:36 PM, Duncan Coutts <[EMAIL PROTECTED]>wrote: > On Fri, 2008-10-17 at 18:23 -0500, Galchin, Vasili wrote: > > Hello, > > > > I am trying to "cabal install" HSQL. I am using ghc 6.8.2. > > The simple answer is that the package is unmaintained and has not been > updated to work with ghc 6.8.x. > > You can either use HDBC instead or fix HSQL by applying one of the > patches floating around or fix it by following Bertram or Marc's advice. > > (Note that ghc-pkg hide/expose is a red herring) > > > Duncan > > ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
On Sat, 18 Oct 2008, Duncan Coutts wrote: On Fri, 2008-10-17 at 18:23 -0500, Galchin, Vasili wrote: Hello, I am trying to "cabal install" HSQL. I am using ghc 6.8.2. The simple answer is that the package is unmaintained and has not been updated to work with ghc 6.8.x. As far as I know, the current maintainer is Frederik Eaton <[EMAIL PROTECTED]>. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
Hi, Galchin, Vasili wrote: > Hi Duncan, > > I was under the impression that HDBC doesn't support myqsl?? You can connect HDBC to MySQL using the HDBC-ODBC backend, see http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HDBC-odbc. Greetings, Mads Lindstrøm > > Regards, Vasili > > On Sat, Oct 18, 2008 at 6:36 PM, Duncan Coutts > <[EMAIL PROTECTED]> wrote: > On Fri, 2008-10-17 at 18:23 -0500, Galchin, Vasili wrote: > > Hello, > > > > I am trying to "cabal install" HSQL. I am using ghc > 6.8.2. > > > The simple answer is that the package is unmaintained and has > not been > updated to work with ghc 6.8.x. > > You can either use HDBC instead or fix HSQL by applying one of > the > patches floating around or fix it by following Bertram or > Marc's advice. > > (Note that ghc-pkg hide/expose is a red herring) > > > Duncan > > > > ___ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] package question/problem
On Sat, 2008-10-18 at 23:38 -0500, Galchin, Vasili wrote: > Hi Duncan, > > I was under the impression that HDBC doesn't support myqsl?? I believe it works via ODBC. But perhaps you can persuade Frederik Eaton to make new working releases of HSQL. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe