Not the answer you need?
Register and ask your own question!

Percona TokuDB cannot build on OS X EI Capitan

ericmarericmar EntrantCurrent User Role Beginner
percona tokuDB plugin cannot build on OS X EI Capitan,it's show this info

Scanning dependencies of target tokudb_static_conv
[ 61%] Building CXX object storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/src/ydb.cc:52:
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/ft/ft-flusher.h:41:
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/ft/ft-internal.h:49:
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/ft/node.h:40:
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/ft/bndata.h:40:
In file included from /Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/util/dmt.h:679:
/Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/util/dmt.cc:873:9: error:
nonnull parameter 'outlen' will evaluate to 'true' on first encounter
[-Werror,-Wpointer-bool-conversion]
if (outlen) {
~~ ^~~~~~
/Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/util/dmt.cc:883:9: error:
nonnull parameter 'outlen' will evaluate to 'true' on first encounter
[-Werror,-Wpointer-bool-conversion]
if (outlen) {
~~ ^~~~~~
/Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/util/dmt.cc:893:9: error:
nonnull parameter 'outlen' will evaluate to 'true' on first encounter
[-Werror,-Wpointer-bool-conversion]
if (outlen) {
~~ ^~~~~~
/Users/Eric/Downloads/percona-server-5.6.28-76.1/storage/tokudb/PerconaFT/util/dmt.cc:903:9: error:
nonnull parameter 'outlen' will evaluate to 'true' on first encounter
[-Werror,-Wpointer-bool-conversion]
if (outlen) {
~~ ^~~~~~
4 errors generated.
make[2]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o] Error 1
make[1]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/all] Error 2
make: *** [all] Error 2

Comments

  • George LorchGeorge Lorch Percona Percona Moderator Role Patron
    Percona Server and TokuDB are not supported on OS/X. This build error is TokuDB specific and can be avoided by not building TokuDB, add "-DWITHOUT_TOKUDB=1" to your cmake and you will progress further.

    ​--
    George O. Lorch III
    Software Engineer, Percona
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.