Unable to execute make command

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to execute make command

stumpydoo
Hi to all,

I'm tryin to install mhvtl on oracle Linux 6.7
I followed this link:

http://www.tech2max.com/mhvtl-on-centos-7/

but I got this error when I try to build the package.
Can someone help me?
Tnx!

root@nbu-db02 ~]# cd /root/rpmbuild/SOURCES/
[root@nbu-db02 SOURCES]# ls
mhvtl-1.5  mhvtl-2015-04-14.tgz
[root@nbu-db02 SOURCES]# cd mhvtl-1.5/
[root@nbu-db02 mhvtl-1.5]# ls
doc  etc  include  INSTALL  kernel  Makefile  man  mhvtl-utils.spec  README  scripts  usr
[root@nbu-db02 mhvtl-1.5]# cd kernel/
[root@nbu-db02 kernel]# ls -l
total 76
-rw-rw-r--. 1 500 500  4505 May  6  2014 fetch24.c
-rw-rw-r--. 1 500 500  3474 May  6  2014 fetch26.c
-rw-rw-r--. 1 500 500  3546 May  6  2014 fetch27.c
-rw-rw-r--. 1 500 500  4404 May  6  2014 fetch.c
-rw-rw-r--. 1 500 500  1210 Mar  2  2015 Makefile
-rw-rw-r--. 1 500 500 42244 Apr 14  2015 mhvtl.c
-rw-rw-r--. 1 500 500  1017 May  6  2014 vtl_common.h

[root@nbu-db02 kernel]# make
make -C /lib/modules/3.8.13-118.4.1.el6uek.x86_64/build SUBDIRS=/root/rpmbuild/SOURCES/mhvtl-1.5/ke                                 rnel modules
make: *** /lib/modules/3.8.13-118.4.1.el6uek.x86_64/build: No such file or directory.  Stop.
make: *** [default] Error 2
[root@nbu-db02 kernel]#
[root@nbu-db02 kernel]# uname -a
Linux nbu-db02.veritas.com 3.8.13-118.4.1.el6uek.x86_64 #2 SMP Tue Mar 8 10:22:21 PST 2016 x86_64 x                                 86_64 x86_64 GNU/Linux
Reply | Threaded
Open this post in threaded view
|

Re: Unable to execute make command

Mark Harvey
Administrator
You need to install the kernel development RPM(s). 

Apologies for brief reply. I'll check a system and provide a better rpm package name when I'm near a real keyboard

Sent from my autocorrecting iPhone

On 15 Mar 2016, at 08:21, stumpydoo [via mhVTL - A Linux Virtual Tape Library] <[hidden email]> wrote:

Hi to all,

I'm tryin to install mhvtl on oracle Linux 6.7
I followed this link:

http://www.tech2max.com/mhvtl-on-centos-7/

but I got this error when I try to build the package.
Can someone help me?
Tnx!

root@nbu-db02 ~]# cd /root/rpmbuild/SOURCES/
[root@nbu-db02 SOURCES]# ls
mhvtl-1.5  mhvtl-2015-04-14.tgz
[root@nbu-db02 SOURCES]# cd mhvtl-1.5/
[root@nbu-db02 mhvtl-1.5]# ls
doc  etc  include  INSTALL  kernel  Makefile  man  mhvtl-utils.spec  README  scripts  usr
[root@nbu-db02 mhvtl-1.5]# cd kernel/
[root@nbu-db02 kernel]# ls -l
total 76
-rw-rw-r--. 1 500 500  4505 May  6  2014 fetch24.c
-rw-rw-r--. 1 500 500  3474 May  6  2014 fetch26.c
-rw-rw-r--. 1 500 500  3546 May  6  2014 fetch27.c
-rw-rw-r--. 1 500 500  4404 May  6  2014 fetch.c
-rw-rw-r--. 1 500 500  1210 Mar  2  2015 Makefile
-rw-rw-r--. 1 500 500 42244 Apr 14  2015 mhvtl.c
-rw-rw-r--. 1 500 500  1017 May  6  2014 vtl_common.h

[root@nbu-db02 kernel]# make
make -C /lib/modules/3.8.13-118.4.1.el6uek.x86_64/build SUBDIRS=/root/rpmbuild/SOURCES/mhvtl-1.5/ke                                 rnel modules
make: *** /lib/modules/3.8.13-118.4.1.el6uek.x86_64/build: No such file or directory.  Stop.
make: *** [default] Error 2
[root@nbu-db02 kernel]#
[root@nbu-db02 kernel]# uname -a
Linux nbu-db02.veritas.com 3.8.13-118.4.1.el6uek.x86_64 #2 SMP Tue Mar 8 10:22:21 PST 2016 x86_64 x                                 86_64 x86_64 GNU/Linux



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Unable-to-execute-make-command-tp4025976.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Unable to execute make command

stumpydoo
Thanks Mark!
I have installed all about kernel with yum...and all seems to work fine now!

[root@nbu-db02 kernel]# ps -ef | grep vtl
vtl      30584     1  0 20:36 ?        00:00:00 vtltape -q 11 -v
vtl      30587     1  0 20:36 ?        00:00:00 vtltape -q 12 -v
vtl      30590     1  0 20:36 ?        00:00:00 vtltape -q 13 -v
vtl      30593     1  0 20:36 ?        00:00:00 vtltape -q 14 -v
vtl      30596     1  0 20:36 ?        00:00:00 vtltape -q 31 -v
vtl      30599     1  0 20:36 ?        00:00:00 vtltape -q 32 -v
vtl      30602     1  0 20:36 ?        00:00:00 vtltape -q 33 -v
vtl      30605     1  0 20:36 ?        00:00:00 vtltape -q 34 -v
vtl      30609     1  0 20:36 ?        00:00:00 vtllibrary -q 10 -v
vtl      30612     1  0 20:36 ?        00:00:00 vtllibrary -q 30 -v
root     30657  8847  0 20:37 pts/0    00:00:00 grep vtl