checking for C compiler default output... configure: error: C compiler cannot cr
eate executables
怎么办呢?
config.log如下:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by smthbbs configure 1.2, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure --prefix=/home/bbs --disable-site--without-www --without-php--without-mysql --enable-ssh
## --------- ##
## Platform. ##
## --------- ##
hostname = thales
uname -m = i686
uname -r = 1.5.10(0.116/4/2)
uname -s = CYGWIN_NT-5.0
uname -v = 2004-05-25 22:07
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/WINNT/system32
PATH: /cygdrive/c/WINNT
PATH: /cygdrive/c/WINNT/system32/WBEM
PATH: /cygdrive/d/MSC/MSC.Patran/2004r2/bin
PATH: /cygdrive/d/Microsoft Visual Studio/Common/Tools
PATH: /cygdrive/d/Microsoft Visual Studio/Common/Msdev98/BIN
PATH: /cygdrive/d/Microsoft Visual Studio/DF98/BIN
PATH: /cygdrive/d/Microsoft Visual Studio/VC98/BIN
PATH: /cygdrive/d/ABAQUS/Commands
PATH: /cygdrive/d/UltraEdit
PATH: /cygdrive/d/matlab6p5/bin/win32
PATH: /cygdrive/c/Program Files/Common Files/Autodesk Shared/
PATH: /cygdrive/d/Microsoft Visual Studio/Common/Tools/WinNT
PATH: /cygdrive/d/Microsoft Visual Studio/Common/MSDev98/Bin
PATH: /cygdrive/d/Microsoft Visual Studio/Common/Tools
PATH: /cygdrive/d/Microsoft Visual Studio/VC98/bin
PATH: /cygdrive/d/ABAQUS/Commands
PATH: /cygdrive/d/ABAQUS/Commands
PATH: /cygdrive/d/ABAQUS/Commands
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1527: checking for a BSD-compatible install
configure:1581: result: /usr/bin/install -c
configure:1592: checking whether build environment is sane
configure:1635: result: yes
configure:1668: checking for gawk
configure:1684: found /usr/bin/gawk
configure:1694: result: gawk
configure:1704: checking whether make sets $(MAKE)
configure:1724: result: yes
configure:1876: checking build system type
configure:1894: result: i686-pc-cygwin
configure:1902: checking host system type
configure:1916: result: i686-pc-cygwin
configure:1924: checking target system type
configure:1938: result: i686-pc-cygwin
configure:2113: checking for style of include used by make
configure:2141: result: GNU
configure:2212: checking for gcc
configure:2228: found /usr/bin/gcc
configure:2238: result: gcc
configure:2482: checking for C compiler version
configure:2485: gcc --version </dev/null >&5
gcc (GCC) 3.3.1 (cygming special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2488: $? = 0
configure:2490: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /netrel/src/gcc-3.3.1-1/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.3.1 (cygming special)
configure:2493: $? = 0
configure:2495: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2498: $? = 1
configure:2522: checking for C compiler default output
configure:2525: gcc -DCYGWIN conftest.c -lcygipc >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2528: $? = 1
configure: failed program was:
| #line 2501 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "smthbbs"
| #define PACKAGE_TARNAME "smthbbs"
| #define PACKAGE_VERSION "1.2"
| #define PACKAGE_STRING "smthbbs 1.2"
| #define PACKAGE_BUGREPORT "SYSOP@smth.org"
| #define PACKAGE "smthbbs"
| #define VERSION "1.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2567: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-cygwin
ac_cv_build_alias=i686-pc-cygwin
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-cygwin
ac_cv_host_alias=i686-pc-cygwin
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-cygwin
ac_cv_target_alias=i686-pc-cygwin
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/srcdir/smthbbs-1.2/missing --run aclocal-1.6'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/srcdir/smthbbs-1.2/missing --run tar'
AUTOCONF='${SHELL} /home/srcdir/smthbbs-1.2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/srcdir/smthbbs-1.2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/srcdir/smthbbs-1.2/missing --run automake-1.6'
AWK='gawk'
BBSSITE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=' -DCYGWIN'
CONFIG_AR='ar'
CONFIG_HAVE_WWW='1'
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CLEAN=''
GETLOADAVG_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KMEM_GROUP=''
LDFLAGS=''
LIBOBJS=''
LIBS=' -lcygipc'
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/srcdir/smthbbs-1.2/missing --run makeinfo'
NEED_SETGID=''
OBJEXT=''
OPENSSL_INC=''
OPENSSL_LIBS=''
ORIGIN_LIBTOOL=''
PACKAGE='smthbbs'
PACKAGE_BUGREPORT='SYSOP@smth.org'
PACKAGE_NAME='smthbbs'
PACKAGE_STRING='smthbbs 1.2'
PACKAGE_TARNAME='smthbbs'
PACKAGE_VERSION='1.2'
PATH_SEPARATOR=':'
PROG_SENDMAIL=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.2'
abssrcdir=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/srcdir/smthbbs-1.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/home/bbs'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' sshbbsd bbs2www'
sysconfdir='${prefix}/etc'
target='i686-pc-cygwin'
target_alias=''
target_cpu='i686'
target_os='cygwin'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "smthbbs"
#define PACKAGE_BUGREPORT "SYSOP@smth.org"
#define PACKAGE_NAME "smthbbs"
#define PACKAGE_STRING "smthbbs 1.2"
#define PACKAGE_TARNAME "smthbbs"
#define PACKAGE_VERSION "1.2"
#define VERSION "1.2"
configure: exit 77
--
FROM 166.111.36.*