Ubuntu10.10 MySQL 5をインストールします.1:redeclaration of C++ built-in type ‘bool’

270 ワード

mysqlのインストール時にmakeでredeclaration of C++built-in type'bool'エラーが表示されます.
gcc-c++がインストールされていないため、以下のように解決します.
sudo apt-get install build-essential

gcc-c++がconfigureの後にインストールされているため、この場合はconfigure mysqlを再configureしてからmakeをコンパイルするだけです.