Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with Python/Pygtk Please!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sat Apr 11, 2009 7:32 am    Post subject: Help with Python/Pygtk Please! Reply with quote

Bear with me on this because it's a bit of a story...

Earlier today I emerged GIMP. Afterwards, I went to start Cedega and it wouldn't start. The console output complained about a missing pygtk module. Re-emerging didn't help, and me being the idiot I am, decided to unmerge Python and reinstall. Well after the long a painful process of getting Python reinstalled and portage working again, I find myself in a bit of a different predicament. Instead of havinf pygtk installed and having Cedega complaining, now I can't even emerge pygtk. Any help would be much apreciated... Here's my output:

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/pygtk-2.14.1
* pygtk-2.14.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pygtk-2.14.1.tar.bz2 to /var/tmp/portage/dev-python/pygtk-2.14.1/work
* Applying pygtk-2.13.0-fix-codegen-location.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-python/pygtk-2.14.1/work
>>> Compiling source in /var/tmp/portage/dev-python/pygtk-2.14.1/work/pygtk-2.14.1 ...
* econf: updating pygtk-2.14.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating pygtk-2.14.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i486-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-docs --enable-thread --build=i486-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i486-pc-linux-gnu-gcc... i486-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-pc-linux-gnu-gcc accepts -g... yes
checking for i486-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i486-pc-linux-gnu-gcc... gcc3
checking for bind_textdomain_codeset... yes
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i486-pc-linux-gnu-gcc... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i486-pc-linux-gnu/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for i486-pc-linux-gnu-ar... i486-pc-linux-gnu-ar
checking for i486-pc-linux-gnu-strip... i486-pc-linux-gnu-strip
checking for i486-pc-linux-gnu-ranlib... i486-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i486-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i486-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i486-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i486-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i486-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i486-pc-linux-gnu-gcc static flag -static works... yes
checking if i486-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i486-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i486-pc-linux-gnu-gcc linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python 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... yes
checking for python module thread... yes
checking whether to enable threading in pygtk... yes
./configure: line 11833: ./libtool: No such file or directory
checking for i486-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... yes (version 2.18.4)
checking for PYGOBJECT... yes
checking for ATK... yes
checking for PANGO... yes
checking for codegen... /usr/lib/python2.6/site-packages/gtk-2.0/codegen
checking for PYCAIRO... yes
checking for PANGOCAIRO... yes
checking for GTK... yes
checking for GTK210... yes
checking for GTK212... yes
checking for GTK214... yes
checking for LIBGLADE... yes
checking for GTKUNIXPRINT... yes
checking for GDK target... x11
checking for Numeric/arrayobject.h... no
checking whether i486-pc-linux-gnu-gcc understands -Wall... yes
checking whether i486-pc-linux-gnu-gcc understands -fno-strict-aliasing... yes
checking whether i486-pc-linux-gnu-gcc understands -std=c9x... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygtk-2.0.pc
config.status: creating pygtk-codegen-2.0
config.status: creating gtk/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating pygtk.spec
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

The following modules will be built:

atk
pango
pangocairo
gtk with 2.14 API
gtk.glade
gtk.unixprint

make -j3
make all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.1/work/pygtk-2.14.1'
Making all in .
make[2]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.1/work/pygtk-2.14.1'
if /bin/sh ./libtool --tag=CC --mode=compile i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./gtk -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -pipe -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
(cd .\
&& /usr/bin/python /usr/lib/python2.6/site-packages/gtk-2.0/codegen/codegen.py \
--py_ssize_t-clean \
--register pango-types.defs \
--register atk-types.defs \
--register gtk/gtk-base-types.defs \
--override atk.override \
--prefix pyatk atk.defs) > ./gen-atk.c \
&& cp ./gen-atk.c ./atk.c \
&& rm -f ./gen-atk.c
if /bin/sh ./libtool --tag=CC --mode=compile i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./gtk -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -pipe -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF ".deps/pango_la-pangomodule.Tpo" -c -o pango_la-pangomodule.lo `test -f 'pangomodule.c' || echo './'`pangomodule.c; \
then mv -f ".deps/pango_la-pangomodule.Tpo" ".deps/pango_la-pangomodule.Plo"; else rm -f ".deps/pango_la-pangomodule.Tpo"; exit 1; fi
/usr/bin/python: can't open file '/usr/lib/python2.6/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
make[2]: *** [atk.c] Error 2
make[2]: *** Waiting for unfinished jobs....
libtool: compile: i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./gtk -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -pipe -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c atkmodule.c -fPIC -DPIC -o .libs/atk_la-atkmodule.o
libtool: compile: i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I./gtk -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -mtune=i686 -pipe -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o .libs/pango_la-pangomodule.o
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.1/work/pygtk-2.14.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.1/work/pygtk-2.14.1'
make: *** [all] Error 2
*
* ERROR: dev-python/pygtk-2.14.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2680: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.14.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.14.1/temp/environment'.
*

