|
发表于 2008-5-28 18:47:11
|
显示全部楼层
Post by qxshuier;1855975
按照楼上说法 进去目录了
[network@qxshuier eva]$ ./configure make make install
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking build system type... Invalid configuration `make': machine `make' not recognized
configure: error: /bin/sh admin/config.sub make failed
[network@qxshuier eva]$ ./configure
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
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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
See `config.log' for more details.
上面是提示
[network@qxshuier eva]$ ./configure
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
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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
See `config.log' for more details.
[network@qxshuier eva]$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
[network@qxshuier eva]$ make install
make: *** 没有规则可以创建目标“install”。 停止。
请问是什么原因 感谢热心人
同志,提示里不是说的清楚嘛,“[color="Red"]no acceptable C compiler found in $PATH”。
也就是说,要么你没装gcc编译器,因此找不到,要么你的编译器运行路径没有在你的$PATH环境变量里。
具体在看报文:
[color="Red"]checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
说明编译器,链接器等等,你统统都没装。没装编译环境怎么make啊。 |
|