|
|
Choosing A Webhost: |
kernel source confusion: msg#00095audio.planetccrma.general
I'm trying to install the kernel source using the 2.6.14-0.10.rrt.src.rpm file. I use rpm -Uvh 2.6.14-0.10.rrt.src.rpm to install the source. Then, as instructed in the FC3 release notes (pasted at the bottom), I run (from the /usr/src/redhat/SPECS): rpmbuild -bp --target=i386 kernel.spec which gave the following output: Building target platforms: i386 Building for target i386 error: line 194: Dependency tokens must begin with alpha-numeric, '_' or '/': Prereq: %{kernel_prereq} [root@x SPECS]# I don't know whether it's helpful, but here are the lines in question: 194: Prereq: %{kernel_prereq} referring to: 177: %{?fc4:%define kernel_prereq fileutils, module-init-tools, initscripts >= 5.83, mkinitrd >= 4.2.15-1} I'm no expert in this area, but my logic tells me that this should result in the following: 194: Prereq: fileutils, module-init-tools, initscripts >= 5.83, mkinitrd >= 4.2.15-1 where the dependency token starts with an alpha-numeric character. I do not know how to proceed, or whether I did something wrong. Any help would be most appreciated! Frode Petersen ---------------------------- Excerpt from the FC3 release notes In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel's .src.rpm file, Fedora Core 3 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel .src.rpm file. To create an exploded source tree from this file, perform the following steps (note that <version> refers to the version specification for your currently-running kernel): 1. Obtain the kernel-<version>.src.rpm file from one of the following sources: * The SRPMS directory on the appropriate "SRPMS" CD iso image * The FTP site where you got the kernel package * By running the following command: up2date --get-source kernel 2. Install kernel-<version>.src.rpm (given the default RPM configuration, the files this package contains will be written to /usr/src/redhat/) 3. Change directory to /usr/src/redhat/SPECS/, and issue the following command: rpmbuild -bp --target=<arch> kernel.spec (Where <arch> is the desired target architecture.) On a default RPM configuration, the kernel tree will be located in /usr/src/redhat/BUILD/. 4. In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory. For example, the i686 SMP configuration file is named /configs/kernel-<version>-i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building: cp <desired-file> ./.config 5. Issue the following command: make oldconfig You can then proceed as usual.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PlanetCCRMA digest, Vol 1 #1661 - 10 msgs, Timo |
|---|---|
| Next by Date: | Re: CCRMA with FC4 - needing flash, Nigel Henry |
| Previous by Thread: | Re: PlanetCCRMA digest, Vol 1 #1661 - 10 msgs, Timo |
| Next by Thread: | Re: kernel source confusion, Fernando Lopez-Lezcano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |