redhat 5下安装阿帕奇出现make:*** No targets specified and no makefile found.Stop.[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 -

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 11:31:18

redhat 5下安装阿帕奇出现make:*** No targets specified and no makefile found.Stop.[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 -
redhat 5下安装阿帕奇出现make:*** No targets specified and no makefile found.Stop.
[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

redhat 5下安装阿帕奇出现make:*** No targets specified and no makefile found.Stop.[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 -
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转过来的菜菜)
[b] 从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了

redhat 5下安装阿帕奇出现make:*** No targets specified and no makefile found.Stop.[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 - 在redhat下安装eclipse出现这样的错误:/home/eclipse/eclipse:relocation error:/home/eclipse/...在redhat下安装eclipse出现这样的错误:/home/eclipse/eclipse:relocation error:/home/eclipse/configuration/org.eclipse.osgi/bundles/193/ 本人在安装redhat linux下的tools 时遇到这问题是怎么回事,安装其软件过程中遇到的,屏幕出现的提示如:Please re-run this program as the super user.Execution aborted 我在游侠里下了个中文补丁复制到13安装目录下运行时就出现了这个 You do not have access to make the req 虚拟机安装RedHat linux 5时 等输入密码 报错unable to read package metadata.this may be due to a missunable to read package metadata.this may be due to a missingrepodata directory.please ensure that your install tree hasbeen correctly gene CentOS下安装mysql,make时出现make[1]:*** [link_sources] Error 1 make:*** [all-recursive] Error 1操作如下:[root@CentOS CentOS_6.4]# /usr/sbin/groupadd mysql[root@CentOS CentOS_6.4]# /usr/sbin/useradd -g mysql mysql[root@CentOS mysql-5.1.58] 安装系统出现这个 安装redhat 4时提示unable to find any devices of the type needed for this installa.安装redhat 4时提示unable to find any devices of the type needed for this installation type.would you like to manually select your driver or use a driver disk? 在cygwin中输入make micaz sim后出现make:***no rules to make target 'micaz.stop' 我在cygwin中仿真tinyos环境,刚安装后调试就出现这个问题了,各种配置都已经设置好了, steam安装出现这种情况怎么办? 安装犀牛 出现下面问题-- cad2008安装时出现错误 如何安装Samsung Recovery Solution 5在win7中直接安装会出现这个问题 (我很确定就安装这个,而不是ghost) RedHat linux 5时 等输入密码 报错unable to read package metadata.this may be due to a miss LED灯管为什么不需要整流器如果在没有拆掉整流器的情况下,安装LED灯管,会出现什么情况? 刚下的剑灵完整客户端安装时出现这个什么意思要把这个重下嘛? 安装Flash出现 only a single instance of this application can run 是怎么回事,下载也下不了. 在fedora 下安装hadoop ,start-dfs时出现了 localhost:ssh:connect to host ...22:connection refused