编译php5.3.x时候出现错误 /usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory . 这里备忘一下, 网上找到一个没办法的办法: 用 Perl 正则注释掉:( $ perl -pi -e 's#\#include #//\#include #' /usr/include/mysql/my_
编译php5.3.x时候出现错误/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or directory. 这里备忘一下, 网上找到一个没办法的办法:
用Perl正则注释掉:(
$ perl -pi -e 's#\#include #//\#include #' /usr/include/mysql/my_global.h
@SEE: http://help.directadmin.com/item.php?id=333