How to modify and test port1.0/group/kde4-1.0.tcl

Jean-Michel Pouré jm at poure.com
Wed Feb 4 03:08:37 PST 2009


On Tue, 2009-02-03 at 21:46 -0600, Ryan Schmidt wrote:
> If you edited the correct file (and based on the path of the file
> you  
> say you edited, and the value you say is in your sources.conf, it  
> looks like you did) then your changes should be active.

No it isn't. Here is what happens without modification, on pure SVN.

Ordinateur-de-Bruno:~ kdenlive$ sudo port -v install kdesdk4
--->  Configuring automoc
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_mports_trunk_dports_devel_automoc/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_mports_trunk_dports_devel_automoc/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_mports_trunk_dports_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_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 ../automoc4-0.9.87 " 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_mports_trunk_dports_devel_automoc/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_mports_trunk_dports_devel_automoc/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 automoc):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: The following dependencies failed to build: automoc
kdebase4-runtime kdelibs4 phonon soprano kdepimlibs4 akonadi qimageblitz
Error: Status 1 encountered during processing.




More information about the macports-dev mailing list