Help!

[gentoo-user] Totem build error

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> User RSS
Next:  New kernel not fully installed on Sheevaplug  
Author Message
meino.cramer
External


Since: Jun 28, 2009
Posts: 11



PostPosted: Sun Oct 11, 2009 7:10 pm    Post subject: [gentoo-user] Totem build error
Archived from groups: linux>gentoo>user (more info?)

Hi,

I tried to build totem and get this error:

(cd .libs && rm -f libtotemscrsaver.la && ln -s ../libtotemscrsaver.la libtotemscrsaver.la)
make[2]: Leaving directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4/lib'
Making all in bindings
make[2]: Entering directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4/bindings'
Making all in python
make[3]: Entering directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4/bindings/python'
( cd . && /usr/bin/python /usr/lib/python2.5/site-packages/gtk-2.0/codegen/codegen.py \
--register /usr/share/pygtk/2.0/defs/gtk-types.defs \
--override totem.override \
--prefix pytotem totem.defs ) > totem.c
/usr/bin/python2.5: can't open file '/usr/lib/python2.5/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
make[3]: *** [totem.c] Error 2
make[3]: Leaving directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4/bindings/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mccramer/data/portagetmp/portage/media-video/totem-2.24.4-r1/work/totem-2.24.4'
make: *** [all] Error 2
*
* ERROR: media-video/totem-2.24.4-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3420: Called gnome2_src_compile
* environment, line 2227: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure


I reinstalled pygtk but it did not help.

If wanted, I will post the complete log.

How can I proceed?

Thank you very much in advance for any help!

Best regards,
mcc

--
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.
Back to top
Albert Hopkins
External


Since: Aug 17, 2009
Posts: 7



PostPosted: Sun Oct 11, 2009 7:10 pm    Post subject: Re: [gentoo-user] Totem build error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 2009-10-11 at 05:58 +0200, meino.cramer RemoveThis @gmx.de wrote:
> Hi,
>
> I tried to build totem and get this error:
[...]
> /usr/bin/python2.5: can't open file '/usr/lib/python2.5/site-packages/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
[...]
> I reinstalled pygtk but it did not help.

It belongs to pygoboject.

totem[python] depends on gst-python which depends on pygobject. I have
no idea why it wouldn't be there...

.... actually I lied:

# eselect python show
# find /usr/lib/python* -type f -name codegen.py
Back to top
Albert Hopkins
External


Since: Aug 17, 2009
Posts: 7



PostPosted: Sun Oct 11, 2009 7:10 pm    Post subject: Re: [gentoo-user] Totem build error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 2009-10-11 at 07:09 +0200, meino.cramer RemoveThis @gmx.de wrote:
> thanks for your post...but it is not clear to me, what it means --
> sorry I am no native english speaker. I did:
>
> solfire:/home/mccramer>find /usr/lib/python* -type f -name
> codegen.py
> /usr/lib/python2.4/site-packages/fract4d/codegen.py
> /usr/lib/python2.5/site-packages/fract4d/codegen.py
> /usr/lib/python2.6/site-packages/gtk-2.0/codegen/codegen.py
>
> and:
>
> solfire:/home/mccramer>eselect python show
> python2.5
>
> (I tried to compile totem with python 2.6 selected before but it fails
> with more smoke than with python 2.5...)
>
> So, what can I learn from this ... Smile ???

The first thing is that you have packages installed against multiple
versions of python. The usuall thing after a python slot-upgrade is to
run python-updater and, when successful, remove the older python.

Having said that, your system python is python 2.5, but pygobject is
installed against python 2.6. You can't have that. System packages
have to be installed against the same python slot.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> User All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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