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

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

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

sudo apt-get install build-essential

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

你可能感兴趣的:(ubuntu)