Error "WSREP_DEBUG was not declared in this scope" while compiling on Ubuntu 13.04
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've got the following errors while compiling recent PXC 5.5.34 on Ubuntu 13.04:
...
[ 85%] Building CXX object sql/CMakeFiles/
[ 85%] Building CXX object sql/CMakeFiles/
/home/openxs/
/home/openxs/
/home/openxs/
/home/openxs/
/home/openxs/
/home/openxs/
/home/openxs/
make[2]: *** [sql/CMakeFiles
make[1]: *** [sql/CMakeFiles
make: *** [all] Error 2
Some details about the build environment:
openxs@
openxs@
revision-id: <email address hidden>
date: 2013-12-18 23:23:08 +0530
build-date: 2013-12-19 17:19:39 +0200
revno: 597
branch-nick: pxc-5.5
openxs@
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 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.
openxs@
cmake version 2.8.10.1
Code was built as usual, using the following commands 9from fc -l):
2006 bzr branch http://
2007 cd pxc-5.5
2008 make
2009 export CFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
2010 export CXXFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
2011 export LIBS=-lrt
2012 cmake . -DCMAKE_
2013 cd Percona-
2014 cmake . -DCMAKE_
2015 make
@Valerii,
You need to provide WITH_WSREP=ON . Please check build-binary.sh in bzr tree.