MySQL Forums
Forum List  »  Source, Builds, Binaries

Compiling mysql-cluster 7.5.4 under FreeBSD11
Posted by: Teddy Brewski
Date: January 17, 2017 02:31PM

Hello,

Anyone here being able to successfully compile mysql-cluster 7.5.4 under FreeBSD 11.0-STABLE (cmake 3.7.1)?

I'm getting errors while compiling with the following options:

cmake -DBUILD_CONFIG=mysql_release -DMYSQL_DATADIR=/var/db/mysql -DINSTALL_MANDIR=/usr/local/man -DINSTALL_SBINDIR=/usr/local/libexec -DINSTALL_MYSQLSHAREDIR=/usr/local/share/mysql -DINSTALL_SCRIPTDIR=/usr/local/bin -DINSTALL_LIBDIR=/usr/local/lib/mysql -DINSTALL_INCLUDEDIR=/usr/local/include/mysql -DINSTALL_BINDIR=/usr/local/bin -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost -DWITH_NDB_JAVA=OFF -DWITH_NDBCLUSTER_STORAGE_ENGINE=ON

...

Scanning dependencies of target innobase
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/api/api0api.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/api/api0misc.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0cur.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0pcur.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0sea.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0bulk.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/buf0buddy.cc.o
[ 13%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/buf0buf.cc.o
In file included from /home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/buf/buf0buf.cc:33:
In file included from /home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/include/ha_prototypes.h:32:
In file included from /home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/include/univ.i:594:
In file included from /home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/include/sync0types.h:32:
In file included from /home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/include/ut0new.h:124:
/usr/include/c++/v1/map:820:5: error: implicit instantiation of undefined template '__static_assert_test<false>'
static_assert((is_same<typename allocator_type::value_type, value_type>::value),
^
/usr/include/c++/v1/__config:654:35: note: expanded from macro 'static_assert'
typedef __static_assert_check<sizeof(__static_assert_test<(__b)>)> \
^
/home/brew/src/mysql-cluster-gpl-7.5.4/storage/innobase/buf/buf0buf.cc:393:19: note: in instantiation of template class 'std::__1::map<const unsigned char *, buf_chunk_t *, std::__1::less<const unsigned char *>,
ut_allocator<std::__1::pair<const unsigned char *, buf_chunk_t *> > >' requested here
buf_chunk_map_reg->insert(buf_pool_chunk_map_t::value_type(
^
/usr/include/c++/v1/__config:649:24: note: template is declared here
template <bool> struct __static_assert_test;
^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/home/brew/src/mysql-cluster-gpl-7.5.4
*** Error code 1

Thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Compiling mysql-cluster 7.5.4 under FreeBSD11
496
January 17, 2017 02:31PM


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.