MySQL Forums
Forum List  »  NDB clusters

Re: CMake Error When compiler MySQL Cluster-7.3.6 from source code
Posted by: Jonathan Stephens
Date: August 12, 2015 05:13AM

-DWITH_NDB_JAVA=OFF should take care of that problem.

You are specifying -DWITH_NDBCLUSTER=ON as well, correct? I don't see this included amongst the options you listed, and this is required for building MySQL Cluster*. I build with the following options and have no problems:

  -DWITH_ARCHIVE=1
  -DWITH_BLACKHOLE=1
  -DWITH_INNOBASE=1
  -DWITH_PARTITION=1
  -DWITH_PERFSCHEMA=1
  -DWITHOUT_FEDERATED=1

  -DENABLE_DEBUG_SYNC=0
  -DENABLED_LOCAL_INFILE=1
  -DENABLED_PROFILING=1
  -DWITH_DEBUG=0
  -DWITH_EMBEDDED_SERVER=0
  -DWITH_EXTRA_CHARSETS=all
  -DWITH_READLINE=1
  -DWITH_SSL=bundled
  -DMYSQL_USER=$ME
  -DDOWNLOAD_BOOST=1 
  -DWITH_BOOST=$mygit/boost/boost_1_55_0

  -DWITH_NDBCLUSTER=ON
  -DWITH_NDB_JAVA=OFF
  -DWITH_NDB_TEST=ON
  -DWITH_NDB_DOCS=OFF

  -DCMAKE_INSTALL_PREFIX=$PREFIX
  -DINSTALL_SQLBENCHDIR=
  -DMYSQL_DATADIR=$PREFIX/data
  -DSYSCONFDIR=$PREFIX/etc
  -DMYSQL_TCP_PORT=$PORT
  -DENABLE_DOWNLOADS=1

(You'll need to substitute your own values for $ME, $PREFIX, $mygit, etc., of course.)

-----

*A note in the documentation claimed that this option is always enabled. That statement was incorrect, and has been removed from the docs.

-----

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: CMake Error When compiler MySQL Cluster-7.3.6 from source code
971
August 12, 2015 05:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.