maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #09095
Re: BUILD ERROR
Hi Laketra,
As far as I know, MariaDB tokudb engine does not work on Mac OS. To not
compile tokudb you can run during cmake
Cmake. -DPLUGIN_TOKUDB=NO
Then run make. Make sure to delete cmakecache.txt before running cmake
again.
Vicentiu
On Fri, 11 Dec 2015 at 11:19, Laketra Musa <musalaketra@xxxxxxxxx> wrote:
> Hi,
> I was Building mariadb on Mac OS X and got this error:
>
> [ 81%] Built target pfs_misc-t
> [ 81%] Built target pfs_timer-t
> [ 81%] Built target pfs_user-oom-t
> [ 81%] Built target sphinx
> [ 83%] Built target spider
> [ 83%] Built target test_sql_discovery
> [ 84%] Built target tokuportability_static_conv
> [ 84%] Built target tokuportability_static
> [ 84%] Built target logformat
> [ 84%] Built target generate_log_code
> [ 84%] Built target make_tdb
> [ 84%] Built target install_tdb_h
> [ 84%] Building CXX object
> storage/tokudb/ft-index/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/src/ydb.cc:97:
> /Users/osiris/Desktop/server/build/storage/tokudb/ft-index/buildheader/db.h:323:1:
> error:
> empty struct has size 0 in C, size 1 in C++
> [-Werror,-Wextern-c-compat]
> struct __toku_db_lsn {
> ^
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/src/ydb.cc:107:
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/ft/ft-flusher.h:94:
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/ft/ft-internal.h:103:
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/ft/node.h:91:
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/ft/bndata.h:93:
> In file included from
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/util/dmt.h:731:
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/util/dmt.cc:925:9:
> error:
> nonnull parameter 'outlen' will evaluate to 'true' on first encounter
> [-Werror,-Wpointer-bool-conversion]
> if (outlen) {
> ~~ ^~~~~~
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/util/dmt.cc:935:9:
> error:
> nonnull parameter 'outlen' will evaluate to 'true' on first encounter
> [-Werror,-Wpointer-bool-conversion]
> if (outlen) {
> ~~ ^~~~~~
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/util/dmt.cc:945:9:
> error:
> nonnull parameter 'outlen' will evaluate to 'true' on first encounter
> [-Werror,-Wpointer-bool-conversion]
> if (outlen) {
> ~~ ^~~~~~
> /Users/osiris/Desktop/server/storage/tokudb/ft-index/util/dmt.cc:955:9:
> error:
> nonnull parameter 'outlen' will evaluate to 'true' on first encounter
> [-Werror,-Wpointer-bool-conversion]
> if (outlen) {
> ~~ ^~~~~~
> 5 errors generated.
> make[2]: ***
> [storage/tokudb/ft-index/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o]
> Error 1
> make[1]: ***
> [storage/tokudb/ft-index/src/CMakeFiles/tokudb_static_conv.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How can I fix this please?
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-developers
> Post to : maria-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-developers
> More help : https://help.launchpad.net/ListHelp
>
References