Comments on: On compiling TokuDB from source https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source Blog by Shlomi Noach Tue, 29 Mar 2016 21:24:48 +0000 hourly 1 https://wordpress.org/?v=5.3.3 By: Suresh https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-353628 Tue, 29 Mar 2016 21:24:48 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-353628 This is two years after the actual article date and TokuDB still has the same compilation issues. I thought of running benchmarks on different index and picked Tokudb too. Unfortunately, the compilation and installation needs too much effort and I left after spending a few hours on it.

]]>
By: Alexei https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-208102 Mon, 20 May 2013 12:51:24 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-208102 @shlomi I have read article “Benchmarking Percona Server TokuDB vs InnoDB” on Mysqlperformanceblog and decided not to waste my time playing with TokuDB installation and decided to remain on PerconaDB 🙂

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-208084 Mon, 20 May 2013 11:44:59 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-208084 @Alexei,
Now trying this for myself, I get same error as yours — did you solve this?

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-205080 Tue, 07 May 2013 05:45:24 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-205080 Hrm… So my comment on mysqlperformanceblog related to myself trying to do the normal “./configure && make” from the Percona build tarball.
I haven’t tackled the error you’re describing with the bash script. However, I see you are using the “new method” of building the source, whereas I was using the “old method”; haven’t tried the new one as yet.

]]>
By: Alexei https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204954 Mon, 06 May 2013 18:17:14 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204954 I did not compiled by myself, just executed script:

scripts/make.mysql.bash –git_tag=tokudb-7.0.1 –mysql=mariadb-5.5.30 –cc=gcc –cxx=g++

I saw your comment with the same error on mysqlperformanceblog. Thanks anywasy for your answer!

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204911 Mon, 06 May 2013 12:43:13 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204911 Alexei,
Looks to me as if you just tried compiling on your own. You need to copy bash compilation script and execute it (described in post)

]]>
By: Alexei https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204900 Mon, 06 May 2013 11:23:19 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204900 Hi, how did you fix this?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
TOKUFRACTALTREE_LIB
linked by target “tokudb” in directory /home/ft-engine/mariadb/storage/tokudb
TOKUPORTABILITY_LIB
linked by target “tokudb” in directory /home/ft-engine/mariadb/storage/tokudb

— Configuring incomplete, errors occurred!

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204067 Thu, 02 May 2013 18:07:16 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204067 Thank you,
I will follow up on this.

]]>
By: Leif Walsh https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204064 Thu, 02 May 2013 17:55:05 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204064 “./configure” is the way Autotools works. MySQL and MariaDB don’t use Autotools, they use CMake instead. You should read up on what CMake does, but it’s basically the same as “./configure”, and it generates Makefiles (but it generates them in a separate build directory, which is often very useful, you can read up on “cmake out-of-source builds”). If you go into this build directory you can type “make install” there.

You should pass “–git_tag=tokudb-7.0.1” as described in the README. This will fetch a specific version for you.

]]>
By: shlomi https://shlomi-noach.github.io/blog/mysql/on-compiling-tokudb-from-source/comment-page-1#comment-204062 Thu, 02 May 2013 17:48:41 +0000 https://shlomi-noach.github.io/blog/?p=6320#comment-204062 Hi Leif,

With regard “make install” — great, but I never got to see a Makefile in the installation process. There is none. There are plenty Makefile instances in inner directories, but no one Makefile for the entire project.
Of course if you generate a Makefile than a “make install” is wonderful. That’s what I was suggesting myself: to have “./configure && make && make install” (the last can be skipped).

Thanks for the link! Will look more closely into it. Question: since it builds directly from Git, does that mean I get a source code which is modified constantly? Or does it get a particular version?

]]>