LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2010, 11:57 AM   #1
ukwho
Member
 
Registered: Feb 2009
Posts: 37

Rep: Reputation: 15
mockbuild does not exist - installing rpm package


Hello,

I am following this instructions:
Code:
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
I have downloaded the following kernel:
kernel-2.6.18-164.15.1.el5.src.rpm

I have done the following steps:
As root, install the packages rpm-build, redhat-rpm-config and unifdef:
Code:
[root@host]# yum install rpm-build redhat-rpm-config unifdef
As an ordinary user, not root, create a directory tree based on ~/rpmbuild:

Code:
[user@host]$ cd
[user@host]$ mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
[user@host]$ echo '%_topdir %(echo $HOME)/rpmbuild' > .rpmmacros
However, when I try and install the rpm package:
Code:
[user@host]$ rpm -ivh kernel-2.6.18-164.15.1.el5.src.rpm | 2>&1 | grep -v mockb
I get the following error:
Code:
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Can anyone tell me what I am doing wrong?

Many thanks for any suggestions,
 
Old 04-28-2010, 12:50 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Can anyone tell me what I am doing wrong?
Nothing. Why would warning mean error ? ?

A 'warning information' ............ is information.

You will see the name of the "packager", when you
unpack an SRC RPM source code package with rpm.
..

Last edited by knudfl; 04-28-2010 at 12:59 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
group mockbuild does not exist ameetsaha Linux - Software 5 01-25-2010 01:26 AM
installing an rpm package on Debian 4.0 Greebstreebling Linux - Software 1 05-01-2008 09:24 AM
installing and rpm package meliss Linux - Software 2 03-05-2004 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 AM.

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