[ 
https://issues.apache.org/jira/browse/IGNITE-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jack Luo updated IGNITE-12022:
------------------------------
    Description: 
IGNITE-1472 introduced ignite/binary/binary_enum_entry.h and 
ignite/binary/binary_enum.h. These header files are used inside 
ignite/impl/binary/binary_utils.h:30:10. 

However, after compilation using 

./configure --disable-node --disable-odbc

the header files are not installed under /usr/local/include/ignite/binary/ thus 
causing compilation error in user program. 

 

The fix is to copy the two files to /usr/local/include/ignite/binary.

 

Reproduction steps 

Step 1 - sparse clone the thin-client from master
 cd /tmp
 mkdir ignite
 cd ignite
 git init
 git config core.sparseCheckout true
 git remote add origin [https://github.com/apache/ignite.git]
 echo "modules/platforms/cpp/" > .git/info/sparse-checkout
 git fetch --depth 1 origin
 git checkout master

Step 2 - make and install static and shared libraries
 cd modules/platforms/cpp/
 libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
 ./configure --disable-node --disable-odbc
 make -j$num_cpus
 make install

Step 3 - use thin-client library in applciation

  was:
IGNITE-1472 introduced ignite/binary/binary_enum_entry.h and 
ignite/binary/binary_enum.h. These header files are used inside 
ignite/impl/binary/binary_utils.h:30:10. 

However, after compilation using 

./configure --disable-node --disable-odbc

the header files are not installed under /usr/local/include/ignite/binary/ thus 
causing compilation error in user program. 

 

The fix is to copy the two files to /usr/local/include/ignite/binary.


> Compilation bug possibly introduced by IGNITE-1472 (commit 43e3fee)
> -------------------------------------------------------------------
>
>                 Key: IGNITE-12022
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12022
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary, build, thin client
>    Affects Versions: 2.8
>            Reporter: Jack Luo
>            Priority: Major
>
> IGNITE-1472 introduced ignite/binary/binary_enum_entry.h and 
> ignite/binary/binary_enum.h. These header files are used inside 
> ignite/impl/binary/binary_utils.h:30:10. 
> However, after compilation using 
> ./configure --disable-node --disable-odbc
> the header files are not installed under /usr/local/include/ignite/binary/ 
> thus causing compilation error in user program. 
>  
> The fix is to copy the two files to /usr/local/include/ignite/binary.
>  
> Reproduction steps 
> Step 1 - sparse clone the thin-client from master
>  cd /tmp
>  mkdir ignite
>  cd ignite
>  git init
>  git config core.sparseCheckout true
>  git remote add origin [https://github.com/apache/ignite.git]
>  echo "modules/platforms/cpp/" > .git/info/sparse-checkout
>  git fetch --depth 1 origin
>  git checkout master
> Step 2 - make and install static and shared libraries
>  cd modules/platforms/cpp/
>  libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
>  ./configure --disable-node --disable-odbc
>  make -j$num_cpus
>  make install
> Step 3 - use thin-client library in applciation



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to