This is the old SliTaz forum - Please use the main forum.slitaz.org

SliTaz 3.0, VirtualBox 3.2.6 Guest Additions, and errors
  • mrschismmrschism July 2010
    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.

    I'm having a nearly identical issue with my Puppy 5 VBox and I'm going off of this:
    http://forums.virtualbox.org/viewtopic.php?f=3&t=15679

    Only issue is that I can't seem to manage to get what it's telling me to before actual install.

    ~MrSchism
  • seawolfseawolf July 2010
    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 )
  • mrschismmrschism July 2010
    Thanks. Here's an update....

    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.

  • seawolfseawolf July 2010
    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.)
  • mrschismmrschism July 2010
    Okay, where do I specify it?

    I tried each of those in a terminal (as root) and got nothing.

    At this point, I'm at the point where if I knew someone who'd do it, I'd let someone RDP into it and I'd watch how they do it.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social