public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Totem build error
@ 2009-10-11  3:58 meino.cramer
  2009-10-11  4:59 ` Albert Hopkins
  0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2009-10-11  3:58 UTC (permalink / raw
  To: Gentoo


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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Totem build error
  2009-10-11  3:58 [gentoo-user] Totem build error meino.cramer
@ 2009-10-11  4:59 ` Albert Hopkins
  2009-10-11  5:09   ` meino.cramer
  0 siblings, 1 reply; 4+ messages in thread
From: Albert Hopkins @ 2009-10-11  4:59 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-10-11 at 05:58 +0200, meino.cramer@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Totem build error
  2009-10-11  4:59 ` Albert Hopkins
@ 2009-10-11  5:09   ` meino.cramer
  2009-10-11  5:21     ` Albert Hopkins
  0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2009-10-11  5:09 UTC (permalink / raw
  To: gentoo-user

Albert Hopkins <marduk@letterboxes.org> [09-10-11 07:04]:
> On Sun, 2009-10-11 at 05:58 +0200, meino.cramer@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
> 

Hi Albert,

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 ... :) ???

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Totem build error
  2009-10-11  5:09   ` meino.cramer
@ 2009-10-11  5:21     ` Albert Hopkins
  0 siblings, 0 replies; 4+ messages in thread
From: Albert Hopkins @ 2009-10-11  5:21 UTC (permalink / raw
  To: gentoo-user

On Sun, 2009-10-11 at 07:09 +0200, meino.cramer@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 ... :) ???

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-11  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-11  3:58 [gentoo-user] Totem build error meino.cramer
2009-10-11  4:59 ` Albert Hopkins
2009-10-11  5:09   ` meino.cramer
2009-10-11  5:21     ` Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox