【转】Ubuntu10.10 安装MySQL5.1:redeclaration of C++ built-in type ‘bool’

安装mysql时 make 时  提示 redeclaration of C++ built-in type ‘bool’ 错误。

是没有安装 gcc-c++ 导致的,解决如下。

  1. sudo apt-get install build-essential  

  如果还出现是因为gcc-c++是在configure之后安装的,此时只需重新configure mysql后再编译make即可。

猜你喜欢

转载自wawlian.iteye.com/blog/1436273
今日推荐