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:45 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:08 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
You will need gcc for gentoo,did you do a stage3?
 
  


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


All times are GMT -5. The time now is 06:23 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