Well, I figure here's the best place to start. When installing the Guest Additions for VirtualBox, I get an error :
[output omitted] Building the VirtualBox Guest Additions kernel modules ... fail! Your system does not seem to be set up to build kernel modules. Look at /var/log/vboxadd-install.log to find out what went wrong. [output omitted]
Well, upon checking the vboxadd-install.log, I get the following:
/usr/share/VBoxGuestAdditions/test/build_in_tmp: line 104: make: not found
Mind you, that's just the first of a few errors. I want to tackle them one at a time and bring the end results over to the VirtualBox forum (as a few people there are having issues). Any help would be appreciated.
Install the 'slitaz-toolchain' package, this provides 'make' and other utilities for building software. For the kernel module, you will also need to install 'linux-headers'.
Hope this helps.
( I just had a look at the documentation page we have for VirtualBox and it only covers installing SliTaz as a guest; the Additions side of it should be added. It's in need of a clean-up too... => http://doc.slitaz.org/en:guides:virtualbox )
I ran tazpkg get-install slitaz-toolchain and got it. It also installed the following missing dependencies: 'binutils', 'linux-headers', 'glibc-dev', 'gcc', 'make'.
Re-ran the VBox Additions script. Same error as above. When I check the log, I get the following:
Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.. Stop.
I mean, I'm not a brand-spanking noob... but this is a tad beyond my un-aided reach.
Hmm strange; I've never seen that one! If you're sure the linux-headers package downloaded fine (it probably did if the toolchain pulled it in) then specify KERN_DIR as it asks. It should be either: export KERN_DIR="/usr/include" export KERN_DIR="/usr/include/linux"
I've just mounted the Guest Additions ISO and installed it to my SliTaz *host* machine, so it can be done. (It complains about starting but that's to be expected.)