LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2006, 08:15 AM   #1
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 921
Blog Entries: 14

Rep: Reputation: 124Reputation: 124
dev-python/pyopengl compilation failed ; why???


Hi all,

I'm trying to install gentoo, after struggling with sata, I got a working kernel, and now am stuck in command line. When I try to do emerge gnome xscreensaver; After many succesfuly compiled files (about a 100); I get this :

Code:
!!! ERROR: dev-python/pyopengl-2.0.0.44 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  pyopengl-2.0.0.44.ebuild, line 34:   Called built_with_use 'dev-lang/python' 'tk'
  eutils.eclass, line 1614:   Called die

!!! dev-lang/python-2.4.3-r1 does not actually support the tk USE flag!
Any help appreciated, since I have no idea as what to do with this (tried USE="-tk"; USE="-gtk"; USE="-gtk2"). Thanks in advance.

OK, I cheated : did this "emerge --resume --skipfirst" Must sayI'm not really satisfied with this solution, what will the consequences be, is there any way to compile it after? Thanks

Last edited by serafean; 09-28-2006 at 08:44 AM.
 
Old 09-28-2006, 05:12 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Can you run
Code:
#emerge -pv python
Post back the results. It seems like there is a problem with the tk USE flag in python.
 
Old 09-29-2006, 05:19 AM   #3
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 921
Blog Entries: 14

Original Poster
Rep: Reputation: 124Reputation: 124
Hi, here is thou output :
Quote:
emerge -pv python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] dev-lang/python-2.4.3-r4 [2.4.3-r1] USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -nocxx -tk% -ucs2 (-X%) (-tcltk%)" 7,827 kB

Total size of downloads: 7,827 kB
Don't know if colors matter, but :
-"berkdb gdbm ipv6 ncurses readline ssl" were red
-"-bootstrap -build -doc -nocxx -ucs2" were blue
-"-tk% (-X%) (-tcltk%) were yellow

thanks for the reply,

Serafean
 
Old 10-02-2006, 03:08 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Try doing
Code:
#echo "dev-lang/python tk" >> /etc/portage/package.use
#emerge pyopengl
 
Old 10-05-2006, 11:15 AM   #5
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 921
Blog Entries: 14

Original Poster
Rep: Reputation: 124Reputation: 124
Thanks!! It worked!!pyopengl is installed; however, I find that programs take quite a long time to start (longer than with ubuntu). Any ideas as to the why?
 
Old 10-05-2006, 11:39 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by serafean
Thanks!! It worked!!pyopengl is installed; however, I find that programs take quite a long time to start (longer than with ubuntu). Any ideas as to the why?
I'm not really sure what could be causing that. On my system, KDE apps load up pretty fast (faster than any other distro I use). If you use GNOME, it could be a GNOME specific issue or maybe the options you choose when building the system or compiling packages.
 
Old 10-05-2006, 12:17 PM   #7
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 921
Blog Entries: 14

Original Poster
Rep: Reputation: 124Reputation: 124
I think I'll recompile (most likely after GNOME 2.16 is unmasked), going through the USE flags very carfully : I just threw in what I thought would be useful. If nothing helps, I'll just try out KDE.

Thanks for your help,

Serafean
 
Old 10-10-2006, 04:59 AM   #8
granulite
LQ Newbie
 
Registered: Oct 2006
Location: Australia
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Hi y'all,
I had a similar error and google led me here while looking for a solution; sadly,
Code:
#echo "dev-lang/python tk" >> /etc/portage/package.use
did not fix it . (Although I do know what it did, which is pretty good for me).
I first came across this error when trying to merge gimp; my very knowledgeable housemate and linux mentor was puzzled and in the end we merged gimp without python; but gimp's not the only thing I want, so i figure I might as well try and get python going.
The ultimate error is as follows:
Code:
!!! ERROR: dev-python/pyopengl-2.0.1.09 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  pyopengl-2.0.1.09.ebuild, line 32:   Called built_with_use 'dev-lang/python' 'tk'
  eutils.eclass, line 1619:   Called die

!!! dev-lang/python-2.4.2 does not actually support the tk USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.
I've done emerge --sync, in case anything was out of date -- but that didn't help.

Any more ideas?
Thanks
 
Old 10-11-2006, 01:29 PM   #9
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 921
Blog Entries: 14

Original Poster
Rep: Reputation: 124Reputation: 124
Hi,
You might have luck if you try out :
Code:
USE="tk" emerge pyopengl
And (stupid question but I "must" ask) have you done "echo "dev-lang/python tk" >> /etc/portage/package.use" as root?
 
Old 10-12-2006, 06:55 AM   #10
granulite
LQ Newbie
 
Registered: Oct 2006
Location: Australia
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by serafean
And (stupid question but I "must" ask) have you done "echo "dev-lang/python tk" >> /etc/portage/package.use" as root?
yes I did that as root. And it was there when I went into the file to take a look.

this is actually solved... sorry for the delay... I gotta say that I've forgotten exactly how the problem worked, but it boiled down to emerge trying to bring in an old version of python that didn't use tk, but still asked for the tk use flag. I think we ended up emerging the new python, then going on to do everything else, which worked just fine.

So sorry, I know that's not heaps informative for anyone with the same problem: basically, make sure your python is up to date?
 
Old 04-15-2007, 12:54 PM   #11
navaburo
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
Problem solved

I had issues similar to granulite.

To solve do this:

Code:
emerge python
emerge gimp
it seems that tcl/tk is a dependency for python that was not correctly calculated by emerge gimp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with compilation of python 2.4.2 xmarcusx Linux - Software 0 11-30-2005 09:33 AM
mps compilation failed ph0enix Linux - Software 3 02-09-2005 04:37 PM
Compilation of lt_modem.ko failed matt_com911 Linux - Hardware 27 12-27-2004 03:58 AM
pyopengl-2.0.0.44 failed csplinter Linux - Software 1 11-29-2004 03:55 PM
growisofs -Z /dev/dvd=/dev/zero failed penguin123 Linux - Hardware 1 02-19-2004 03:06 AM


All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration