Opened 16 years ago

Closed 14 years ago

#16872 closed defect (worksforme)

configure: error: Package requirements (pygobject-2.0 >= 2.14.0) were not met:

Reported by: rsopublic@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: rb-gnome

Description

checking for PYGOBJECT... configure: error: Package requirements (pygobject-2.0 >= 2.14.0) were not met:

No package 'pygobject-2.0' found

Had another issue wil gail like this.

installing rb-gnome. Thanks

Change History (12)

comment:1 Changed 16 years ago by rsopublic@…

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.

comment:2 Changed 16 years ago by blb@…

Watch your python versions, some things are py- (which is python24) and some py25- (python25); py25-gtk should need py25-gobject, but it is listed as a dependency of py25-gtk. Is py25-gtk your eventual desire for a port, or something which requires it?

comment:3 Changed 16 years ago by rsopublic@…

Ok, then how about this. At this point how can I reset since it seems that the rb-gnome install has loaded lib that may not be correct. I will update all again but.... here is the latest error after with py25-gtk

sudo port install 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: make  all-recursive
Making all in codegen
make[2]: Nothing to be done for `all'.
Making all in .
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/atk-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 atk_la-atkmodule.lo -MD -MP -MF ".deps/atk_la-atkmodule.Tpo" -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c; \
	then mv -f ".deps/atk_la-atkmodule.Tpo" ".deps/atk_la-atkmodule.Plo"; else rm -f ".deps/atk_la-atkmodule.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/atk-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 atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c atkmodule.c  -fno-common -DPIC -o .libs/atk_la-atkmodule.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 atk.la -rpath /opt/local/lib/python2.5/site-packages/gtk-2.0 -module -avoid-version  atk_la-atkmodule.lo atk_la-atk.lo -L/opt/local/lib -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   
rm -fr  .libs/atk.la .libs/atk.lai .libs/atk.so
/usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/atk.so -bundle  .libs/atk_la-atkmodule.o .libs/atk_la-atk.o  -L/opt/local/lib /opt/local/lib/libatk-1.0.dylib /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 atk.la
(cd .libs && rm -f atk.la && ln -s ../atk.la atk.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
 /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

comment:4 Changed 16 years ago by rsopublic@…

During the upgrade

--->  Configuring py-numpy
--->  Building py-numpy with target build
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_py-numpy/work/numpy-1.1.1" && /opt/local/bin/python2.4 setup.py build " returned error 1
Command output: Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_5585
blas_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']

lapack_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3']

running build
running scons
customize UnixCCompiler
Could not locate executable -fno-strict-aliasing
error: Could not find compiler executable info for scons

Error: Unable to upgrade port: 1

comment:5 Changed 16 years ago by rsopublic@…

py-numpy upgraded...

comment:6 Changed 16 years ago by rsopublic@…

py25 i have

The following ports are currently installed:
  py25-cairo @1.4.12_2+darwin_9 (active)
  py25-gobject @2.14.2_0+darwin_9 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-libxml2 @2.6.21_1 (active)
  py25-nose @0.10.3_1 (active)
  py25-numeric @24.2_1+macosx (active)
  py25-numpy @1.2.0_0 (active)
  py25-setuptools @0.6c8_2 (active)
  py25-zlib @2.5.2_0 (active)

comment:7 Changed 16 years ago by blb@…

The error

Could not locate executable -fno-strict-aliasing

is caused by the Tcl env bug, ticket #13930, so a clean of the failing port then building again should get you past that.

The error for py25-gtk, though, is interesting:

/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

pycairo.h should be provided by py25-cairo, which you show as installed & active; to make sure, does /opt/local/include/pycairo/pycairo.h exist? If so, then it sounds like py25-gtk is not picking up the information needed to see it, since the gcc line doesn't show that directory in any of the -I flags.

comment:8 Changed 16 years ago by rsopublic@…

touch

any update?? I deactivated and then reinstalled, removed older versions

sudo port install 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: 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: Status 1 encountered during processing.

comment:9 Changed 16 years ago by rsopublic@…

Any update, seems like all of the ruby-gnome want py- not py25- thanks

comment:10 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:11 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to kimuraw@…
Port: rb-gnome added

Reading through this bug report, I find it hard to tell what the specific problem being reported is or even which port the ticket is against. Assigning to the maintainer of the first port mentioned. Please feel free to close as invalid, or request separate tickets to be opened for each separate problem.

comment:12 Changed 14 years ago by kimuraw (kimura wataru)

Resolution: worksforme
Status: newclosed

the latest version of port:rb-gnome does not have this problem.

Note: See TracTickets for help on using tickets.