CentOS5 no acceptable C compiler found in $PATH
CentOs5安装apache的时候
#./configure
(于检查系统是否有编译时所需的库,以及库的版本是否满足编译的需要等安装所需要的系统信息。为随后的编译工作做准备。)
提示错误如下:(没有GCC编译器环境)
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure:
error
: no acceptable C compiler found in $PATH
经过查阅资料,发现是因为没有安装GCC组件的原因
;
自己的解决办法:
(在线安装gcc)
# yum -y install
gcc
先要用yum install yum-fastestmirror更新下源
再安装apache就好了。。
相关文档:
yeah,组合的也出来了,再一起发一个
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication32
{
class Program
{
static int s = 0;
static void Main(string[] args)
{
Console.Writ ......
字符数组和字符串
&字符数组和字符串的概念 &字符数组的初始化
&字符串的输入输出 &综合举例
字符数组和字符串的概念
字符数组是元素类型为字符的数组 ,它既具有普通数组的一般性质 ,又具有某些特殊性质。
& ......
1//由于使用gcc编译,所以编译时要链接上c++的库,命令是gcc -lstdc++ main.cpp -o main
//本文小程序实现的是对/home/1.avi大小的计算。很简单,贴出来只是为了方便不知道的朋友
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <sys/stat.h>
5 #includ ......
前言:这一章我们讨论一下Linux下的信号处理函数.
Linux下的信号处理函数:
1.信号的产生
2.信号的处理
3.其它信号函数
--------------------------------------------------------------------------------
一个实例
1。信号的产生 ......