Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

kernel source confusion: msg#00095

audio.planetccrma.general

Subject: kernel source confusion

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>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation