In principle, if Gtk2Hs won't build Gtk, it means it's not installed.  
If you've installed Gtk+-2.0 using the packaging system, it should be  
found automatically. The gtk+-2.0.pc file is normally located under  
the /usr/lib/pkgconfig/ or thereabouts.

Cheers,
Axel.

On Dec 10, 2009, at 22:19, Lyle Kopnicky wrote:

> Hi folks,
>
> I downloaded the gtk2hs package. I ran 'configure', 'make' and  
> 'sudo make install'. It seemed to install a bunch of things, but  
> then when I type 'ghc-pkg list' it doesn't show a 'gtk' package. I  
> looked back at the configure log and noticed that it said it wasn't  
> going to build the gtk package. I'm not clear why it would not  
> build that. It does say something about adding the directory  
> containing 'gtk+-2.0.pc' to the PKG_CONFIG_PATH environment  
> variable; is that related? I can't find such a file - it didn't  
> seem to be in the archive.
>
> Anybody know what I need to do to get it to build all the packages?  
> I'm building on Ubuntu Karmic, 32-bit, if that helps.
>
> Thanks,
> Lyle
>
> checking pkg-config is at least version 0.9.0... yes
> checking for GLIB... yes
> checking for GTK... no
> checking whether to build gtk package... no
> checking for GIO... yes
> checking whether to build gio package... yes
> checking whether to build glade package... no
> checking for GCONF... no
> checking whether to build gconf package... no
> checking whether to build gtksourceview2 package... no
> checking whether to build sourceview package... no
> checking whether to build mozembed package... no
> checking whether to build mozembed package... no
> checking whether to build mozembed package... no
> checking whether to build mozembed package... no
> checking for CAIRO... yes
> checking whether to build cairo package... yes
> checking for SVGCAIRO... no
> checking whether to build svgcairo package... no
> checking whether to build gtkglext package... no
> checking for GNOMEVFS... no
> checking whether to build gnomevfs package... no
> checking for GSTREAMER... no
> checking whether to build gstreamer package... no
> Package gtk+-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk+-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk+-2.0' found
> Package gtksourceview-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtksourceview-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtksourceview-2.0' found
> Package pango was not found in the pkg-config search path.
> Perhaps you should add the directory containing `pango.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'pango' found
> Package gstreamer-0.10 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer-0.10.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-0.10' found
> Package gnome-vfs-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gnome-vfs-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gnome-vfs-2.0' found
> Package librsvg-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `librsvg-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'librsvg-2.0' found
>
>
> ---------------------------------------------------------------------- 
> --------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Gtk2hs-devel mailing list
> Gtk2hs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to