VirtualBox

Opened 12 years ago

Last modified 12 years ago

#10101 new defect

VBoxLinuxAdditions should check for make, perl

Reported by: Matt Behrens Owned by:
Component: guest additions Version: VirtualBox 4.1.2
Keywords: Cc:
Guest type: Linux Host type: other

Description

Just finished installing guest additions on a CentOS 6.2 system (x86_64, in case it matters... don't think it does, though.)

In addition to the usual kernel-devel and gcc requirements, make and perl were also not installed as part of the default textmode install, yet were required for the guest additions module to be built.

It was not difficult to find out these were missing--it was very obvious from vboxadd-install.log, actually--but the installer should probably explicitly check anyway.

I can write a patch for this myself if someone would be kind enough to point out where the relevant source is located in the tree.

Attachments (1)

vboxadd-install.log (2.5 KB ) - added by Matt Behrens 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Jason B, 12 years ago

Thank you!

+1

Spent a lot of time chasing ghosts yesterday looking for solutions to installing Guest Additions to CentOS 6.2 minimal textmode and all I really needed was to install perl. Would be great if VBoxLinuxAdditions.run checked for requirements before running.

I was experiencing the same problems listed here: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=34854&forum=55

comment:2 by Michael Thayer, 12 years ago

The problem listed in the CentOS forum thread is known, I just haven't got round to fixing it yet. Could you please tell me though why perl is needed? I thought that I had got rid of that dependency, but perhaps I haven't done my homework properly. (I assume this ticket should be against VirtualBox 4.1.8, not 4.1.2...?)

by Matt Behrens, 12 years ago

Attachment: vboxadd-install.log added

comment:3 by Matt Behrens, 12 years ago

The attached vboxadd-install.log should hopefully answer the why. Also, yeah, it should be 4.1.8 and I did test it against 4.1.8; I originally discovered it on 4.1.2 and put the wrong value in. Sorry about that!

comment:4 by Frank Mehnert, 12 years ago

So some kernel build script (btw, only activated if CONFIG_FTRACE_MCOUNT_RECORD is enabled).

The test for 'make' is already there.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use