<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Brad,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Still investigating why MariaDB does not build.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">We have the following trace:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="font-family: "Courier New",monospace;">CMake Error at /opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/CMakeFiles/CMakeTmp/</span><b><span style="font-family: "Courier New",monospace;">CMakeLists.txt:14</span></b></div>
<br>
<div><span style="font-family: "Courier New",monospace;">cmake_minimum_required(VERSION 3.11.4.0)</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_MODULE_PATH "/opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/cmake;/opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/plugin/auth_gssapi/cmake")</span><br>
<span style="font-family: "Courier New",monospace;">project(CMAKE_TRY_COMPILE CXX)</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_VERBOSE_MAKEFILE 1)</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_CXX_FLAGS " -pie -fPIC -fPIC -fno-rtti")</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_DEFINITIONS}")</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${EXE_LINKER_FLAGS}")</span><br>
<span style="font-family: "Courier New",monospace;">include_directories(${INCLUDE_DIRECTORIES})</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_SUPPRESS_REGENERATION 1)</span><br>
<span style="font-family: "Courier New",monospace;">link_directories(${LINK_DIRECTORIES})</span><br>
<span style="font-family: "Courier New",monospace;">add_definitions(-DPACKAGE=test -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS)</span><br>
<span style="font-family: "Courier New",monospace;">cmake_policy(SET CMP0065 OLD)</span><br>
<span style="font-family: "Courier New",monospace;">set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "/opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/CMakeFiles/CMakeTmp")</span><br>
</div>
<div><span style="font-family: "Courier New",monospace;"><b><span style="font-family: "Courier New",monospace;">add_executable</span></b><span style="font-family: "Courier New",monospace;">(cmTC_3efe0 "/opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/CMakeFiles/CMakeTmp/CheckSymb</span>olExists.cxx")</span><br>
<span style="font-family: "Courier New",monospace;"><b>target_link_libraries</b>(cmTC_3efe0  "-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" )</span><br>
</div>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">With the error message:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="font-family: "Courier New",monospace;">CMake Error at /opt/freeware/src/packages/BUILD/mariadb-10.3.7/64bit/CMakeFiles/CMakeTmp/CMakeLists.txt:14 (add_executable):</span><br>
<span style="font-family: "Courier New",monospace;">  Target "cmTC_3efe0" links to target "-L/opt/freeware/lib</span><br>
<span style="font-family: "Courier New",monospace;">  -blibpath:/opt/freeware/lib::/usr/lib:/lib -I/usr/include</span><br>
<span style="font-family: "Courier New",monospace;">  -I/opt/freeware/include -L/opt/freeware/lib</span><br>
<span style="font-family: "Courier New",monospace;">  -blibpath:/opt/freeware/lib:/usr/lib:/lib -bmaxdata:0x80000000 -brtl</span><br>
<span style="font-family: "Courier New",monospace;">  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthreads" but the target was</span><br>
<span style="font-family: "Courier New",monospace;">  not found.  Perhaps a find_package() call is missing for an IMPORTED</span><br>
<span style="font-family: "Courier New",monospace;">  target, or an ALIAS target is missing?</span><br>
<br>
<br>
<span style="font-family: "Courier New",monospace;">CMake Error at /opt/freeware/share/cmake/Modules/CheckSymbolExists.cmake:87 (try_compile):</span><br>
<span style="font-family: "Courier New",monospace;">  Failed to generate test project build system.</span><br>
<span style="font-family: "Courier New",monospace;">Call Stack (most recent call first):</span><br>
<span style="font-family: "Courier New",monospace;">  /opt/freeware/share/cmake/Modules/CheckCXXSymbolExists.cmake:39 (__CHECK_SYMBOL_EXISTS_IMPL)</span><br>
<span style="font-family: "Courier New",monospace;">  plugin/auth_gssapi/CMakeLists.txt:24 (CHECK_CXX_SYMBOL_EXISTS)</span><br>
</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span lang="fr"><font size="2" color="black" face="Arial"><span dir="ltr" style="font-size:10pt"><font size="2" face="Times New Roman"><span style="font-size:16px">
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">Cordialement,<br>
<br>
Tony Reix<br>
<br>
ATOS / Bull SAS<br>
ATOS Expert<br>
IBM Coop Architect & Technical Leader<br>
</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">Office : +33 (0) 4 76 29 72 67</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">1 rue de Provence - 38432 Échirolles - France</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><a href="https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f" target="_blank" id="LPNoLP"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">www.atos.net</span></font></a></span></font></div>
</span></font></span></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Brad King <brad.king@kitware.com><br>
<b>Envoyé :</b> mardi 19 juin 2018 19:27:17<br>
<b>À :</b> REIX, Tony; cmake-developers@cmake.org<br>
<b>Cc :</b> APEKE, SENA (ext)<br>
<b>Objet :</b> Re: [cmake-developers] cmake on AIX</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 06/19/2018 12:17 PM, REIX, Tony wrote:<br>
> So, it looks like cmake gets data for the CMAKE_REQUIRED_LIBRARIES<br>
> from these 2 aboves places, but it does not transform the " " blank separators by ";" ?!!<br>
<br>
It's MariaDB's CMake code that is doing that, not CMake itself.<br>
<br>
-Brad<br>
</div>
</span></font></div>
</body>
</html>