>>> Failed to emerge dev-python/pygtk-2.14.1, Log file:

>>> '/var/tmp/portage/dev-python/pygtk-2.14.1/temp/build.log'

* Messages for package dev-python/pygtk-2.14.1:

*
* ERROR: dev-python/pygtk-2.14.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2680: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.14.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.14.1/temp/environment'.
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Sat Apr 11, 2009 9:14 am    Post subject: Reply with quote

You upgraded to python-2.6? First run python-updater to update all python modules and then try again.
Back to top
View user's profile Send private message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sat Apr 11, 2009 6:59 pm    Post subject: Reply with quote

when I reinstalled Python I reinstalled what I had before, which was Python 2.5.2. When I run python-updater it fails... here's the applicable output from that.

[blocks B ] <=x11-proto/xf86driproto-2.0.3 ("<=x11-proto/xf86driproto-2.0.3" is blocking media-libs/mesa-7.3-r1)
[blocks B ] <x11-base/xorg-server-1.5 ("<x11-base/xorg-server-1.5" is blocking x11-libs/libpciaccess-0.10.5)

Total: 88 packages (33 upgrades, 36 downgrades, 4 new, 15 reinstalls), Size of downloads: 75,482 kB
Conflict: 2 blocks (2 unsatisfied)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

('ebuild', '/', 'x11-proto/xf86driproto-2.0.3', 'merge') pulled in by
x11-proto/xf86driproto required by ('ebuild', '/', 'x11-base/xorg-server-1.3.0.0-r6', 'merge')
x11-proto/xf86driproto required by ('ebuild', '/', 'media-libs/mesa-6.5.2-r1', 'merge')

('installed', '/', 'media-libs/mesa-7.3-r1', 'nomerge') pulled in by
media-libs/mesa required by ('installed', '/', 'x11-apps/xdriinfo-1.0.2', 'nomerge')
media-libs/mesa required by ('installed', '/', 'virtual/opengl-7.0', 'nomerge')
media-libs/mesa required by ('installed', '/', 'x11-drivers/nvidia-drivers-180.29', 'nomerge')
(and 2 more)

('ebuild', '/', 'x11-base/xorg-server-1.3.0.0-r6', 'merge') pulled in by
>=x11-base/xorg-server-1.0.99 required by ('ebuild', '/', 'x11-drivers/xf86-input-mouse-1.2.3', 'merge')
x11-base/xorg-server required by ('ebuild', '/', 'dev-python/pygtk-2.14.1', 'merge')
>=x11-base/xorg-server-1.0.99 required by ('ebuild', '/', 'x11-drivers/xf86-input-keyboard-1.1.1', 'merge')
(and 3 more)

('installed', '/', 'x11-libs/libpciaccess-0.10.5', 'nomerge') pulled in by
>=x11-libs/libpciaccess-0.10.3 required by ('installed', '/', 'x11-base/xorg-server-1.5.3-r5', 'nomerge')
>=x11-libs/libpciaccess-0.10.3 required by ('installed', '/', 'x11-base/xorg-x11-7.4', 'nomerge')


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Back to top
View user's profile Send private message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sat Apr 11, 2009 10:52 pm    Post subject: Reply with quote

Well I got python-updater to work... it's almost done now. We'll see if pygtk will emerge after that...
Back to top
View user's profile Send private message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sat Apr 11, 2009 11:09 pm    Post subject: Reply with quote

Well... all was going good with the python-updater until it got to pygtk, then I got the same error message that I've been getting previously... I just don't know...
Back to top
View user's profile Send private message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sat Apr 11, 2009 11:50 pm    Post subject: Reply with quote

Just re-emerged pyobject and now pygtk is emerging...
Back to top
View user's profile Send private message
stsraz
n00b
n00b


Joined: 09 Apr 2009
Posts: 7
Location: Boulder, Colorado

PostPosted: Sun Apr 12, 2009 12:45 am    Post subject: Pygtk [fixed] Reply with quote

Well after python-updater all is fixed...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum