[gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
Hi, I installed Gentoo 2005.1.r1 the first time on a hd. I used a stage 3 downloaded from teh internet. But I fear, I haven't understand a certain aspect of emerge not correctly. The problems arised as I tried to update the installed gcc-3.4.3 to gcc-4.02. I understood, that this is a change with more impact to the system as for example installing slocate... :) I think I did it a described in the docs...(think means: Before doing so I was sure, but concerning the results of my doing, I am no longer sure ;) What happens: The version of gcc changes to gcc-3.4.4. In my /usr/portage there were files concerning gcc-4.02 (and even gcc-4.1.beta*). But they were silently ignored. Then I tried to specify the version of gcc while using emerge... But this failed totally with syntax errors. I tried different syntactically variation, from which I *thought* to be correct after reading in the docs to emerge, but no success. The final plan of all this is to install Gentoo as the working horse on my new PC, since my old PC (from which I currently mailing) is very old and buggy (hardware probs) and has to be replaced as soon as possible. The new one will be an Athlon 64 X2 bases system. So I am experimenting on a free hd with Gentoo to decide, whether this will be my new Distro. Until now I was using/installing Linux from scratch. Another problem I have is: Is it possible to convince emerge to use source archives (tar.gz, tar.bz2) of a newer version of a certain software as that one available vie gentoo sites??? I dont have a flatrate and used to build new sources via patching and not via downloading the whole stuff again and again. This would cause pain to me aspecially when it comes to packages like new kernels or gnome/kde since they are very bulky. Thank you very much for any help/response in advance! Have a nice sunday! mcc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Meino Christian Cramer wrote: Hi, Hi I installed Gentoo 2005.1.r1 the first time on a hd. I used a stage 3 downloaded from teh internet. But I fear, I haven't understand a certain aspect of emerge not correctly. The problems arised as I tried to update the installed gcc-3.4.3 to gcc-4.02. Since you are a newbie I don't recommend you to install latest GCC version. If something breaks later, you'll be *ucked. I would install all STABLE versions. But if you want to install a certain version of an app, your syntax may be: emerge =category/what-ever-package-1.5.6 You can use your own tar.gz and your own tar.bz2 but that needs a portage overlay (and you should create your own ebuilds) and that should need an ebuild /usr/local/portage/category/whatever/whatever-0.5.3.ebuild digest. If you're a newbie I don't recommend a portage overlay right now neither. You should get convinced with portage, and when you understand it pretty well... go with your overlay. Bye, Rafael Fernández López. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD7vit9RRlaicc3IERAtglAJ9SmQ/KH0IFAA4XVbXOaAtaFw+7xACgmJz3 jDTmdEDKNfmL7i8rExzFPL8= =zRZH -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
If downloading time and cost are a concern, you might not get the real benefits of Gentoo, and maybe should consider a binary distro. Anyway, if you wish to install stuff not in portage (almost everything is), you need to employ portage overlays you create yourself in /usr/local/portage- an advanced topic. The basic Gentoo install gives you the x86 stable version. The 4.x gcc versions are ~x86, and are masked, so you need to create the etc/portage/package.unmask and package.keywords files to unmask anything not in the x86 stable Gentoo version. That, or edit your /etc/make.conf file to go pure ~x86 testing version. There's info on the Gentoo forum and in the Documentation: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part3 When you need to override Portage's behaviour regarding the installation of software, you will end up editing files within /etc/portage. You are highly recommended to use files within /etc/portage and highly discouraged to override the behaviour through environment variables! Within /etc/portage you can create the following files: a.. package.mask which lists the packages you never want Portage to install b.. package.unmask which lists the packages you want to be able to install even though the Gentoo developers highly discourage you from emerging them c.. package.keywords which lists the packages you want to be able to install even though the package hasn't been found suitable for your system or architecture (yet) d.. package.use which lists the USE flags you want to use for certain packages without having the entire system use those USE flags More information about the /etc/portage directory and a full list of possible files you can create can be found in the Portage man page: - Original Message - From: Meino Christian Cramer [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Sunday, February 12, 2006 3:09 AM Subject: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems Hi, I installed Gentoo 2005.1.r1 the first time on a hd. I used a stage 3 downloaded from teh internet. But I fear, I haven't understand a certain aspect of emerge not correctly. The problems arised as I tried to update the installed gcc-3.4.3 to gcc-4.02. I understood, that this is a change with more impact to the system as for example installing slocate... :) I think I did it a described in the docs...(think means: Before doing so I was sure, but concerning the results of my doing, I am no longer sure ;) What happens: The version of gcc changes to gcc-3.4.4. In my /usr/portage there were files concerning gcc-4.02 (and even gcc-4.1.beta*). But they were silently ignored. Then I tried to specify the version of gcc while using emerge... But this failed totally with syntax errors. I tried different syntactically variation, from which I *thought* to be correct after reading in the docs to emerge, but no success. The final plan of all this is to install Gentoo as the working horse on my new PC, since my old PC (from which I currently mailing) is very old and buggy (hardware probs) and has to be replaced as soon as possible. The new one will be an Athlon 64 X2 bases system. So I am experimenting on a free hd with Gentoo to decide, whether this will be my new Distro. Until now I was using/installing Linux from scratch. Another problem I have is: Is it possible to convince emerge to use source archives (tar.gz, tar.bz2) of a newer version of a certain software as that one available vie gentoo sites??? I dont have a flatrate and used to build new sources via patching and not via downloading the whole stuff again and again. This would cause pain to me aspecially when it comes to packages like new kernels or gnome/kde since they are very bulky. Thank you very much for any help/response in advance! Have a nice sunday! mcc -- gentoo-user@gentoo.org mailing list -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
From: Rafael Fernández López [EMAIL PROTECTED] Subject: Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems Date: Sun, 12 Feb 2006 09:58:22 +0100 Hi Rafael ! Thank you for your reply ! :) Are there any issues regarding Gcc-4.** ?? I am asking since my current system uses gcc-4.02. So I am interested whether there are pitfalls I haven't discovered until now, or whether Gcc-4.02 with the rest of Gentoo makes problems (Especially I am interested, whether curent Blender-CVS sources can be build with gcc 3.4* (and what version do you recommend?) Last question: Is there any Emerge/Portage cookbook or such on the web beside the manpages. I want to speed up my learning and I am learning best with examples Keep hacking! mcc -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Meino Christian Cramer wrote: Hi, Hi I installed Gentoo 2005.1.r1 the first time on a hd. I used a stage 3 downloaded from teh internet. But I fear, I haven't understand a certain aspect of emerge not correctly. The problems arised as I tried to update the installed gcc-3.4.3 to gcc-4.02. Since you are a newbie I don't recommend you to install latest GCC version. If something breaks later, you'll be *ucked. I would install all STABLE versions. But if you want to install a certain version of an app, your syntax may be: emerge =category/what-ever-package-1.5.6 You can use your own tar.gz and your own tar.bz2 but that needs a portage overlay (and you should create your own ebuilds) and that should need an ebuild /usr/local/portage/category/whatever/whatever-0.5.3.ebuild digest. If you're a newbie I don't recommend a portage overlay right now neither. You should get convinced with portage, and when you understand it pretty well... go with your overlay. Bye, Rafael Fernández López. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD7vit9RRlaicc3IERAtglAJ9SmQ/KH0IFAA4XVbXOaAtaFw+7xACgmJz3 jDTmdEDKNfmL7i8rExzFPL8= =zRZH -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
Meino Christian Cramer wrote: In my /usr/portage there were files concerning gcc-4.02 (and even gcc-4.1.beta*). But they were silently ignored. Of course. First emerge eix. Then run 'eix -e gcc'. You will see: ... *4.0.2-r3 *4.1.0_beta20060203 From 'man eix' you will learn what the * means: that it is keyworded as -*. And 'man portage' will tell you what this means: this indicates that the package is known to be broken... Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems
On Sunday 12 February 2006 09:56, Meino Christian Cramer wrote: From: Rafael Fernández López [EMAIL PROTECTED] Subject: Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems Date: Sun, 12 Feb 2006 09:58:22 +0100 Hi Rafael ! Thank you for your reply ! :) Are there any issues regarding Gcc-4.** ?? yes, a lot. gcc 4.0.X is known for miscompiling a lot of stuff. Even worse, in a lot of cases, it produces SLOWER code than gcc 3.3 or 3.4 So there is no good reason, to install it. Do not do it! Let others burn their fingers. And for the 'but I am using gcc4 and it works perfectly crowd'. That might be true for you, but do you jump into the lions cage, because in the circus it works? -- gentoo-user@gentoo.org mailing list