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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-06-2005, 02:31 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Distribution: gentoo
Posts: 3
Rep:
|
Gentoo Kernel Installation problem
As a newbie, I've tried to get more familiar with Linux by trying to install gentoo. I've tried to emerge the kernel sources, typing: "emerge -k sys-kernel/gentoo-sources" and groff-1.19-r2 downloads correctly, but the emerge always fails. The output is:
Failed to write to mtimedb: 'module' has no attribute 'HIGHEST_PROTOCOL'
Calculating dependencies QA Notice: sed in global scope: sys-kernel/gentoo-sources-2.4.20-r31....done!
>>>emerge (1 of 6) sys-apps/gruff-1.19.1-r2 to/
>>>md5 src_uri ;-) gruff-1.19.1.tar.tz
>>>Unpacking source...
>>> Unpacking gruff-1.19.1.tar.gz
Applying gruff-1.18-infotext.patch...
Applying gruff-1.18-no-netpbm-depent.patch...
Applying gruff-man-UTF-8.diff...
Applying gruff-1.19.1-stack.patch...
Applying gruff-1.19.1-tmpfile.patch...
Applying gruff-1.19.1-parallel-make.tach...
>>> Source unpacked.
gcc
g++
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected, cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checkng whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking suffix of object files... o
checking for whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking that C++ compiler can compile simple progam... no
configure: error: a working C++ compiler is required
!!! ERROR: sys-apps/groff-1.19.1-r2 failed
!!! Function src_compile, Line 85, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Failed to write to mtimedb: 'module' object has no attribute 'HIGHEST_PROTOCOL'
So, my kernel install has failed until I can get past this groff error and mtimedb error. (ALL the groff patches in the above code were [OK]) As a side note, this mtimedb error has occurred numerous times throughout the system compilation. Any ideas on what to do?
|
|
|
02-06-2005, 03:02 PM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Are you following the installation handbook? What stage did you start with and where did you see those errors? I think you have missed something critical in a pervious step. By the time you get to the kernel installation step the kernel sources should have no dependencies.
|
|
|
02-06-2005, 03:15 PM
|
#3
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Another thing, what LiveCD are you using to do this with? What version of python is on it?
|
|
|
02-06-2005, 08:01 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Distribution: gentoo
Posts: 3
Original Poster
Rep:
|
I have made some progress with my kernel compiling after typing "emerge -u db" but I still get mtimedb write failures. Python does not exist on this system, and this is liveCD v1.4, beginning from stage 1, successfully passing stage 1 and 2. Do you know if mtimedb errors matter then?
|
|
|
02-06-2005, 08:06 PM
|
#5
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
You have to have python installed. Emerge is a python script  Type /usr/bin/python --version to check the version. When did you get that live cd? The newest one is labeled 2004.3 if I recall.
|
|
|
02-06-2005, 08:10 PM
|
#6
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
The thing that bothers me most is all the things you are talking about should have been installed if you did a succesful emerge system after the bootstraping step.
|
|
|
All times are GMT -5. The time now is 03:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|