[cmake-developers] cmake on AIX
Brad King
brad.king at kitware.com
Tue Jun 19 11:57:54 EDT 2018
On 06/19/2018 11:48 AM, REIX, Tony wrote:
> However, we've found yet no information about how to:
>
> a) run one test,
>
> b) get more traces,
ctest -R $regex_matching_tests_to_run -V
> c) know where are the logs.
See the Testing/* directory. When not running in dashboard
client mode there isn't much logged though.
> CMake Error at /opt/freeware/src/packages/BUILD/mariadb-10.3.1/64bit/CMakeFiles/CMakeTmp/CMakeLists.txt:14 (add_executable):
> Target "cmTC_d6385" links to target "-L/opt/freeware/lib
> -blibpath:/opt/freeware/lib::/usr/lib:/lib -I/usr/include
> -I/opt/freeware/include -L/opt/freeware/lib
> -blibpath:/opt/freeware/lib:/usr/lib:/lib -bmaxdata:0x80000000 -brtl
> -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthreads" but the target was
> not found. Perhaps a find_package() call is missing for an IMPORTED
> target, or an ALIAS target is missing?
>
> CMake Error at /opt/freeware/share/cmake/Modules/CheckSymbolExists.cmake:87 (try_compile):
> Failed to generate test project build system.
> Call Stack (most recent call first):
> /opt/freeware/share/cmake/Modules/CheckCXXSymbolExists.cmake:39 (__CHECK_SYMBOL_EXISTS_IMPL)
> plugin/auth_gssapi/CMakeLists.txt:24 (CHECK_CXX_SYMBOL_EXISTS)
I suspect mariadb's source is setting CMAKE_REQUIRED_LIBRARIES
to a space-separated value instead of a ;-separated value.
See the code here:
https://github.com/MariaDB/server/blob/ed0b84a027/plugin/auth_gssapi/CMakeLists.txt#L22-L24
It assumes GSSAPI_LIBS is ;-separated, but the cache entry you
quoted is a command-lien string with spaces.
-Brad
More information about the cmake-developers
mailing list