This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

(Another) Install problem on Mac OSX 10.10.2

In am using the Generic Build instructions:

https://mariadb.com/kb/en/mariadb/generic-build-instructions/

And here were my results trying to install:

MariaDB 10.1.9
on Mac OSX 10.10.2
with Xcode 6.3.2

~/Downloads/mariadb-10.1.9$ cmake --version
cmake version 3.4.0-rc3

CMake suite maintained and supported by Kitware (kitware.com/cmake).

~/Downloads/mariadb-10.1.9$ cmake . -DBUILD_CONFIG=mysql_release
...
...
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/7stud/Downloads/mariadb-10.1.9

~/Downloads/mariadb-10.1.9$ make --version
GNU Make 3.81
Copyright (C) 2006  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.

This program built for i386-apple-darwin11.3.0

~/Downloads/mariadb-10.1.9$ make
...
...
...
Scanning dependencies of target install_tdb_h
[ 71%] Generating db.h
[ 71%] Built target install_tdb_h
Scanning dependencies of target util_static
[ 71%] Building CXX object storage/tokudb/ft-index/util/CMakeFiles/util_static.dir/context.cc.o
In file included from /Users/7stud/Downloads/mariadb-10.1.9/storage/tokudb/ft-index/util/context.cc:94:
In file included from /Users/7stud/Downloads/mariadb-10.1.9/storage/tokudb/ft-index/util/context.h:96:
/Users/7stud/Downloads/mariadb-10.1.9/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 {
^
1 error generated.
make[2]: *** [storage/tokudb/ft-index/util/CMakeFiles/util_static.dir/context.cc.o] Error 1
make[1]: *** [storage/tokudb/ft-index/util/CMakeFiles/util_static.dir/all] Error 2
make: *** [all] Error 2
~/Downloads/mariadb-10.1.9$ 

Answer Answered by Janus Troelsen in this comment.

Could you post this as a bug instead? The devs won't notice it here.

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.