Ticket #32602 (closed defect: fixed)
virtualbox: gcc-apple-4.0: not found
|Reported by:||ryandesign@…||Owned by:||royliu@…|
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.
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted