[MacPorts] #36910: Virtualbox @4.2.4 +vde2+vnc won't start VMs
MacPorts
noreply at macports.org
Mon Dec 10 06:58:07 PST 2012
#36910: Virtualbox @4.2.4 +vde2+vnc won't start VMs
---------------------------+--------------------------------
Reporter: and.damore@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: virtualbox |
---------------------------+--------------------------------
Comment (by vincent+macports@…):
The problem is, I can't even reproduce what MacPorts is doing:
Step 1) unpack[[BR]]
Step 2) patch -p0 < ../patch-build.diff (and all the others)[[BR]]
Step 3) manually adjust LocalConfig.kmk: a) VBOX_DEF_MACOSX_VERSION_MIN =
10.7 b) set VBOX_PATH_APP_* =
"/Applications/MacPorts/VirtualBox.app/..."[[BR]]
Step 4) Now, I would start using ./configure, . ./env.sh, kmk[[BR]]
Which ./configure line is supposed to be correct, assuming a working
MacPorts installation?[[BR]]
If I use:
{{{
./configure --with-qt-dir=/opt/local --with-openssl-dir=/opt/local--with-
gcc=/opt/local/bin/gcc-apple-4.2 --with-g++=/opt/local/bin/g++-apple-4.2
--disable-hardening --target-arch=amd64 --enable-vde
}}}
Compilation stops during linking, complaining that symbols for iconv
cannot be found (see [https://www.virtualbox.org/pipermail/vbox-
dev/2011-September/004546.html]):
If I use:
{{{
./configure --with-qt-dir=/opt/local --with-gcc=/opt/local/bin/gcc-
apple-4.2 --with-g++=/opt/local/bin/g++-apple-4.2 --disable-hardening
--target-arch=amd64 --enable-vde
}}}
Lion's OpenSSL is used that makes use of deprecated functions. Later on,
compilation fails.
If I use:
{{{
./configure --with-qt-dir=/opt/local --with-openssl-dir=/usr/local/ssl
--with-gcc=/opt/local/bin/gcc-apple-4.2
--with-g++=/opt/local/bin/g++-apple-4.2 --disable-hardening --target-
arch=amd64 --enable-vde
}}}
I receive the error outlined above (I'm using a current OpenSSL lib
(default options) installed into /usr/local/ssl), but no complaints about
libpng.
If I use:
{{{
./configure --with-qt-dir=/opt/local --with-openssl-dir=/opt/local --with-
gcc=/opt/local/bin/gcc-apple-4.2 --with-g++=/opt/local/bin/g++-apple-4.2
--disable-hardening --target-arch=amd64 --enable-vde --enable-vnc
}}}
The configuration fails, as the libs for libvncserver cannot be found.
I would assume that due to the way how VirtualBox handles some flags
(e.g., setting for OpenSSL modifies directory for libpng as well) that a
version conflict exists between libraries of the system and MacPorts which
then may produce the above error.
I very much appreciate your help and would like to know if any of the
above configure lines are supposed to be correct.
--
Ticket URL: <https://trac.macports.org/ticket/36910#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list