rm -rf mysql-5.6/.*
rm -rf mysql-5.6/*
rmdir mysql-5.6
下载gflags
git clone https://github.com/gflags/gflags.git
编译gflags
$ tar xzf gflags-$version-source.tar.gz
$ cd gflags-$version
$ mkdir build && cd build
$ ccmake ..
- Press 'c' to configure the build system and 'e' to ignore warnings.
- Set CMAKE_INSTALL_PREFIX and other CMake variables and options.
- Continue pressing 'c' until the option 'g' is available.
- Then press 'g' to generate the configuration files for GNU Make.
$ make
$ make test (optional) //这一步,无法执行。
$ make install (optional) //这一步使用sudo make install
编译gflas的时候,都 不报错,证明cmake还是可以用 的。
下载lz4
git clone https://github.com/Cyan4973/lz4
```
make
make install #