[jira] [Commented] (IGNITE-20329) Cannot build ODBC modules on MacOS

2023-09-01 Thread Igor Sapego (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-20329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17761302#comment-17761302
 ] 

Igor Sapego commented on IGNITE-20329:
--

Looks good to me.


> 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
>Assignee: Andrey Khitrin
>Priority: Major
>  Labels: ignite-3
>
> 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 
>  ^~~~
> 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)


[jira] [Commented] (IGNITE-20329) Cannot build ODBC modules on MacOS

2023-09-01 Thread Andrey Khitrin (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-20329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17761300#comment-17761300
 ] 

Andrey Khitrin commented on IGNITE-20329:
-

[~isapego] Take a look at PR please

> 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
>Assignee: Andrey Khitrin
>Priority: Major
>  Labels: ignite-3
>
> 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 
>  ^~~~
> 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)