LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-06-2005, 03:31 PM   #1
calabiyau
LQ Newbie
 
Registered: Feb 2005
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
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?
 
Old 02-06-2005, 04:02 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 02-06-2005, 04:15 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Another thing, what LiveCD are you using to do this with? What version of python is on it?
 
Old 02-06-2005, 09:01 PM   #4
calabiyau
LQ Newbie
 
Registered: Feb 2005
Distribution: gentoo
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 02-06-2005, 09:06 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
Old 02-06-2005, 09:10 PM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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.
 
  


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
Gentoo Kernel Installation problem calabiyau Linux - Newbie 1 02-06-2005 05:08 PM
gentoo installation problem introuble Linux - General 4 08-26-2004 01:15 PM
Gentoo installation problem Zerodark Linux - Distributions 4 11-11-2003 09:52 PM
Gentoo installation problem with Nano k_brother Linux - Newbie 8 11-06-2003 10:12 PM
Gentoo 1.4 installation problem satimis Linux - General 3 09-14-2003 04:36 PM


All times are GMT -5. The time now is 07:27 PM.

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