Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-09-2002, 06:30 PM   #1
LQ Newbie
Registered: Aug 2002
Posts: 12

Rep: Reputation: 0
Angry Help (PLEASE) installing source code for RH7.3

I have 5 CD's for Red Hat 7.3. 1-3 are install CD's, and 4,5 are SRPMS.

I installed 1-3 to get a running 7.3 system, and now need to compile some modules. The /usr/src directory is empty (just some directories like redhat and subdirs under that but no files) and so I went to the SRPMS directories on CD's 4 and 5 to add the Kernel packages. (rpm -iv kernel-2.4.18-3.src.rpm)

Now I have a /usr/src/redhat directory with BUILD RPMS SOURCES SPECS SRPMS subdirs. In SOURCES there are a group of *.patch files, but I cannot find any include, source directories or *.h and *.c files anywhere under /usr/src. I was hoping to find a /usr/src/linux/include or something like that with lots of *.h files etc.

I am obviously missing something - can anyone tell me what?

Old 08-09-2002, 08:21 PM   #2
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
As far as I remember, the kernel source is included in one of the
first 3 CDs. Since I have only 3 CDs, I am not sure how the s/w
layout is in 5 CD set.
Old 08-09-2002, 08:36 PM   #3
LQ Newbie
Registered: Aug 2002
Posts: 12

Original Poster
Rep: Reputation: 0
I'm beginning to think that I have to download the source for the 2.4.18 kernel from and then go from there. In that case, I'm guessing that the .patch files on the RedHat 7.3 CD are applied against the standard Linux to get the RedHat version.

Anyone with knowledge of how this works, please let me know.
Old 08-09-2002, 09:27 PM   #4
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
/usr/src/redhat is RPM build dir

also i recommend that you us kernel 2.4.19, not 2.4.18
Old 08-09-2002, 10:11 PM   #5
LQ Newbie
Registered: Aug 2002
Posts: 12

Original Poster
Rep: Reputation: 0
I have it. On CD #2, there is a kernel-source-2.4.18-3.i386.rpm which is installable from the RPM GUI. That has what I needed.

Strange though that the package on CD #5 looks to be the same sort of thing, but actually turns out to be a bunch of patch files, probably for the purpose I mentioned earlier.

Now I can recompile my PCMCIA modules.

Thanks :-)


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kernel source code? daedalusonlinux Mandriva 1 02-22-2005 10:19 PM
installing source code MilkyBar_Kid Slackware 2 07-18-2004 01:46 AM
Installing source code of the kernel vasanthraghavan Linux - Software 2 03-23-2004 04:14 PM
Installing from source code chuckeff Mandriva 2 03-16-2004 10:30 PM
installing source code - slackware lmellen Slackware - Installation 0 01-17-2004 11:39 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration