Building XtraBackup for Mac OSX
source https://twindb.com/building-xtrabackup-for-mac-os/
The above source was missing some steps which I thought I'd add as a reminder for future installations for anyone missing the same dependencies as I did.
If you get the following error as I did on make
then you can edit ./sql/mysqld.cc and on line 6404 change
to
and run make again, done!
The above source was missing some steps which I thought I'd add as a reminder for future installations for anyone missing the same dependencies as I did.
port install libgcrypt libev
If you get the following error as I did on make
percona-xtrabackup-2.4.1/sql/mysqld.cc:6409:10: error: use of undeclared identifier 'yaSSL_ASN1_TIME_to_string'
return yaSSL_ASN1_TIME_to_string(time, buf, len);
^
[ 98%] Building CXX object sql/CMakeFiles/sql.dir/protocol_callback.cc.o
1 error generated.
make[2]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
then you can edit ./sql/mysqld.cc and on line 6404 change
#ifdef HAVE_YASSL
to
#ifdef HAVE_YASSL2
and run make again, done!
Comments
Post a Comment