[MacPorts] #16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h)

MacPorts noreply at macports.org
Sat Aug 16 03:49:27 PDT 2008


#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h)
--------------------------------------------+-------------------------------
 Reporter:  macports at henrik.synth.no        |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:  Port Bugs                            
Component:  ports                           |     Version:  1.6.0                                
 Keywords:  gimp, gimp2, py25-gtk, py-gtk2  |  
--------------------------------------------+-------------------------------
 When trying to install gimp2 @2.4.5_1, I got this:
 {{{
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
 -I/opt/local/include/pygtk-2.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS
 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12
 -I/usr/X11R6/include -I/opt/local/include/pixman-1 -I/opt/local/include
 -DGIMP_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
 -DGTK_MULTIHEAD_SAFE -fno-strict-aliasing -O2 -Wall -Wdeclaration-after-
 statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
 -Wpointer-arith -MT gimpuimodule.lo -MD -MP -MF .deps/gimpuimodule.Tpo -c
 gimpuimodule.c  -fno-common -DPIC -o .libs/gimpuimodule.o
 gimpuimodule.c:28:25: error: pygtk/pygtk.h: No such file or directory
 gimpuimodule.c: In function 'init_gimpui':
 gimpuimodule.c:70: warning: implicit declaration of function 'init_pygtk'
 make[4]: *** [gimpuimodule.lo] Error 1
 make[3]: *** [all-recursive] Error 1
 }}}
 I already had py25-gtk installed, but that didn't help.  Installing py-
 gtk2 solved it:
 {{{
 sudo port deactivate py25-gtk
 sudo port install py-gtk2
 sudo port -f activate py25-gtk
 sudo port install gimp2
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16322>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list