[MacPorts] #16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h)
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) --------------------------------------------+------------------------------- Reporter: macports@henrik.synth.no | Owner: macports-tickets@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
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * cc: jmr@macports.org (added) Comment: I can't reproduce this. I have py25-gtk installed, don't have py-gtk2, and gimp2 builds fine. I did use +without_gnome to save time on dependencies, and I'm using MacPorts trunk on Leopard. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by macports@henrik.synth.no): The file plug-ins/pygimp/gimpuimodule.c in gimp-2.4.5.tar.bz2 contains a reference to pygtk/pygtk.h: {{{ #include <pygtk/pygtk.h> }}} Somehow, py-gtk2 is the only package I have that provides this on my home computer: {{{ home$ find /opt/local/include -name pygtk.h -print0 |xargs -0 port provides /opt/local/include/pygtk-2.0/pygtk/pygtk.h is provided by: py-gtk2 home$ port installed py25-gtk The following ports are currently installed: py25-gtk @2.12.1_0+darwin_9 (active) home$ port installed py-gtk2 The following ports are currently installed: py-gtk2 @2.12.1_0+darwin_9 (active) }}} .. while my work computer doesn't need py-gtk2 since py25-gtk provides pygtk.h there. {{{ work$ find /opt/local/include -name pygtk.h -print0 |xargs -0 port provides /opt/local/include/pygtk-2.0/pygtk/pygtk.h is provided by: py25-gtk work$ port installed py25-gtk The following ports are currently installed: py25-gtk @2.12.1_0+darwin_9 (active) work$ port installed py-gtk2 None of the specified ports are installed. }}} py25-gtk is the same version (and variant) on both machines, how are they able to provide a different file set? They do provide a different number of files: {{ home$ port contents py25-gtk |wc -l 609 work$ port contents py25-gtk |wc -l 648 }} -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by blb@macports.org): I can't reproduce this either, without any variants. My py25-gtk does provide the given file as well. There may be some conflict issues between having both py25-gtk and py-gtk2 installed; do you need py-gtk2 installed for anything? If not, try deactivating both then reactivating just py25-gtk. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by jmr@macports.org): If they both installed the file then the second one to be activated would fail. But maybe one of them builds differently when the other is installed? -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by macports@henrik.synth.no): Originally I only had py25-gtk installed on both. I discovered that gimp2 wouldn't install on one of them ("home"), and had to install py-gtk2 to make it work. (jmr: yes, I had to force-activate py-gtk2 to make it install) -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by macports@henrik.synth.no): The extra files in py25-gtk for "work": {{{
/opt/local/include/pygtk-2.0/pygtk/pygtk.h /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/glade.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtkunixprint.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtkunixprint.so /opt/local/share/pygtk/2.0/defs/gdk-2.10.defs /opt/local/share/pygtk/2.0/defs/gdk-2.12.defs /opt/local/share/pygtk/2.0/defs/gdk-base-types.defs /opt/local/share/pygtk/2.0/defs/gdk-base.defs /opt/local/share/pygtk/2.0/defs/gdk-types.defs /opt/local/share/pygtk/2.0/defs/gdk.defs /opt/local/share/pygtk/2.0/defs/gtk-2.10-types.defs /opt/local/share/pygtk/2.0/defs/gtk-2.10.defs /opt/local/share/pygtk/2.0/defs/gtk-2.12-types.defs /opt/local/share/pygtk/2.0/defs/gtk-2.12.defs /opt/local/share/pygtk/2.0/defs/gtk-base-types.defs /opt/local/share/pygtk/2.0/defs/gtk-base.defs /opt/local/share/pygtk/2.0/defs/gtk-extrafuncs.defs /opt/local/share/pygtk/2.0/defs/gtk-types.defs /opt/local/share/pygtk/2.0/defs/gtk.defs /opt/local/share/pygtk/2.0/defs/gtkunixprint.defs /opt/local/share/pygtk/2.0/defs/libglade.defs }}}
-- Ticket URL: <http://trac.macports.org/ticket/16322#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by blb@macports.org): Replying to [comment:5 macports@henrik.synth.no]:
Originally I only had py25-gtk installed on both. I discovered that gimp2 wouldn't install on one of them ("home"), and had to install py-gtk2 to make it work.
Did it fail for this same reason if you can remember? -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by macports@henrik.synth.no): blb: I'm not quite sure if I understand. I've only had one error, and that's the one with the missing pygtk.h on my "home" computer. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, gimp2, py25-gtk, py-gtk2 ---------------------------------------+------------------------------------ Comment (by blb@macports.org): My guess is that the py25-gtk install has issues on your home machine. If you don't need py-gtk2 for anything else on that machine, uninstall it and py25-gtk, then try a new install of just py25-gtk and see if that make gimp2 happy. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, py25-gtk, py-gtk2 Port: gimp2 | ---------------------------------------+------------------------------------ Changes (by devans@macports.org): * keywords: gimp, gimp2, py25-gtk, py-gtk2 => gimp, py25-gtk, py-gtk2 * port: => gimp2 Comment: gimp2 has been upgraded to 2.6.1 and I have heard no more instances of this problem. Can this problem be demonstrated on 2.6.1 or is it resolved and the ticket can be closed? -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp, py25-gtk, py-gtk2 Port: gimp2 | ---------------------------------------+------------------------------------ Comment(by macports@henrik.synth.no): Just close it. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16322: gimp2 lacks dependency to py-gtk2 (or py25-gtk lacks pygtk/pygtk.h) ---------------------------------------+------------------------------------ Reporter: macports@henrik.synth.no | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: gimp, py25-gtk, py-gtk2 Port: gimp2 | ---------------------------------------+------------------------------------ Changes (by devans@macports.org): * status: new => closed * resolution: => fixed Comment: Done. -- Ticket URL: <http://trac.macports.org/ticket/16322#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts