由 cnzheng 于 星期二, 09/16/2008 - 11:59 发表
我下载了一个minicom-2.3.tar.gz的文件,是在linux下 使用串口的一个通讯程序,按照这个安装步骤,出现了一下问题:
-----------------
# tar zxf minicom-2.2.tar.gz
# cd minicom-2.2
# ./configure
# make
# make install
----------------------------------
在进行到 ./configure时候 出现问题
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
-------------------------------
以下是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 minicom configure 2.3, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = puppypc
uname -m = i686
uname -r = 2.6.21.7
uname -s = Linux
uname -v = #1 Sun Feb 24 10:22:08 GMT-8 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /root/my-applications/bin
PATH: /opt/samba/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1839: checking for a BSD-compatible install
configure:1895: result: /usr/bin/ginstall -c
configure:1906: checking whether build environment is sane
configure:1949: result: yes
configure:1977: checking for a thread-safe mkdir -p
configure:2016: result: ./install-sh -c -d
configure:2029: checking for gawk
configure:2045: found /bin/gawk
configure:2056: result: gawk
configure:2067: checking whether make sets $(MAKE)
configure:2092: result: no
configure:2325: checking for gcc
configure:2355: result: no
configure:2422: checking for cc
configure:2469: result: no
configure:2525: checking for cl.exe
configure:2555: result: no
configure:2584: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /zhenghui/minicom-2.3/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /zhenghui/minicom-2.3/missing --run tar'
ANSI2KNR=''
AUTOCONF='${SHELL} /zhenghui/minicom-2.3/missing --run autoconf'
AUTOHEADER='${SHELL} /zhenghui/minicom-2.3/missing --run autoheader'
AUTOMAKE='${SHELL} /zhenghui/minicom-2.3/missing --run automake-1.10'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
KEYSERV=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPORT_GETOPT_LONG_DEP=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /zhenghui/minicom-2.3/missing --run makeinfo'
MINICOM_CONFDIR=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
OBJEXT=''
PACKAGE='minicom'
PACKAGE_BUGREPORT='minicom-devel@lists.alioth.debian.org'
PACKAGE_NAME='minicom'
PACKAGE_STRING='minicom 2.3'
PACKAGE_TARNAME='minicom'
PACKAGE_VERSION='2.3'
PATH_KERMIT=''
PATH_SEPARATOR=':'
POSUB=''
RANLIB=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
U=''
USE_NLS=''
VERSION='2.3'
XGETTEXT=''
XGETTEXT_015=''
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /zhenghui/minicom-2.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "minicom"
#define PACKAGE_TARNAME "minicom"
#define PACKAGE_VERSION "2.3"
#define PACKAGE_STRING "minicom 2.3"
#define PACKAGE_BUGREPORT "minicom-devel@lists.alioth.debian.org"
#define PACKAGE "minicom"
#define VERSION "2.3"
configure: exit 1
------------------------------------------
请帮助我看一下是哪里出了问题,如何解决,谢谢!!
-----------------
# tar zxf minicom-2.2.tar.gz
# cd minicom-2.2
# ./configure
# make
# make install
----------------------------------
在进行到 ./configure时候 出现问题
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
-------------------------------
以下是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 minicom configure 2.3, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = puppypc
uname -m = i686
uname -r = 2.6.21.7
uname -s = Linux
uname -v = #1 Sun Feb 24 10:22:08 GMT-8 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /root/my-applications/bin
PATH: /opt/samba/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1839: checking for a BSD-compatible install
configure:1895: result: /usr/bin/ginstall -c
configure:1906: checking whether build environment is sane
configure:1949: result: yes
configure:1977: checking for a thread-safe mkdir -p
configure:2016: result: ./install-sh -c -d
configure:2029: checking for gawk
configure:2045: found /bin/gawk
configure:2056: result: gawk
configure:2067: checking whether make sets $(MAKE)
configure:2092: result: no
configure:2325: checking for gcc
configure:2355: result: no
configure:2422: checking for cc
configure:2469: result: no
configure:2525: checking for cl.exe
configure:2555: result: no
configure:2584: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /zhenghui/minicom-2.3/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /zhenghui/minicom-2.3/missing --run tar'
ANSI2KNR=''
AUTOCONF='${SHELL} /zhenghui/minicom-2.3/missing --run autoconf'
AUTOHEADER='${SHELL} /zhenghui/minicom-2.3/missing --run autoheader'
AUTOMAKE='${SHELL} /zhenghui/minicom-2.3/missing --run automake-1.10'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
KEYSERV=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPORT_GETOPT_LONG_DEP=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /zhenghui/minicom-2.3/missing --run makeinfo'
MINICOM_CONFDIR=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
OBJEXT=''
PACKAGE='minicom'
PACKAGE_BUGREPORT='minicom-devel@lists.alioth.debian.org'
PACKAGE_NAME='minicom'
PACKAGE_STRING='minicom 2.3'
PACKAGE_TARNAME='minicom'
PACKAGE_VERSION='2.3'
PATH_KERMIT=''
PATH_SEPARATOR=':'
POSUB=''
RANLIB=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
U=''
USE_NLS=''
VERSION='2.3'
XGETTEXT=''
XGETTEXT_015=''
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /zhenghui/minicom-2.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "minicom"
#define PACKAGE_TARNAME "minicom"
#define PACKAGE_VERSION "2.3"
#define PACKAGE_STRING "minicom 2.3"
#define PACKAGE_BUGREPORT "minicom-devel@lists.alioth.debian.org"
#define PACKAGE "minicom"
#define VERSION "2.3"
configure: exit 1
------------------------------------------
请帮助我看一下是哪里出了问题,如何解决,谢谢!!
- 15548 次点击
发表新评论