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@…
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: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: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: | new → closed |
the latest version of port:rb-gnome does not have this problem.
Ok, now I know I have py-gobject @2.14.1_0+darwin_9 (active)
So after activating and deactivating I get this