【AIX】AIX 6.1 “C compiler cc is not found”问题的解决方案
一、问题的由来
前几天在AIX中安装部署 nginx-1.4.1,报如下错误:
# cd nginx-1.4.1
# ./configure
checking for OS
+ AIX 1 0004F60BD400
checking for C compiler ... not found
./configure: error:
C compiler cc is not found
#
二、“吐血的AIX”
AIX的恶心之处相信用过它的都知道:什么都要装!
在网上查了很多资料,得到的是一个结论,CC(C compiler) 需要花费 USD $4,300.00 看清楚,是美刀!
采购地址:http://www-03.ibm.com/software/products/us/en/xlcpp-aix
太黑了,疯狂敛财~~~ 崩溃中......
思绪万千…………
为啥 其他类unix发行版都可以有的呢?
三、GCC大美女
原来。。。。
有一个美女叫GCC,才华之横溢无人能敌! 人家用的就是GCC。
啊哈哈~~~额喜欢~~~
去她家(http://gcc.gnu.org/)一睹她了的容貌,只恨相见甚晚!!!
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...).
GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.
看她最后的留言哦~~~ 她的免费的哦~~~
官方下载源:http://gcc.gnu.org/mirrors.html
IBM提供的GCC下载源:ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gcc/ (返回上一层会有惊喜滴)
也可以去IBM 提供的 AIX Toolbox for Linux Applications 下载:http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html
当然万能的互联网不只有这三种方式能寻到她。。。Goooooogle一下你就知道!
四、把美女请回家
#### 安装gcc ###
# sudo rpm -ivh libgcc-4.2.0-3.aix6.1.ppc.rpm
# sudo rpm -ivh libstdcplusplus-4.2.0-3.aix6.1.ppc.rpm
# sudo rpm -ivh libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm
# sudo rpm -ivh gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm
# sudo rpm -ivh gcc-4.2.0-3.aix6.1.ppc.rpm
注意顺序哦,她们是有依赖滴~~~
用ubuntu用惯了,爱上了sudo,有时候本能地用sudo,改不过来。没有sudo的上Google下到处都是;或者用root登录亦可。
五、修改cc路径
# cd /bin
# ln -s gcc cc
你懂的。
【AIX】AIX 6.1 “C compiler cc is not found”问题的解决方案的更多相关文章
- nginx报错:./configure: error: C compiler cc is not found, gcc 是已经安装了的
源码安装nginx报错,找不到gcc,但是实际上gcc是存在的,如下: # ./configure checking for OS + Linux -.el7.x86_64 x86_64 checki ...
- nginx安装错误:c compiler cc is not found
今天安装软件nginx的时候遇到的报错:c compiler cc is not found 查了下网上的资料,解决方案也不复杂. 先说明下环境: 服务器:CentOS 7 nginx:2.3.1 原 ...
- Ubuntu Server 上在安装Nginx时执行./confgiure后提示:C compiler cc is not found
场景 Ubuntu Server 16.04 LTS上怎样安装下载安装Nginx并启动: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/detai ...
- CentOS 7 离线环境安装nginx时报错:./configure: error: C compiler cc is not found
先说解决方法: 在nginx目录下,查看objs/autoconf.err文件,该文件记录了具体的错误信息 vi objs/autoconf.err 一般就是缺少一些文件,因为我的gcc.g++也是离 ...
- 编译安装nginx提示./configure: error: C compiler cc is not found
1 编译安装nginx提示如下 ./configure: error: C compiler cc is not found 2 解决办法 yum -y install gcc gcc-c++ aut ...
- Linux安装Nginx报错: ./configure: error: C compiler cc is not found
CentOS 7.3 下 安装 Nginx 执行配置命令 ./configure 时提示以下错误: checking for OS + Linux 2.6.32-431.el6.x86_64 x86_ ...
- ./configure: error: C compiler cc is not found
没有安装gcc 在安装nginx之前先安装依赖软件 yum install -y gcc gcc-c++ autoconf pcre pcre-devel make automake wget htt ...
- centos7安装nginx 报./configure: error: C compiler cc is not found
CentOS 7 下 安装 nginx 执行配置命令 ./configure 时提示以下错误: 解决: 执行以下命令: yum -y install gcc gcc-c++ autoconf auto ...
- nginx配置C compiler cc is not found
1.需求 linux安装个编译器 参考资料:http://blog.csdn.net/testcs_dn/article/details/51461750
随机推荐
- 数据库,inner join,left join right join 的区别
假设有两个表: 学生和课程 student: class: id student id class studentId 1 ...
- 移动Web开发,4行代码检测浏览器是否支持position:fixed
不废话,直接上代码 var div = document.createElement('div'); div.style.cssText = 'display:none;position:fixed; ...
- mysql数据类型——字符串char(m)和varchar(m)
char(m) 定长字符串类型 非 Unicode 字符 varchar(m) 变长字符串类型 非 Unicode 数据 说明:M为最大可存储字节数 汉子占两个字节,通过指定m,来限制存储的最大字 ...
- Android JNI和NDK关系
1.什么JNI Java Native Interface(JNI)标准是java平台的一部分,它允许Java代码和其他语言写的代码进行交互.JNI 是本地编程接口,它使得在 Java 虚拟机(VM) ...
- curl http_code状态码 含义
curl爬取过程中,会返回一个http_code,下面是他们的意义信息 $http_code["]="Unable to access"; $http_code[&quo ...
- 常用jQuery选择器总结【转】
在Dom 编程中我们只能使用有限的函数根据id 或者TagName 获取Dom 对象. 然而在jQuery 中则完全不同,jQuery 提供了异常强大的选择器用来帮助我们获取页面上的对象, 并且将对象 ...
- c# 無彈窗调用打印机
using System; using System.Collections.Generic; using System.Text; using System.Configuration; using ...
- NSDictionary 使用总结
NSDictionary使用小结 #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @ ...
- C# WinForm的SplitContainer控件固定Panel大小[转]
原文地址:http://zhidao.baidu.com/link?url=mhkUszZ8am_vqNX3KAOff-psd3af7Xl3DL77KxJ-rWIAqIArQHzQIEBoX49mQA ...
- jQuery Ajax 分页插件
很多社交网站都使用无限滚动的翻页技术来提高用户体验,当你页面滑到列表底部时候无需点击就自动加载更多的内容 很多社交网站都使用无限滚动的翻页技术来提高用户体验,当你页面滑到列表底部时候无需点击就自动加载 ...