Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation fails- Please help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
smohamedfarouk
n00b
n00b


Joined: 20 Sep 2004
Posts: 21
Location: Developer

PostPosted: Thu Mar 10, 2005 7:48 am    Post subject: Installation fails- Please help Reply with quote

Hello All
Unfortunately genkernel all or doing it using the manual configuration fails..............

Failed for Kernel 2.4
# make dep && make bzImage modules modules_install

Failed for For 2.6 kernel
# make && make modules_install

Really fed up think i cannot install gentoo , but te same machine had the last year version installed which i removed and tried to install the new one.

if I do genkernel for 2.6 version it came up with the bug and same for # make && make modules_install

if I do genkernel for 2.4 version it came up with the bug and same for # make dep && make bzImage modules modules_install.

when trrying to compile 2.4.26.gentoo-r9 bzImage

COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage

dnsdomainname: Host Name look up failure
and gcc: internal errror: terminated prrogram cc1

make: *** [init /main.o] errrrorr 1
Gentoo linux genkernel: version 3.1.0a^[[0m
Failed to compile the bzImage Target
Back to top
View user's profile Send private message
TBerrang
n00b
n00b


Joined: 07 Mar 2005
Posts: 45
Location: Germany

PostPosted: Thu Mar 10, 2005 8:51 am    Post subject: Reply with quote

a) Golden rule: never touch a running system! If you have gentoo allready running, there is no need to reinstall (like other distros) to get the "latest and greatest" version of things. Just get some Internet connection and "emerge --sync" / "emerge --update world" does the trick. Even if you did a "package"-install, you can have portage to download and install the latest packages for you...

b) I don't know what architecture you are using, but perhaps this could help:
* before you try again to compile something, do a "make clean" or "make mrpropper", just to be safe.
* take a look at your linux symlink (use: "ls -l /usr/src/linux") to make sure it point _really_ to the sources you want to get compiled.
* If you like to use genkernel, emerge your kernel and then the genkernel-script. If you have to configure your genkernel (p.e. add filesystem foo),
use "genkernel --menuconfig all" (as stated in the installation-guide, if I remember correctly).
* if this all fails, try to post as much of your gcc-output as you can here, with kernel-version and architecture. Perhaps add a short description,
_what_ you did _when_, this increases the chance that someone will be able to help you better.
_________________
"They rule the world by telling lies,
dripping poison in your ear,
keeping up apparences, revelation is their fear."
-- Running Wild :: Masquerade
Back to top
View user's profile Send private message
smohamedfarouk
n00b
n00b


Joined: 20 Sep 2004
Posts: 21
Location: Developer

PostPosted: Thu Mar 10, 2005 4:36 pm    Post subject: Sorry Reply with quote

before you try again to compile something, do a "make clean" or "make mrpropper", just to be safe.

1. Genkernel calls mrproper always first
2. Link for source is present correctly
3. tried genkernel --menuconfig all and after this it fails and that is the response i got from the genkernel logs

when trrying to compile 2.4.26.gentoo-r9 bzImage

COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage

dnsdomainname: Host Name look up failure
and gcc: internal errror: terminated prrogram cc1

make: *** [init /main.o] errrrorr 1
Gentoo linux genkernel: version 3.1.0a^[[0m
Failed to compile the bzImage Target

I am working on x86 architecture using a 486 machine which has 4gb hard disk

using live CD i burnt and wihtout a network connection.

Please help what should i do next
Back to top
View user's profile Send private message
Nard`
Apprentice
Apprentice


Joined: 23 Jan 2005
Posts: 250

PostPosted: Thu Mar 10, 2005 5:01 pm    Post subject: Reply with quote

Quote:
COMMAND: make -j2 CC =gcc LD=ld AS=as bzImage


maybye just try make -j2 bzImage
_________________
Programming is the process of putting bugs in.
Debugging is the process of attempting to take bugs out, doing an ugly hack, hitting your computer, then claiming insurance.
Back to top
View user's profile Send private message
TBerrang
n00b
n00b


Joined: 07 Mar 2005
Posts: 45
Location: Germany

PostPosted: Thu Mar 10, 2005 6:07 pm    Post subject: Reply with quote

Yes, as Nard` says, and perhaps make sure your box has the right date / time (since this tends also to produce confusing errors).
I know this sounds silly some times, but I allready spend days on setting up a server, just to figure out I misspelled a config option. 8O.

Quote:
dnsdomainname: Host Name look up failure


This seems to be very suspicious to me (on a box without network and universal live-cd... confusing)... anyone an idea?
I never used genkernel myself, so I know only very _theoretically_ how it works...

Cheers,
Torsten.
_________________
"They rule the world by telling lies,
dripping poison in your ear,
keeping up apparences, revelation is their fear."
-- Running Wild :: Masquerade
Back to top
View user's profile Send private message
smohamedfarouk
n00b
n00b


Joined: 20 Sep 2004
Posts: 21
Location: Developer

PostPosted: Thu Mar 10, 2005 6:36 pm    Post subject: make -j2 bzImage Reply with quote

Make -j2 bzImage
it fails saying Make: *** No rule to make tarrget bzImage. Stop.
What next
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum