[MacPorts] #16872: configure: error: Package requirements (pygobject-2.0 >= 2.14.0) were not met:

MacPorts noreply at macports.org
Wed Oct 15 17:52:26 PDT 2008


#16872: configure: error: Package requirements (pygobject-2.0 >= 2.14.0) were not
met:
-------------------------------------+--------------------------------------
  Reporter:  rsopublic at magmatic.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                  |      Status:  new                                  
  Priority:  Normal                  |   Milestone:  Port Bugs                            
 Component:  ports                   |     Version:  1.6.0                                
Resolution:                          |    Keywords:                                       
      Port:                          |  
-------------------------------------+--------------------------------------

Comment(by rsopublic at magmatic.com):

 Ok, now I know I have   py-gobject @2.14.1_0+darwin_9 (active)

 So after activating and deactivating I get this

 XXXX$ sudo port install rb-gnome
 Password:
 --->  Configuring py25-gtk
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/pygtk-2.12.1"
 && ./configure --prefix=/opt/local --disable-glibtest " returned error 1
 Command output: checking dynamic linker characteristics... darwin9.5.0
 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 configure: creating libtool
 checking whether /opt/local/bin/python2.5 version >= 2.3.5... yes
 checking for /opt/local/bin/python2.5 version... 2.5
 checking for /opt/local/bin/python2.5 platform... darwin
 checking for /opt/local/bin/python2.5 script directory...
 ${prefix}/lib/python2.5/site-packages
 checking for /opt/local/bin/python2.5 extension module directory...
 ${exec_prefix}/lib/python2.5/site-packages
 checking for headers required to compile python extensions... found
 checking for PySignal_SetWakeupFd in Python.h... no
 checking for python module thread... yes
 checking whether to enable threading in pygtk... yes
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.16... yes
 checking for GLIB - version >= 2.8.0... yes (version 2.18.1)
 checking for PYGOBJECT... configure: error: Package requirements
 (pygobject-2.0 >= 2.14.0) were not met:

 No package 'pygobject-2.0' found

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
 and PYGOBJECT_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


 Error: The following dependencies failed to build: gnome-session gnome-
 control-center gnome-desktop py25-gnome py25-gtk py25-orbit startup-
 notification gnome-menus gnome-panel libgweather libwnck gnome-settings-
 daemon gst-plugins-good aalib flac id3lib libogg gst-plugins-base
 cdparanoia gstreamer bison m4 flex gzip liboil libtheora libvorbis libcaca
 libcdio libcddb libdv libshout2 speex taglib wavpack libgnomekbd
 libxklavier metacity nautilus eel libexif libgnomeprintui libgnomeprint
 libgnomecups libgtkhtml ruby
 Error: Status 1 encountered during processing.
 soconnells-Computer-17:bin soconnell$ sudo port installed pygtk
 Password:
 None of the specified ports are installed.
 soconnells-Computer-17:bin soconnell$ sudo port installed py-gtk
 None of the specified ports are installed.
 soconnells-Computer-17:bin soconnell$ sudo port installed pyGTK+
 None of the specified ports are installed.
 soconnells-Computer-17:bin soconnell$ sudo port installed gtk+
 None of the specified ports are installed.
 soconnells-Computer-17:bin soconnell$ sudo port installed gtk
 None of the specified ports are installed.
 soconnells-Computer-17:bin soconnell$ sudo port install gtk
 Error: Port gtk not found
 soconnells-Computer-17:bin soconnell$ sudo port install pygtk
 Error: Port pygtk not found
 soconnells-Computer-17:bin soconnell$ sudo port install py-gtk
 Error: Port py-gtk not found
 soconnells-Computer-17:bin soconnell$ sudo port installed py-gtk2
 The following ports are currently installed:
   py-gtk2 @2.12.1_0+darwin_9 (active)
 soconnells-Computer-17:bin soconnell$ sudo port installed py-gobject
 The following ports are currently installed:
   py-gobject @2.14.1_0+darwin_9
 soconnells-Computer-17:bin soconnell$ sudo port activate py-gobject
 --->  Activating py-gobject
 soconnells-Computer-17:bin soconnell$ sudo port install rb-gnome
 --->  Configuring py25-gtk
 --->  Building py25-gtk with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/pygtk-2.12.1"
 && make all " returned error 2
 Command output: Warning: Constructor for PangoLayout needs to be updated
 to new API
          See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
 ***INFO*** The coverage of global functions is 83.67% (41/49)
 ***INFO*** The coverage of methods is 94.74% (180/190)
 ***INFO*** The coverage of virtual proxies is 58.62% (17/29)
 ***INFO*** The coverage of virtual accessors is 68.97% (20/29)
 ***INFO*** There are no declared interface proxies.
 if /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -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   -D_REENTRANT
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -I./gtk  -I/opt/local/include
 -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   -O2 -Wall -fno-
 strict-aliasing -std=c9x -MT pango_la-pango.lo -MD -MP -MF ".deps
 /pango_la-pango.Tpo" -c -o pango_la-pango.lo `test -f 'pango.c' || echo
 './'`pango.c; \
         then mv -f ".deps/pango_la-pango.Tpo" ".deps/pango_la-pango.Plo";
 else rm -f ".deps/pango_la-pango.Tpo"; exit 1; fi
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -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 -D_REENTRANT
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -I./gtk -I/opt/local/include
 -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 -O2 -Wall -fno-
 strict-aliasing -std=c9x -MT pango_la-pango.lo -MD -MP -MF .deps/pango_la-
 pango.Tpo -c pango.c  -fno-common -DPIC -o .libs/pango_la-pango.o
 /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc-4.0  -O2 -Wall -fno-
 strict-aliasing -std=c9x  -L/opt/local/lib -o pango.la -rpath
 /opt/local/lib/python2.5/site-packages/gtk-2.0 -module -avoid-version
 pango_la-pangomodule.lo pango_la-pango.lo -L/opt/local/lib -lpango-1.0 -lm
 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
 /usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
 .libs/pango.so -bundle  .libs/pango_la-pangomodule.o .libs/pango_la-
 pango.o  -L/opt/local/lib /opt/local/lib/libpango-1.0.dylib -lm
 /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libiconv.dylib
 creating pango.la
 (cd .libs && rm -f pango.la && ln -s ../pango.la pango.la)
 Making all in gtk
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -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   -I./gtk
 -I/opt/local/include   -DXTHREADS -I/opt/local/include/gtk-unix-print-2.0
 -I/opt/local/include/gtk-2.0 -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include
 -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/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/usr/X11/include   -O2 -Wall -fno-strict-
 aliasing -std=c9x -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF
 ".deps/gtkunixprint_la-gtkunixprintmodule.Tpo" -c -o gtkunixprint_la-
 gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo
 './'`gtkunixprintmodule.c; \
         then mv -f ".deps/gtkunixprint_la-gtkunixprintmodule.Tpo" ".deps
 /gtkunixprint_la-gtkunixprintmodule.Plo"; else rm -f ".deps
 /gtkunixprint_la-gtkunixprintmodule.Tpo"; exit 1; fi
 mkdir .libs
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -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 -I./gtk
 -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-unix-print-2.0
 -I/opt/local/include/gtk-2.0 -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include
 -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/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/usr/X11/include -O2 -Wall -fno-strict-
 aliasing -std=c9x -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF
 .deps/gtkunixprint_la-gtkunixprintmodule.Tpo -c gtkunixprintmodule.c
 -fno-common -DPIC -o .libs/gtkunixprint_la-gtkunixprintmodule.o
 gtkunixprintmodule.c:35:22: error: pycairo.h: No such file or directory
 gtkunixprintmodule.c:36: error: syntax error before '*' token
 gtkunixprintmodule.c:36: warning: type defaults to 'int' in declaration of
 'Pycairo_CAPI'
 gtkunixprintmodule.c:36: warning: data definition has no type or storage
 class
 gtkunixprintmodule.c: In function 'initgtkunixprint':
 gtkunixprintmodule.c:51: error: 'Pycairo_IMPORT' undeclared (first use in
 this function)
 gtkunixprintmodule.c:51: error: (Each undeclared identifier is reported
 only once
 gtkunixprintmodule.c:51: error: for each function it appears in.)
 make[2]: *** [gtkunixprint_la-gtkunixprintmodule.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: gnome-session gnome-
 control-center gnome-desktop py25-gnome py25-gtk py25-orbit startup-
 notification gnome-menus gnome-panel libgweather libwnck gnome-settings-
 daemon gst-plugins-good aalib flac id3lib libogg gst-plugins-base
 cdparanoia gstreamer bison m4 flex gzip liboil libtheora libvorbis libcaca
 libcdio libcddb libdv libshout2 speex taglib wavpack libgnomekbd
 libxklavier metacity nautilus eel libexif libgnomeprintui libgnomeprint
 libgnomecups libgtkhtml ruby
 Error: Status 1 encountered during processing.
 soconnells-Computer-17:bin soconnell$ sudo port installed py-gobject
 The following ports are currently installed:
   py-gobject @2.14.1_0+darwin_9 (active)
 soconnells-Computer-17:bin soconnell$ sudo port install rb-gnome
 --->  Building py25-gtk with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/pygtk-2.12.1"
 && make all " returned error 2
 Command output: make  all-recursive
 Making all in codegen
 make[2]: Nothing to be done for `all'.
 Making all in .
 make[2]: Nothing to be done for `all-am'.
 Making all in gtk
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -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   -I./gtk
 -I/opt/local/include   -DXTHREADS -I/opt/local/include/gtk-unix-print-2.0
 -I/opt/local/include/gtk-2.0 -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include
 -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/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/usr/X11/include   -O2 -Wall -fno-strict-
 aliasing -std=c9x -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF
 ".deps/gtkunixprint_la-gtkunixprintmodule.Tpo" -c -o gtkunixprint_la-
 gtkunixprintmodule.lo `test -f 'gtkunixprintmodule.c' || echo
 './'`gtkunixprintmodule.c; \
         then mv -f ".deps/gtkunixprint_la-gtkunixprintmodule.Tpo" ".deps
 /gtkunixprint_la-gtkunixprintmodule.Plo"; else rm -f ".deps
 /gtkunixprint_la-gtkunixprintmodule.Tpo"; exit 1; fi
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -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 -I./gtk
 -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-unix-print-2.0
 -I/opt/local/include/gtk-2.0 -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include
 -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/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/usr/X11/include -O2 -Wall -fno-strict-
 aliasing -std=c9x -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF
 .deps/gtkunixprint_la-gtkunixprintmodule.Tpo -c gtkunixprintmodule.c
 -fno-common -DPIC -o .libs/gtkunixprint_la-gtkunixprintmodule.o
 gtkunixprintmodule.c:35:22: error: pycairo.h: No such file or directory
 gtkunixprintmodule.c:36: error: syntax error before '*' token
 gtkunixprintmodule.c:36: warning: type defaults to 'int' in declaration of
 'Pycairo_CAPI'
 gtkunixprintmodule.c:36: warning: data definition has no type or storage
 class
 gtkunixprintmodule.c: In function 'initgtkunixprint':
 gtkunixprintmodule.c:51: error: 'Pycairo_IMPORT' undeclared (first use in
 this function)
 gtkunixprintmodule.c:51: error: (Each undeclared identifier is reported
 only once
 gtkunixprintmodule.c:51: error: for each function it appears in.)
 make[2]: *** [gtkunixprint_la-gtkunixprintmodule.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: gnome-session gnome-
 control-center gnome-desktop py25-gnome py25-gtk py25-orbit startup-
 notification gnome-menus gnome-panel libgweather libwnck gnome-settings-
 daemon gst-plugins-good aalib flac id3lib libogg gst-plugins-base
 cdparanoia gstreamer bison m4 flex gzip liboil libtheora libvorbis libcaca
 libcdio libcddb libdv libshout2 speex taglib wavpack libgnomekbd
 libxklavier metacity nautilus eel libexif libgnomeprintui libgnomeprint
 libgnomecups libgtkhtml ruby
 Error: Status 1 encountered during processing.

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


More information about the macports-tickets mailing list