VirtualBox

Changeset 36948 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
May 3, 2011 7:53:52 PM (14 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: make sure gcc and make are installed too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r36668 r36948  
    168168owner=vboxadd
    169169group=1
     170
     171test_for_gcc_and_make()
     172{
     173    which make > /dev/null 2>&1 || printf "\nThe make utility was not found. If the following module compilation fails then\nthis could be the reason and you should try installing it.\n"
     174    which gcc > /dev/null 2>&1 || printf "\nThe gcc utility was not found. If the following module compilation fails then\nthis could be the reason and you should try installing it.\n"
     175}
    170176
    171177test_sane_kernel_dir()
     
    367373    fi
    368374
     375    test_for_gcc_and_make
    369376    test_sane_kernel_dir
    370377
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette