[Haskell-cafe] [cabal] How to deal with build-depency that not
under cabal's control?
roma at ro-che.info
Sun Jun 14 06:52:58 EDT 2009
* Magicloud Magiclouds <magicloud.magiclouds at gmail.com> [2009-06-14 18:48:26+0800]
> My gtk2hs is install manually, `configure && make && make install`. So
> when I add gtk to build-dependency, it tells me
> Setup.hs: At least the following dependencies are missing:
> gtk -any
Installation of gtk2hs registers these packages for you.
Again, check `ghc-pkg list gtk`. If you installed gtk2hs, it must be
there. If you, say, upgraded your ghc after you installed gtk2hs, you
have to reinstall gtk2hs.
> How to register my manual-installed gtk2hs to cabal?
> On Sun, Jun 14, 2009 at 6:25 PM, Roman Cheplyaka<roma at ro-che.info> wrote:
> > * Magicloud Magiclouds <magicloud.magiclouds at gmail.com> [2009-06-14 17:30:33+0800]
> >> Hi,
> >> I use gtk2hs in linux. Well, I have no idea how to install gtk2hs by
> >> cabal, but my program needs it, and I want my program cabalized. So
> >> how to do this?
> >> Thanks.
> > gtk2hs consists of several cabal packages, e.g. gtk, glib and so on.
> > (See `ghc-pkg list`)
> > Specify those of them you need as dependencies in cabal file.
> > --
> > Roman I. Cheplyaka :: http://ro-che.info/
> > "Don't let school get in the way of your education." - Mark Twain
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
Roman I. Cheplyaka :: http://ro-che.info/
"Don't let school get in the way of your education." - Mark Twain
More information about the Haskell-Cafe