Comments (6)
from mydumper.
@wagnerbianchijr
it is not a fresh machine, and I have install Mysql5.6.30 ,the operational system is CentOS.
# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
I read the README ,and installed the package which CentOS need to install.but stall failed.
The packages I have installed:
# yum -y install glib2-devel mysql-devel zlib-devel pcre-devel openssl-devel
Here is the cmake and make detail logs:
# cmake . -DWITH_BINLOG=ON
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using mysql-config: /home/mysql/mysql3306/bin/mysql_config
-- Found MySQL: /home/mysql/mysql3306/include, /home/mysql/mysql3306/lib/libmysqlclient.so;/usr/lib64/libpthread.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libdl.so
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- checking for one of the modules 'glib-2.0'
-- checking for one of the modules 'gthread-2.0'
-- checking for module 'libpcre'
-- found libpcre, version 8.32
-- Found PCRE: /usr/include
CMake Warning at docs/CMakeLists.txt:9 (message):
Unable to find Sphinx documentation generator
-- ------------------------------------------------
-- MYSQL_CONFIG = /home/mysql/mysql3306/bin/mysql_config
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- WITH_BINLOG = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mydumper-master
# echo $?
0
# make
Scanning dependencies of target mydumper
[ 20%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o
/root/mydumper-master/mydumper.c: In function ‘binlog_thread’:
/root/mydumper-master/mydumper.c:1028:17: error: ‘thrconn’ undeclared (first use in this function)
mysql_options(thrconn,MYSQL_READ_DEFAULT_FILE,defaults_file);
^
/root/mydumper-master/mydumper.c:1028:17: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/mydumper.dir/mydumper.c.o] Error 1
make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2
make: *** [all] Error 2
# echo $?
2
thanks
from mydumper.
same error here, same setup: centos7, mariadb 10.1
from mydumper.
@wagnerbianchijr @maxbube
I need your help~~
from mydumper.
from mydumper.
Hi,
DWITH_BINLOG=ON is deprecated and will be totally removed in some of the next releases.
For binlog backups I would recommend to use mysqlbinlog > 5.6.
Also as @wagnerbianchijr is mentioning you don't need to compile it yourself anymore as packages are now included in the release.
Please let me know if that works for you.
from mydumper.
Related Issues (20)
- [BUG] myloader problem with restore to galera cluster HOT 1
- Hard-coded default config file location doesn't work for MacOS homebrew installation HOT 2
- [BUG] Replication position broken on slave after backup/restore HOT 5
- [FEATURE REQUEST] Is there a way to dump the varchar or text column as hex(col) and insert them with unhex("<col_hexstring">) HOT 1
- [BUG] 0.15.2-6, mydumper cat not finish HOT 2
- [BUG] CRITICAL Thread 5: Error restoring: Duplicate entry 'sessions' for key 'audit_log_table.audit_log_table_name' HOT 1
- [BUG] mydumper segmentation fault after schema dumping
- [BUG] myloader 0.15.1.3 import speed is slow HOT 10
- [BUG] --defaults-extra-file remove previous values set in the default file HOT 2
- Not able to use partition-regex HOT 7
- can we have column header included in csv if need to use csv as independent file for ETL
- [BUG] mydumper segfault : segfault at 70, got coredump HOT 5
- [BUG] myloader import view error HOT 2
- [BUG] stream issue - broken dump HOT 5
- [BUG] 0.15.2-7 goes 100% cpu for hours HOT 11
- [BUG] Intermittent Segmentation Fault HOT 12
- [BUG] 0.15.2-7 always add "SET SQL_MODE" HOT 5
- [BUG] Performance degradation due defer HOT 7
- The failure to restore - myloader errors and missing data. HOT 2
- [BUG] Mydumper fails with the error "Couldn't get master position: Access denied" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mydumper.