Andrey Khitrin created IGNITE-20329:
---------------------------------------

             Summary: Cannot build ODBC modules on MacOS
                 Key: IGNITE-20329
                 URL: https://issues.apache.org/jira/browse/IGNITE-20329
             Project: Ignite
          Issue Type: Bug
          Components: odbc
            Reporter: Andrey Khitrin


I tried to build AI3 from master (hash: 59107180b) on my MacBook and faced an 
obstacle with compiling ODBC driver:

{code}
./gradlew clean build -x check
...
> Task :platforms:cmakeBuildOdbc FAILED
  CMakePlugin.cmakeConfigure - ERRORS: 
In file included from 
/Users/zloddey/work/apache/ignite-3/modules/platforms/cpp/ignite/odbc/app/application_data_buffer.cpp:18:
In file included from 
/Users/zloddey/work/apache/ignite-3/modules/platforms/cpp/ignite/odbc/app/application_data_buffer.h:20:
In file included from 
/Users/zloddey/work/apache/ignite-3/modules/platforms/cpp/ignite/odbc/common_types.h:20:
/Users/zloddey/work/apache/ignite-3/modules/platforms/cpp/ignite/odbc/system/odbc_constants.h:29:10:
 fatal error: 'odbcinst.h' file not found
#include <odbcinst.h>
         ^~~~~~~~~~~~
1 error generated.
make[2]: *** 
[ignite/odbc/CMakeFiles/ignite3-odbc-obj.dir/app/application_data_buffer.cpp.o] 
Error 1
make[1]: *** [ignite/odbc/CMakeFiles/ignite3-odbc-obj.dir/all] Error 2
make: *** [all] Error 2
{code}

I have an unixODBC package installed in my system, and odbcinst.h located in 
/opt/local/include. My problem here is that this header is not found by build 
scripts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to