Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but only gets about halfway through the 1st package then
Quote:
make: *** [all] Error 2
*
* ERROR: gnome-base/gnome-panel-2.20.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2729: Called gnome2_src_compile
* environment, line 2108: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* 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/gnome-base/gnome-panel-2.20.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-panel-2.20.3/temp/environment'.
*
If I try --skipfirst similar things happen, it will get so far then fail.
Can anyone help me as I am still new to gentoo and don't want to give up on it.
Compliments! So, you survived your first install
That's weird - gnome should be one of the apps that are really well tested - I don't think the problem has something to do with Gentoo itself, but you never know... .
So, the first thing you should do is to doublecheck again that everything is really up-to-date with "emerge --update --deep --newuse world".
If that says you everything should be ok, run "revdep-rebuild" (perhaps in order to get that utility you'll first have to "emerge gentoolkit") which will go through all your libraries and check if some of them have to be recompiled because of some dependencies you just upgraded and changed their behaviours. It will perform the check and eventually emerge automatically anything that is out-of-sync. (the check might take a few minutes - have a beer - and the emerge, if it happens, will take as long as emerging the stuff normally).
At this point, if the two previous actions did something, try again to re-emerge gnome. Once (if) it's done check in "/etc/rc.conf" (I think it is there - a file "rc.conf" somewhere under "/etc") which shows at its end the variable, I think, XSESSION - something like that. Change the assignment to that variable to your window manager - in my case it's "XSESSION=enlightenment" because I use Enlightenment instead of Gnome or KDE.
If re-emerging gnome still fails check first the architecture and the CFLAGS you have set in "/etc/make.conf". Are you really sure they're the correct ones for your CPU? Even the optimization option "-O3" instead of "-O2" can generate weird behaviours when some code is compiled. Eventually have a look in Google for "gentoo safe cflags" http.//gentoo-wiki.com/Safe_Cflags and compare them with what you have and change them accordingly, at least for the first install - you can do experiments once your system has been set up and is stable.
If all this fails, when you emerge gnome, search for the really first error message you see. What you pasted into this thread are only the boring messages that show up at the very end when the emerge fails, and you probably cannot see the previous lines because you don't have a graphical WM where you can scroll up in the shell, right? But do a "less /var/tmp/portage/gnome-base/gnome-panel-2.20.3/temp/build.log'" (as shown in what you pasted into this thread) to see the whole log, go to the bottom and slowly go back and search the very first line that says that something has gone bad - that line will show the real error you have - and at this point insert it into google and you should find a post with the reason/solution - this way it always worked for me.
I'd also first do emerge -avuND world again to see if really everything was compiled.
But since you say you did this and then rebooted - I wonder if you paid attention to the messages reminding you to update your configuration-files.
run: etc-update
(a more convenient alternative is dispatch-conf)
It is very likely that after updating that many packages some configuration-files changed and are no longer up to date or in the wrong place.
If you did not pay attention to that then you are lucky that you can even still boot
Running revdep-rebuild -p would be the next thing to do
One more thing: here I always took note of some stuff I had to search - it's just a repository of keywords and small solutions, e.g. like the sandbox - might be handy as well to you.
And: "emerge eix" to do fast searches in the package repository (emerge -s might take ages depending on your HDD & CPU)
And: use genlop to time your compilations - that way when you do updates / recompilations you get a feeling of how long it might take. E.g. "genlop -t gnome" show all runtimes of the previous gnome-compilations. "genlop -c" shows the projected end of whatever you are currently compiling (you must of course have compiled it at least once before).
Oh, yes, jomen is fully right - I forgot that one.
And the rule of thumb for me is: I watch closely the differencies that etc-update shows me for the files that I know I modified, and I let the system update all the rest with the newest versions.
DannyK, you need to paste more of the error. The part you pasted is unfortunately the part with almost no information. The actual error should be in the 5-10 lines above that.
Now after emerge -av gnome, seems to be going great guns!!!
still building at the moment (3 of 20)
Its getting a lot further than before anyways. Will let you know how it goes.
BTW. I have been building this via screen (after gnome stopped working) so I can check up on things during the day at work and so I can log in from a computer with a graphical environment to read alot more of the screen.
I had done a etc-update and I think revdep-rebuild (but I am not sure about the -p).
Yes - there is quite a lot of reading to do - that is one reason I recommended dispatch-conf.
You can configure the behaviour - but by default it will auto-merge config-files with only trivial changes or where the difference is only in the header of the config-file - this results in much less files you have to go through manually.
revdep-rebuild -p
The -p switch is simar to the -a switch - it means: pretend.
(-a means: ask for confirmation)
The message after running that command tells you that you can now remove "-p" from the command and run it again when you are willing to do what it tells you it would have done.
Like a terminal - you start your application (text-based) in it but you can detach from it - and reattach from anywhere else, as long as the machine (and screen) is running.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.