Comments (10)
This bug report is seriously lacking in detail.
from webscalesql-5.6.
cmake -DCMAKE_INSTALL_PREFIX=/data/webscalesoft -DMYSQL_UNIX_ADDR=/data/webscalesoft/mysql.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DEXTRA_CHARSETS=all -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DMYSQL_DATADIR=/data/webscaledb -DMYSQL_TCP_PORT=3308 -DENABLE_DOWNLOADS=1
-- Running cmake version 2.8.10.2
-- MySQL 5.6.17
-- Packaging as: mysql-5.6.17-Linux-x86_64
-- HAVE_VISIBILITY_HIDDEN
-- HAVE_VISIBILITY_HIDDEN
-- HAVE_VISIBILITY_HIDDEN
-- Using cmake version 2.8.10.2
-- Not building NDB
-- Library mysqlclient depends on OSLIBS -lpthread;m;rt;dl
-- GMOCK_SOURCE_DIR:/data/dba_tools/webscalesql-5.6-webscalesql-5.6.17/source_downloads/gmock-1.6.0
-- Performing Test HAVE_NO_NULL
-- Performing Test HAVE_NO_NULL - Failed
-- Performing Test HAVE_NO_UNUSED_TYPEDEFS
-- Performing Test HAVE_NO_UNUSED_TYPEDEFS - Failed
-- GTEST_LIBRARIES:gmock;gtest
-- Library mysqlserver depends on OSLIBS -lpthread;m;rt;crypt;dl;aio
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ENABLE_DOWNLOADS
from webscalesql-5.6.
Following the installation environment:
CentOS release 6.4 (Final) core version:2.6.32-358.el6.x86_64
cmake version 2.8.7
bison version 2.5
m4-1.4.16
webscalesql-5.6-webscalesql-5.6.17
gcc-4.4.7-3.el6.x86_64
readline-6.0-4.el6.x86_64
readline-devel-6.0-3.el6.x86_64
ncurses-devel-5.7-3.20090208.el6.x86_64
from webscalesql-5.6.
Q: Is building WebScaleSQL just like building MySQL?
We have made a few changes so far, that you may need to know.
Building WebScaleSQL requires at least GCC version 4.7, or an equivalent CLang version.
To make a WebScaleSQL debug build, use only -DCMAKE_BUILD_TYPE=Debug not -DWITH_DEBUG.
WebScaleSQL requires readline-dev or libreadline-dev (depending on the Linux distribution) to build.
WebScaleSQL does not currently maintain compatibility for anything except GNU/Linux x86_64.
If you make code changes, be aware that we build as C++11 and C99.
from webscalesql-5.6.
much better
from webscalesql-5.6.
Is it because my gcc version is too low??
from webscalesql-5.6.
Probably. I don't hack on it anymore but there was desire to use features only available in the latest C++ standard and latest g++ versions. This would be a good thing to explain in the FAQ.
from webscalesql-5.6.
As you correctly cited the FAQ item, you need to have gcc 4.7 or higher to build WebScaleSQL. gcc 4.4 won't work.
from webscalesql-5.6.
My problem has been resolved,ths a lot.operation Follows
$ cd /etc/yum.repos.d/
$ wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
$ yum repolist
$ yum install devtoolset-1.1
$ scl enable devtoolset-1.1 bash
$ rm CMakeCache.txt
$ cmake -DCMAKE_INSTALL_PREFIX=/data/webscalesoft
-DMYSQL_UNIX_ADDR=/data/webscalesoft/mysql.sock
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DEXTRA_CHARSETS=all
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_MYISAM_STORAGE_ENGINE=1
-DWITH_ARCHIVE_STORAGE_ENGINE=1
-DWITH_BLACKHOLE_STORAGE_ENGINE=1
-DMYSQL_DATADIR=/data/webscaledb
-DMYSQL_TCP_PORT=3308
-DENABLE_DOWNLOADS=1
$make && make install
I hope it help to others.Thanks.
from webscalesql-5.6.
I also have some question,but I update my gcc to 4.8,it‘s has error that
‘cc1plus: error: unrecognized command line option "-std=c++11"’
finally,I found the environment path is wrong,I used the gcc4.4 version`s cc1plus,then , I delete the old cc1plus,I wish system auto use new version,however,system told me cc1puls not found!!
then,I used cmd
"yum remove gcc"
then complie pass!
I hope it help to others too .Thanks
from webscalesql-5.6.
Related Issues (20)
- Can't complete full build WITHOUT_SERVER: cannot find -lsemisync_slave_client HOT 1
- mysql_com.h uses C_MODE_START/C_MODE_END without including a definition HOT 2
- Look into removing extra object counting in the server
- Docs/INFO_SRC should probably not be in the repo HOT 2
- Gitignore file very incomplete HOT 2
- Build error HOT 4
- Compilation failure caused by missing libedit-dev HOT 4
- Please consider upstreaming async mysql code HOT 5
- mysqld doesn't completely shutdown HOT 2
- libedit/readline compatibility HOT 5
- webscalesqlclient cannot connect to mysql db on OSX HOT 5
- Segmentation fault in webscalesqlclient HOT 2
- install on ubuntu 14.04 error HOT 1
- innodb_doublewrite may leave a dangling mysqld process with locked ibdata HOT 3
- -DENABLE_DOWNLOADS=1 -DWITH_PERFORMANCE_SCHEMA=ON results in a test build failure
- innodb_cmp_per_index test failure with --innodb-log-compressed-pages=1 --innodb-compression-level=9
- An innodb_stress test failure may result in gigabyte-sized logs
- webscalesql-5.6 Truck Factor HOT 1
- main.max_statement_time test not stable on loaded machines, upstream fixes should be backported
- Enum Empty Issues HOT 2
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 webscalesql-5.6.