`

【转】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即可。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics