问答详情
源自:4-1 LAMP之安装Mysql

make出错

c++: internal compiler error: Killed (program cc1plus)

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://bugzilla.redhat.com/bugzilla> for instructions.

make[2]: *** [sql/CMakeFiles/sql.dir/item_geofunc.cc.o] Error 4

make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2

make: *** [all] Error 2

麻烦老师看一下

提问者:正在输入1 2017-04-25 16:27

个回答

  • 小灰灰heart
    2017-04-29 21:06:42
    已采纳

    指定一下数据库的目录

    --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-pdo-mysql=/usr/local/mysql