iscsitarget-1.4.20.2 issues during make command

Issues related to configuring your network
User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: iscsitarget-1.4.20.2 issues during make command

Post by toracat » 2012/05/29 20:06:28

[quote]
junix88 wrote:

I tried to install rpm-build BUT still there's no such dir.
$ rpm -qa | grep rpm-build
rpm-build-4.8.0-19.el6_2.1.x86_64

Do we still have to create this dir for the purpose? or it will automatically created itself?
[/quote]
The kernel module wiki article refers to the [url=http://wiki.centos.org/HowTos/I_need_the_Kernel_Source]Kernel_Source[/url] wiki page. I suppose you have read Section 2 of that wiki as this is a required step. It says:
[quote]
As an ordinary user, not root, create a directory tree based on ~/rpmbuild:

[user@host]$ mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
[user@host]$ echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
[/quote]

The first command creates 6 subdirectories including BUILD.

Post Reply