|
网上下载了开源软件安装。解压以后进入文件夹,输入
- ./configure --prefix=/usr
复制代码
然后显示
- ./configure --prefix=/usr
- checking for a BSD-compatible install... /bin/install -c
- checking whether build environment is sane... yes
- checking for gawk... gawk
- checking whether make sets $(MAKE)... yes
- checking whether to enable maintainer-specific portions of Makefiles... no
- checking for gcc... gcc
- checking for C compiler default output file name... configure: error: C compiler cannot create executables
- See `config.log' for more details.
复制代码
打开`config.log',显示的错误如下
- configure: failed program was:
- | /* confdefs.h. */
- |
- | #define PACKAGE_NAME "harminv"
- | #define PACKAGE_TARNAME "harminv"
- | #define PACKAGE_VERSION "1.3.1"
- | #define PACKAGE_STRING "harminv 1.3.1"
- | #define PACKAGE_BUGREPORT "stevenj@alum.mit.edu"
- | #define PACKAGE "harminv"
- | #define VERSION "1.3.1"
- | /* end confdefs.h. */
- |
- | int
- | main ()
- | {
- |
- | ;
- | return 0;
- | }
- configure:2434: error: C compiler cannot create executables
- See `config.log' for more details.
复制代码
请教达人,如何解决呀。
附件中有config.log'全部内容。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|