VirtualBox does not compile in Lion

Ryan Schmidt ryandesign at
Sun Feb 19 21:13:10 PST 2012

On Feb 19, 2012, at 23:08, Ryan Schmidt wrote:

> On Feb 19, 2012, at 22:36, Jean-François Caron wrote:
>>> In file included from /opt/local/include/openssl/bio.h:67,
>>>               from /opt/local/include/openssl/ssl.h:152,
>>>               from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.8_OSE/
>>> /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
>>> Does /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h exist? It does on my Snow Leopard system with Xcode 3.2.6.
>>> What version of Xcode are you using?
>> I've got Xcode 4.2.1, Build 4D502.  The file at /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h exists, but I also have a "stdarg.h" file in many other places:
> It looks like we encountered this error before, and we thought we fixed it:
> Since I guess we didn't, please file a new bug report.

However, according to this:

It may be a problem with the way your Xcode is installed; try uninstalling (using Apple's uninstallation script) and reinstalling Xcode 4.2.1. If that helps, let us know.

Note: do not install Xcode 4.3; MacPorts is not compatible with it yet.

More information about the macports-users mailing list