[OmniOS-discuss] VirtualBox 5.1 - Missing dependencies
danmcd at omniti.com
Wed Mar 29 17:23:37 UTC 2017
> On Mar 29, 2017, at 1:13 PM, Geoff Nordli <geoffn at gnaa.net> wrote:
> Anyone have any luck installing VBox 5.1 on Omnios?
> I am missing:
> IPS : system/library/gcc/gcc-c++-runtime or system/library/gcc-45-runtime system/library/gcc/gcc-c-runtime or system/library/gcc-45-runtime
> /usr/sbin/pkgadd -d VirtualBox\-5.1.18\-SunOS\-amd64\-r114002.pkg
> The following packages are available:
> 1 SUNWvbox Oracle VM VirtualBox (i386) 5.1.18,REV=2017.03.15.16.41.114002
> Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]:
> Processing package instance <SUNWvbox> from </backup/test/VirtualBox-5.1.18-SunOS-amd64-r114002.pkg>
> Oracle VM VirtualBox(i386) 5.1.18,REV=2017.03.15.16.41.114002
> Oracle Corporation
> ## Executing checkinstall script.
> Checking package dependencies...
> ## Missing packages:
> ## IPS : system/library/gcc/gcc-c++-runtime or system/library/gcc-45-runtime system/library/gcc/gcc-c-runtime or system/library/gcc-45-runtime
> ## SVr4: SUNWPython SUNWPython-devel
> ## Please install either the IPS or SVr4 packages before installing VirtualBox.
> pkgadd: ERROR: checkinstall script did not complete successfully
> Installation of <SUNWvbox> failed.
> No changes were made to the system.
It's assuming Oracle Solaris paths and package definitions. Our versions of those packages have slightly different names. (e.g. we have gcc-51 runtime).
You'll have to work around it somehow. I wonder if the SysV package programs let you override that crap or not? And even if you do, VBox's library paths may assume libraries are places where they are not in OmniOS.
I can't say it's impossible, but I can say it'll be much pain.
More information about the OmniOS-discuss