#18306: automoc requires apple-gcc42 depends-build --------------------------+------------------------------------------------- Reporter: jm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: | Port: --------------------------+------------------------------------------------- Comment(by jm@…): Example: sudo port -v install phonon ---> Configuring phonon CMake Error at /opt/local/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake:31 (MESSAGE): Could not find compiler set in environment variable CC: /usr/bin/gcc-4.2. Call Stack (most recent call first): CMakeLists.txt:1 (project) CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build/CMakeFiles/CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build/CMakeFiles/CMakeCXXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=ON -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/include -DPHONON_LIBRARY=/opt/local/lib/libphonon.dylib -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib ../phonon-4.3.0 " returned error 1 Command output: CMake Error at /opt/local/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake:31 (MESSAGE): Could not find compiler set in environment variable CC: /usr/bin/gcc-4.2. Call Stack (most recent call first): CMakeLists.txt:1 (project) CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build/CMakeFiles/CMakeCCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build/CMakeFiles/CMakeCXXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! Warning: the following items did not execute (for phonon): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/18306#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS