Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Conversation

@ignisf
Copy link
Collaborator

@ignisf ignisf commented Jul 14, 2015

Things to keep in mind:

  1. FreeBSD does not support VirtualBox shared folders. This means that one has to resort to using alternative means of synchronisation of folders. I managed to test this with rsync but it only syncs one way -- host -> guest. There's also NFS, however I did not manage to make it work on my Linux system. It should, in theory, work out of the box on mac, as stated in the 'Prerequisites' section of its documentation.
  2. For some reason on FreeBSD gclient replaces the v8 Makefile with this one. I have absolutely no idea why.

@cowboyd
Copy link
Collaborator

cowboyd commented Jul 15, 2015

I was hitting this error:

==> default: Checking for guest additions in VM...
NFS requires a host-only network to be created.
Please add a host-only network to the machine (with either DHCP or a
static IP) for NFS to work.

So I followed the instruction here:

I needed to configure a private network https://github.com/coreos/coreos-vagrant#shared-folder-setup

And it is happily building away!

NFS requires a host-only network to be present.
@cowboyd
Copy link
Collaborator

cowboyd commented Jul 15, 2015

[....]
gmake[1]: Leaving directory '/usr/home/vagrant/libv8/vendor/v8/out'
Connection to 127.0.0.1 closed.
vagrant ssh -c 'cp libv8/pkg/*.gem /vagrant'
You can open up a new split-screen window in (n)vi with :N or :E and then
use ^w to switch between the two.
Connection to 127.0.0.1 closed.
$ ls                                            
Vagrantfile                         libv8-4.5.95.5-amd64-freebsd-10.gem
$

@cowboyd
Copy link
Collaborator

cowboyd commented Jul 15, 2015

Easy binary gems: feels so good man.

cowboyd added a commit that referenced this pull request Jul 15, 2015
@cowboyd cowboyd merged commit 4504cdc into 4.5 Jul 15, 2015
@ignisf ignisf deleted the freebsd-vagrant-box branch July 17, 2015 09:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants