Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

FS#836 - cmake can not find pkg-config

Attached to Project: CRUX
Opened by Danny Rawlins (Romster) - Sunday, 24 June 2012, 09:39 GMT+2
Last edited by Jose V Beneyto (sepen) - Tuesday, 26 June 2012, 16:19 GMT+2
Task Type Bug Report
Category ports
Status Closed
Assigned To Jose V Beneyto (sepen)
Operating System Linux
Severity High
Priority Normal
Reported Version 2.7
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Attached patch fixes cmake can not find pkg-config.

I have also fixed dependencies and made it use system libs than included ones

Enabled ccache support (works fine without ccache installed as well)

enabled parallel make of cmake by using MAKEFLAGS variable.
This task depends upon

Closed by  Jose V Beneyto (sepen)
Tuesday, 26 June 2012, 16:19 GMT+2
Reason for closing:  Fixed
Comment by Jose V Beneyto (sepen) - Tuesday, 26 June 2012, 16:18 GMT+2
thanks for all your fixes but finally I discard --enable-ccache, just see:


CMake Error at Modules/CMakeDetermineCCompiler.cmake:44 (MESSAGE):
Could not find compiler set in environment variable CC:

ccache gcc.
Call Stack (most recent call first):
CMakeLists.txt:14 (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:/usr/ports/work/cmake/src/cmake-2.8.8/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:/usr/ports/work/cmake/src/cmake-2.8.8/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 when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
=======> ERROR: Building '/usr/ports/pkg/cmake#2.8.8-2.pkg.tar.xz' failed.

Loading...