VirtualBox pkgsrc-wip

およ、pkgsrc-wip に virtualbox が入ってるぞ。 試しに make install を試みたがこけた。でも、 コンパイルでこけるのは一箇所で、pthread_yield() を sched_yield() に再定義してしまえば通る。あと、リンクでこけるところが あったが、LIBS=-lcurl make で呼べば行けた。

がしかし、make install がいかなーい。 work/VirtualBox-3.0.4_OSE/out/netbsd.x86/release に色んなバイナリが 入っているので、そこに LD_LIBRARY_PATH を通して起動すると、 こんな風には上がるけど。

Sun VirtualBox Simple SDL GUI built Jan 15 2010 15:37:16
Usage:
  -hda <file>        Set first hard disk to file
  -hdb <file>        Set second hard disk to file
  -fda <file>        Set first floppy disk to file
  -cdrom <file>      Set CDROM to file/device ('none' to unmount)
  -boot <a|c|d>      Set boot device (a = floppy, c = first hard disk, d = DVD)
  -boot menu <0|1|2> Boot menu (0 = disable, 1 = menu only, 2 = message + menu)
  -m <size>          Set memory size in megabytes (default 128MB)
  -vram <size>       Set size of video memory in megabytes
  -prealloc          Force RAM pre-allocation
  -fullscreen        Start VM in fullscreen mode
  -statefile <file>  Define the file name for VM save/restore
  -restore           Restore the VM if the statefile exists, normal start otherwise
  -nofstoggle        Forbid switching to/from fullscreen mode
  -share <dir> <name> [readonly]
                     Share directory <dir> as name <name>. Optionally read-only.
  -nohostkey         Disable hostkey
  -[no]acpi          Enable or disable ACPI (default: enabled)
  -[no]ioapic        Enable or disable the IO-APIC (default: disabled)
  -audio             Enable audio
  -natdev<1-N> [mac] Use NAT networking on network adapter <N>.  Use hardware
                     address <mac> if specified.
  -hifdev<1-N>       Use Host Interface Networking with host interface <int>
      <int> [mac]    on network adapter <N>.  Use hardware address <mac> if
                     specified.
  -intnet<1-N>       Attach network adapter <N> to internal network <net>.  Use
      <net> [mac]    hardware address <mac> if specified.
  -[no]rellog        Enable or disable the release log './VBoxBFE.log' (default: enabled)
  -[no]rawr0         Enable or disable raw ring 3
  -[no]rawr3         Enable or disable raw ring 0
  -[no]patm          Enable or disable PATM
  -[no]csam          Enable or disable CSAM

むおー、惜しいなあ。