redhat 5下安装阿帕奇出现make: *** No targets specified and no makefile found. Stop.
2013-01-21 22:22
525 查看
redhat 5下安装阿帕奇出现make: *** No targets specified and no makefile found. Stop.
2010-08-04 01:27
提问者:
yizhixihuanrui | 悬赏分:20
|浏览次数:13366次
我来帮他解答
按默认排序|按时间排序
回答
2010-08-05 02:22dnastar|当前分类:12
级
[b]赞同0|评论
2010-08-05 18:49kqzjhack|当前分类:5
级
赞同0|评论
2010-08-04 21:25小龙冰凌|当前分类:7
级
2010-08-04 01:27
提问者:
yizhixihuanrui | 悬赏分:20
|浏览次数:13366次
[root@localhost ~]# tar zxf httpd-2.2.9.tar.gz [root@localhost ~]# cd httpd-2.2.9 [root@localhost httpd-2.2.9]# ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring package in srclib/apr now configure: WARNING: Unrecognized options: --enable-so, --enable-rewrite checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring APR library Platform: i686-pc-linux-gnu checking for working mkdir -p... yes APR Version: 1.3.0 checking for chosen layout... apr checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. configure failed for srclib/apr [root@localhost httpd-2.2.9]# make make: *** No targets specified and no makefile found. Stop. 这是做的整个过程,希望高手帮下忙!
问题补充:
在教下我,怎么样才能make!还有安装gcc的哪个包,我的系统是redhat 5的!谢谢大家了! 加我也行,547692926
我来帮他解答
按默认排序|按时间排序
回答
共3条
2010-08-05 02:22dnastar|当前分类:12级
configure没有通过啊 “configure: error: no acceptable C compiler found in $PATH” 没找到可用的C编译器,可能是你GCC没装吧,装了GCC就行了(如果已经装了,把路径加入PATH即可) --------------- 我就详细点告诉你怎么做吧: 你如果要在redhat5编译C/C++程序,你必须安装以下的软件包: => autoconf:configure用的 => make/automake: make的主程序 => GNU GCC C 编译器(gcc) version 4.1: 编译C的 => GNU GCC C++ 编译器 (gcc-c++): 编译C++的 在Redhat / CentOS / Fedora Linux下(前者是商业版要付钱,中间的是代码重编译社区版免费,后者是个人电脑用的不知道免费不免费。。。因为我用的是ubuntu),你可以用下面的方式安装这几个软件包(任何一种都可以的) [a] GUI界面(最适合刚从windows转过来的菜菜) 从CD装RPM包(有盘的) [c] 从网上自动下载安装(最方便) 方法1:打入下面的命令,找到包,选择后应用即可 $ system-config-packages & 方法2: CD,把系统安装光盘(如果你有)放入光驱,打入下面的命令 # rpm -ivh gcc* 方法3: 网上下载,打入下面的命令(需要预装yum,不过一般发行版都整合yum的,自动下载安装软件仓库中最新的) # yum install gcc gcc-c++ autoconf automake 任一方法,安装成功以后就可以用传统的./configure和make,sudo make install安装apache了
[b]赞同0|评论
2010-08-05 18:49kqzjhack|当前分类:5
级
放入光盘 挂载上后 进入光盘目录 cd Server ll |grep gcc rpm -ivh gcc-XXX.rpm 安装就可以啦
赞同0|评论
2010-08-04 21:25小龙冰凌|当前分类:7
级
系统里有RedHat自带的rpm的httpd,你把它缷了,就没事了。rpm -e httpd system-config-httpd (依赖的rpm包)
相关文章推荐
- centos6.8下安装搭建apache环境是出现 make: *** No targets specified and no makefile found. Stop.的解决方案
- liunx下安装mysql,make时 *** No targets specified and no makefile found. stop.
- make: *** No targets specified and no makefile found. Stop.解决方法
- Linux安装Nginx报错make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. Stop.解决方法
- Linux安装Nginx报错make: *** No targets specified and no makefile found. Stop.解决方法
- make: *** No targets specified and no makefile found. stop.
- 【转】make出现No targets specified and no makefile found解决方法
- make: *** No targets specified and no makefile found. Stop.
- 安装Role Centers and Enterprise Portal时出现No .NET Business Connector session could be found错误的解决
- 安装Role Centers and Enterprise Portal时出现No .NET Business Connector session could be found错误的解决
- centos7.3下安装nginx出现make: *** No rule to make target `build', needed by `default'. Stop.
- 运行Android程序时,出现提示:No compatible targets were found .do you wish to add new android virtual device!
- 安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法
- idea 出现Could not autowire. No beans of 'xxxxMapper' type found. 安装 Mybatis Plugin 插件
- 安装CentOS 7时出现No Caching mode page found问题的解决
- RedHat 安装w3af,安装pyopenssl时总会出现Package libffi was not found in the pkg-config search path错误
- linux安装MYSQL出现configure: error: No curses/termcap library found