Please help the noob (virtualbox guest additions question)

Hello all,

I am the newest of FreeBSD noobs and I have gotten it running in a VM on virtualbox.

I'm trying to install the guest additions and so far I have only managed to foster within myself a strong desire to break something.

I have downloaded the .txz to /usr/ports/emulators/virtualbox-ose-additions
I have extracted the contents
When I make install it tells me error code 1-requires kernel source files in
/usr/src
I have extracted the contents into that directory
make install produces the same error

If I had to guess I would say I didn't do the extraction correctly or something because this is what I see when I'm in /usr/src (see screenshot below)

Please help - !
 

Attachments

  • Screen Shot 2016-01-01 at 6.16.08 AM.png
    Screen Shot 2016-01-01 at 6.16.08 AM.png
    21.5 KB · Views: 486
There is no +MANIFEST in /usr/src. If you didn't select the src option to extract the src.txz during the installation you can either get it now from http://ftp.FreeBSD.org/pub/FreeBSD/releases/amd64/10.2-RELEASE/. Alternately, you can get it via Subversion via svnlite checkout https://svn.FreeBSD.org/releng/10.2/ /usr/src. See https://www.FreeBSD.org/doc/handbook/svn.html for additional details on Subversion. The examples above assume 10.2-RELEASE so adapt accordingly or install devel/subversion if you are dealing with 9.3-RELEASE.
 
Correct. The +MANIFEST is one of the files included in a package that is installed via pkg install <package>. This has nothing to do with the source code of the FreeBSD base system that belongs in /usr/src. Remove all the files in /usr/src and follow the steps above to get the system source code.
 
Thanks –


That's in the Internet Archive Wayback Machine at http://web.archive.org/web/20160807...ization-guest-virtualbox-guest-additions.html but apparently – https://www.google.co.uk/search?q=VirtualBox site:www.freebsd.org/doc/en_US.ISO8859-1/books/handbook – no longer in the Handbook.

Please: was the guidance moved and if so, where?

Was the Handbook condensed to encourage users of all virtual machine products (not VirtualBox alone) to seek guidance from the product developers?

I did succeed with a non-packaged installation of the additions, without an excess of source files (post 17 under Requires Kernel Source); I'm curious about disappearance of the guidance.
 
Back
Top