kile-devel port failed on Tiger

Joshua Root jmr at macports.org
Fri Jan 29 08:57:42 PST 2010


On 2010-1-30 03:39 , Joachim wrote:
> --->  Configuring automoc
> DEBUG: Using compiler 'MacPorts Apple gcc 4.2'
> DEBUG: Executing proc-pre-org.macports.configure-configure-0
> DEBUG: Executing org.macports.configure (automoc)
> DEBUG: Environment: CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.4' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib' OBJC='/opt/local/bin/gcc-apple-4.2' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32' CC='/opt/local/bin/gcc-apple-4.2'
> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/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_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DPHONON_INCLUDE_DIR=/opt/local/libexec/qt4-mac/include -DPHONON_LIBRARY=/opt/local/libexec/qt4-mac/lib/phonon.framework/phonon -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" ../automoc4-0.9.88 -DCMAKE_OSX_ARCHITECTURES="i386"'
> CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:44 (MESSAGE):
>   Could not find compiler set in environment variable CC:
> 
>   /opt/local/bin/gcc-apple-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

OK, so it can't find /opt/local/bin/gcc-apple-4.2, which it presumably
expects to be installed by apple-gcc42-devel. Check what binaries are
actually installed by running
`port contents apple-gcc42-devel | grep /opt/local/bin`.

- Josh


More information about the macports-users mailing list