http://haskell.org/cabal/FAQ.html#runghc-setup-complains-of-missing-packages
On Mon, 2009-06-15 at 10:30 +0300, Roman Cheplyaka wrote: > I'm CC:ing Duncan, probably he can help. > > * Magicloud Magiclouds <magicloud.magiclo...@gmail.com> [2009-06-15 > 10:01:03+0800] > > # ghc-pkg list gtk > > /var/lib/ghc-6.10.3/./package.conf: > > /home/shidaw/.ghc/i386-linux-6.10.3/package.conf: > > gtk-0.10.1 > > Well, still, I have the problem.... > > > > On Sun, Jun 14, 2009 at 6:52 PM, Roman Cheplyaka<r...@ro-che.info> wrote: > > > * Magicloud Magiclouds <magicloud.magiclo...@gmail.com> [2009-06-14 > > > 18:48:26+0800] > > >> My gtk2hs is install manually, `configure && make && make install`. So > > > > > > It's okay. > > > > > >> 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<r...@ro-che.info> wrote: > > >> > * Magicloud Magiclouds <magicloud.magiclo...@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@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 > > > > > > > > > > > -- > > 竹密岂妨流水过 > > 山高哪阻野云飞 > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe