运行结果:
loading cache ./config.cache
checking host system type... ia64-unknown-linux-gnu
checking target system type... ia64-unknown-linux-gnu
checking build system type... ia64-unknown-linux-gnu
checking for f95... no
checking for frt... no
checking for f90... no
checking for xlf90... no
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking for gmake... /usr/bin/gmake
: command not founde dependent configuration... ./configure: line 1:
: command not found:
: command not found:
: command not found:
: command not found:
: command not found4:
: command not found1:
: command not found4:
: command not found7:
: command not found9:
config/mh-linux
checking for gcc... gcc
) works... noer the C compiler (gcc
configure: error: installation or configuration problem: C compiler cannot create executables.
log文件:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:586: checking host system type
configure:607: checking target system type
configure:625: checking build system type
configure:654: checking for f95
configure:654: checking for frt
configure:654: checking for f90
configure:654: checking for xlf90
configure:685: checking for ranlib
configure:715: checking for perl
configure:748: checking for gmake
configure:801: checking for machine dependent configuration
configure:864: checking for gcc
configure:941: checking whether the C compiler (gcc -O ) works
configure:955: gcc -o conftest -O conftest.c 1>&5
./configure: line 1: gcc: command not found
configure: failed program was:
#line 951 "configure"
#include "confdefs.h"
main(){return(0);}