- 积分
- 13
- 威望
-
- 金钱
-
- 注册时间
- 2022-2-9
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
系统源设置多次问题已改
但是编译仍然会报
checking for OS
+ Linux 2.6.32-754.29.2.el6.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
make: *** No rule to make target `build', needed by `default'. Stop.
make: *** No rule to make target `build', needed by `default'. Stop.
make: *** No rule to make target `install'. Stop.
gcc版本
[root@localhost lnmp1.8]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
系统PATH
root@localhost lnmp1.8]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/erlang/bin:/mnt/java/jdk1.8.0_181/bin:/mnt/java/jdk1.8.0_181/jre/bin:/root/bin
补充内容 (2022-2-10 11:33):
系统path
[root@localhost /]# echo $PATH
/usr/libexec/gcc/x86_64-redhat-linux/4.4.4/:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/erlang/bin:/mnt/java/jdk1.8.0_181/bin:/mnt/java/jdk1.8.0_181/jre/bin:/root/bin:/usr/local/erlang/bin:/mnt/java/jdk1.8.0_181/bin:/mnt/java/jdk1.8.0_181/jre/bin:/usr/local/erlang/bin:/mnt/java/jdk1.8.0_181/bin:/mnt/java/jdk1.8.0_181/jre/bin
补充内容 (2022-2-10 11:36):
主要还是想请问下 那个 config.log 可以从哪里查看 checking whether the C compiler works... no这个错误描述太简略了 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|