Comments - how to compile tokudb engine in MariaDB 10.0.14

9 years, 4 months ago Wenfang Zhang

i have tried as the article said , but it occured some weiird problem which i haven't solved now . by the way , i also install gcc 4.8.1 and cmake 2.8.10.2 ,

[root@PC90 include]# gcc --version
gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@PC90 include]# cmake --version
cmake version 2.8.10.2

following is the error:

gcc: error:  --pipe: No such file or directory
-- Looking for event.h
-- Looking for event.h - not found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_ASSEMBLER
    ENABLE_LOCAL_INFILE
    ENABLE_THREAD_SAFE_CLIENT
    WITH_ARIA_TMP_TABLES
    WITH_BIG_TABLES
    WITH_LIBEVENT
/data/zhangwf/mariadb-10.0.14/mysys/my_context.c: Assembler messages:
/data/zhangwf/mariadb-10.0.14/mysys/my_context.c:207: Error: CFI instruction used without previous .cfi_startproc
gmake[2]: *** [mysys/CMakeFiles/mysys.dir/my_context.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft.dir/txn/rollback-ct-callbacks.cc.o
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/serialize/ft_node-serialize.cc.o
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/serialize/ft-node-deserialize.cc.o
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/serialize/ft-serialize.cc.o
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/serialize/sub_block.cc.o
[ 20%] Building CXX object storage/tokudb/ft-index/ft/CMakeFiles/ft.dir/txn/rollback_log_node_cache.cc.o
gmake[1]: *** [mysys/CMakeFiles/mysys.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 22%] Built target ft_static
[ 23%] Built target ft
gmake: *** [all] Error 2
 
9 years, 3 months ago Sergei Golubchik

How exactly did you run cmake? What architecture/OS/distribution do you run this on?

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.