← Back to team overview

maria-discuss team mailing list archive

New Question: (Another) Install problem on Mac OSX 10.10.2

 

Hello,

A new question has been asked in "Getting, Installing, and Upgrading MariaDB" by 7stud. Please answer it at http://mariadb.com/kb/en/another-install-problem-on-mac-osx-10102/ as the person asking the question may not be subscribed to the mailing list.

--------------------------------
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.8**\\
on **Mac OSX 10.10.2 **\\
with **Xcode 6.3.2**\\

{{{
$ cmake --version
cmake version 3.4.0-rc3

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

$ cmake . -DBUILD_CONFIG=mysql_release

$ 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

$ make

...
...

~/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$ 
}}}
--------------------------------

To view or answer this question please visit: http://mariadb.com/kb/en/another-install-problem-on-mac-osx-10102/