#32602: virtualbox: gcc-apple-4.0: not found -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox -------------------------------------+-------------------------------------- virtualbox 4.1.6 and 4.1.8 do not build for me on Snow Leopard with Xcode 3.2.6. The log is filled with: {{{ gcc-apple-4.0: not found g++-apple-4.0: not found }}} Indeed, no such programs exist on Snow Leopard. The default system compilers for Xcode 3.2 are gcc-4.2 and g++-4.2. gcc-4.0 and g++-4.0 are also available but you probably don't need them. If I "`sudo port configure virtualbox`", then edit work/virtualbox*/Config.kmk and change "`VBOX_MACOSX_GCC_INFIX ?= -apple-4.0`" to "`VBOX_MACOSX_GCC_INFIX ?= -4.2`", it builds fine. Why doesn't the virtualbox build process make use of the CC and CXX environment variables, or the --with-gcc or --with-g++ configure arguments, both of which are being supplied? The Portfile goes to some effort to set `configure.compiler` correctly, but then the virtualbox build system never makes use of the variables that sets. -- Ticket URL: <https://trac.macports.org/ticket/32602> MacPorts <http://www.macports.org/> Ports system for Mac OS