编译安装mysql8.0.13时提示内存不足问题解决办法

个人服务器总内存为2G,在编译安装mysql8.0.13时报如下信息:

[ 57%] Building CXX object sql/CMakeFiles/sql_gis.dir/item_geofunc_setops.cc.o
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_gis.dir/item_geofunc_setops.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql_gis.dir/all] Error 2
make: *** [all] Error 2

网上搜了一下,用https://blog.csdn.net/m0_37844878/article/details/73497892上的方法给解决了,成功编译安装了。

猜你喜欢

转载自blog.csdn.net/ligaofeng/article/details/84641848