[pygtk] How to install pyGTK on Mac?
Anders F Björklund
afb at users.sourceforge.net
Sat Dec 31 18:15:29 WST 2011
Stayvoid wrote:
> Hi there!
>
> How to install it?
>
> This FAQ looks outdated:
> http://faq.pygtk.org/index.py?req=show&file=faq01.019.htp
The entry and links are outdated, but the ways are right...
If you want to use GTK-OSX and jhbuild, see the new page:
http://live.gnome.org/GTK%2B/OSX/Building (or gtk.org)
If you want to use MacPorts or Fink, the links are now:
http://www.macports.org/ and http://www.finkproject.org/
> I've also tried to compile it from source:
> PyGTK asked for pkg-config and pygobject.
> Pygobject asked for pkg-config.
> Pkg-config asked for pkg-config and glib:
> configure: error: pkg-config and glib-2.0 not found, please set
> GLIB_CFLAGS and GLIB_LIBS to the correct values
>
> I know that there is no glib on Mac by default. Where can I get it?
If you want to compile everything up from source, see:
http://developer.gnome.org/gtk/stable/gtk-building.html
I have made some binary packages, for Mac OS X 10.5 up:
http://macpkg.sourceforge.net/
The PyGTK.pkg contains everything needed to run PyGTK.
--anders
More information about the pygtk
mailing list