#cd /usr/local
#cd /usr/local/apr-1.4.6(apr是我看了网上的安装过程后先行下载后解压在此的)
#./configure
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.4.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/apr-1.4.6':
configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details #make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
configure: WARNING: unrecognized options: --enable-so, --enable-mods-shares
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.4.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/apr-1.4.6':
configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details
3个标红的地方就是问题所在。
1:configure: error: in `/usr/local/apr-1.4.6':
configure: error: no acceptable C compiler found in $PATH
产生这步的原因是什么?
2.#make && make install
make: *** 没有指明目标并且找不到 makefile。 停止。
这步,是按照别人的安装笔记来的,但也出错了。