Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12022

Compilation bug possibly introduced by IGNITE-1472 (commit 43e3fee)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8
    • None
    • binary, build, thin client
    • None
    • Docs Required

    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 - attempt to build thin-client library inside cpp application

      Attachments

        Activity

          People

            Unassigned Unassigned
            jackluo923 Jack Luo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: