nginx apache Windows Python centos google Ubuntu HTML5 php 微软 linux命令 java 开源 Android mysql 程序员 Firefox linux shell wordpress

php5.3.x 编译出错”my_global.h:361:24: error: asm/atomic.h: No such file or directory”

编译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

延伸阅读

评论