mysql编译设置make,最后提示:make[2]: *** [my_new.o] Error 127
make[2]:***[my_new.o]Error127make[2]:Leavingdirectory`/usr/src/mysql-5.0.96/mysys'mak...
make[2]: *** [my_new.o] Error 127
make[2]: Leaving directory `/usr/src/mysql-5.0.96/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-5.0.96'
make: *** [all] Error 2
该如何解决? 展开
make[2]: Leaving directory `/usr/src/mysql-5.0.96/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-5.0.96'
make: *** [all] Error 2
该如何解决? 展开
2个回答
展开全部
需要安装gcc-c++
[root@localhost Server]# rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
warning: libstdc++-devel-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key
ID 37017186
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
[root@localhost Server]# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm
warning: gcc-c++-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID
37017186
Preparing... ########################################### [100%]
1:gcc-c++ ########################################### [100%]
[root@localhost Server]#
[root@localhost Server]# rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
warning: libstdc++-devel-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key
ID 37017186
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
[root@localhost Server]# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm
warning: gcc-c++-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID
37017186
Preparing... ########################################### [100%]
1:gcc-c++ ########################################### [100%]
[root@localhost Server]#
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |