CentOS 6 does not have make

[root@localhost VBOXADDITIONS_4.0.4_70112]# cat /var/log/vboxadd-install.log
/usr/share/VBoxGuestAdditions/test/build_in_tmp: line 55: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

the problem is when I was trying to install guest additions, it turned out it failed to compiled the dkms kernel, i did the install of kernel-devel (which is the source code of the kernel) and gcc, the same failure was seen… so I went to see the log and it did not have make!

[root@localhost VBOXADDITIONS_4.0.4_70112]# yum install make
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: ftp.swin.edu.au
* extras: ftp.swin.edu.au
* updates: mirror.issp.co.th
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package make.i686 1:3.81-19.el6 set to be updated
–> Finished Dependency Resolution

Seriously….This is the first time I used a Linux that has no make installed…WTF.

Making symbolic link

[root@localhost kernels]# ln -s /usr/src/kernels/2.6.32-220.4.1.el6.i686/ /usr/src/linux
To install guest addition in CentOS this is necessary, because the source code of guest additional seemed to have pointed /usr/src/linux, CentOS stores its kernel source in /usr/src/kernels

To remove the sym link remove it using rm linux without the slash. The slash at the end is a directory, sym link is just a file pointing to the destination, deleting the sym link as directory also deletes everything in the destination directory!

Advertisements
This entry was posted in Linux, System OS and tagged , , , , , , , . Bookmark the permalink.

One Response to CentOS 6 does not have make

  1. Pingback: CentOS 6 does not have make « The Network Journal | Linux Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s