当前位置: 技术问答>linux和unix
make: *** 没有指明目标并且找不到 makefile
来源: 互联网 发布时间:2016-08-25
本文导语: [root@bogon src]# cd httpd-2.2.15 [root@bogon httpd-2.2.15]# ./configure --prefix=/usr/local/web/apache checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... x86_64-unknown-linux-gnu checking host system type......
[root@bogon src]# cd httpd-2.2.15
[root@bogon httpd-2.2.15]# ./configure --prefix=/usr/local/web/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.2
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.15/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@bogon httpd-2.2.15]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@bogon httpd-2.2.15]#
[root@bogon httpd-2.2.15]# ./configure --prefix=/usr/local/web/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.2
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.15/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
[root@bogon httpd-2.2.15]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@bogon httpd-2.2.15]#
|
configure: error: no acceptable C compiler found in $PATH
configure没有找到c编译器。有装gcc么?路径加到$PATH了么?
configure没有找到c编译器。有装gcc么?路径加到$PATH了么?
|
configure都没过,当然没有makefile了。
看看出错信息
configure: error: in `/usr/local/src/httpd-2.2.15/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
应该是依赖的包没安装或者没设置对。
看看出错信息
configure: error: in `/usr/local/src/httpd-2.2.15/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
应该是依赖的包没安装或者没设置对。