Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Steve G" <steve@stevesworld.net>
To: <axp-list@redhat.com>
Cc: <wsb@paralleldata.com>
Subject: RE: Compiling egcs 1.0.3a
Date: Mon, 19 Oct 1998 19:41:37 -0500	[thread overview]
Message-ID: <000d01bdfbc2$66194040$127da2d0@steve.stevesworld.net> (raw)
In-Reply-To: <362BD9B2.B22F5F3B@paralleldata.com>

I thought that you were supposed to un-tar your kernels in the /usr/src dir.
In my experience, the kernels expand into linux/xxx.  In other words, they
expand into a directory tree starting with linux.  The linux symlink refers
to the actual dir that the kernel is installed in.  How can I leave the
linux dir alone and upgrade the kernel?

Also, does anyone know the RPM file that has the kernel headers in it?  I'll
browse around on the CD, but just in case...

Thanks for the help.

Regards,

Steve

-----Original Message-----
From:	Wsb [mailto: wsb@paralleldata.com]
Sent:	Monday, October 19, 1998 7:31 PM
To:	axp-list@redhat.com
Subject:	Re: Compiling egcs 1.0.3a

Steve G wrote:
>
> Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
> occasion wiped the /usr/src/linux dir because I've been trying multiple
> different kernels.  It looks like your /usr/include/asm symlink points to
a
> directory under /usr/src/linux...  Mine points to
>
> [root@hymen include]# ls -la asm
> lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
> ../src/linux/include/asm
> [root@hymen include]#
>
> Since I have no real compiled kernel in that directory, what do I do
now???
> Everything under /usr/src/linux changes each time I un-tar a new kernel.
I
> don't suppose this would be a problem if the kernel would compile all the
> way, right?
>
> Is this going to require a re-install of Linux? If so, how is the correct
> way to clear the contents of the /usr/src/linux dir when you want to
un-tar
> a new source?  I thought you just rm -Rf * in the dir that the symlink
> points to.  I guess this was wrong.  Do you just keep a backup, or change
> the symlink to point to a new directory symbolic to the kernel you are
> unpacking?  This sounds like the way I should have been doing it.
>

Best thing to do is re-install the rpm that has the
kernel headers in it. Might have to force it though.
From that point on, do not put your kernels under
/usr/src/linux. Put them anywhere else you like but
leave the /usr/src/linux part alone. This is important
because RH have modified the headers to fix a few
compile problems in some applications and you want to
keep those changes around.


Wes

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


  reply	other threads:[~1998-10-20  0:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-19 23:29 Compiling egcs 1.0.3a Steve G
1998-10-20  0:08 ` Wes Bauske
1998-10-20  0:21   ` Steve G
1998-10-20  0:30     ` Wes Bauske
1998-10-20  0:41       ` Steve G [this message]
1998-10-20  0:49         ` Mike "Ford" Ditto
1998-10-20  4:34         ` Wes Bauske
1998-10-20  6:29           ` Compiling egcs 1.0.3a - NOT WORKING! Steve G
1998-10-20  7:24             ` Michal Jaegermann
1998-10-20 17:39               ` ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! ** Steve G
1998-10-21  3:15               ` Compiling egcs 1.0.3a - NOT WORKING! Rob McIlhargie
  -- strict thread matches above, loose matches on Subject: below --
1998-10-20  0:51 Compiling egcs 1.0.3a Tibbetts, Richard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox