QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1009|回复: 7

安装PURE-FTPD的时候出现以下问题。

[复制链接]
发表于 2006-10-22 23:54:21 | 显示全部楼层 |阅读模式
按照书上说的,输入命令:
./configure prefix=/usr/local/pureftpd --with-mysql --with-virtualchroot --with-virtualhosts --with-virtualroot --with-diraliases --with-uploadscript --with-cookie --with-quotas --with-sysquotas --with-ratios --with-throttling --with-largefile --with-peruserlimits --with-paranoidmsg --with-welcomemsg --with-language=simplified-chinese

提示信息为:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... :
checking for gcc... no
checking fo
r cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

无法继续安装,请问该怎么解决?搜索到GCC需要安装。
但是安装提示:
[root@localhost gcc-4.1.1]# ./configure \
> --prefix=/usr/local/gcc-4
loading cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
怎么解决阿?
 楼主| 发表于 2006-10-23 01:25:46 | 显示全部楼层
已经解决`用安装程序的RPM包`
回复

使用道具 举报

 楼主| 发表于 2006-10-23 01:26:21 | 显示全部楼层
checking for C compiler default output file name... configure: error: C compiler cannot create executables 又出现错误
回复

使用道具 举报

 楼主| 发表于 2006-10-23 01:37:25 | 显示全部楼层
[root@localhost pure-ftpd-1.0.20]# ./configure prefix=/usr/local/pureftpd --with-mysql --with-virtualchroot --with-virtualhosts --with-virtualroot --with-diraliases --with-uploadscript --with-cookie --with-quotas --with-sysquotas --with-ratios --with-throttling --with-largefile --with-peruserlimits --with-paranoidmsg --with-welcomemsg --with-language=simplified-chinese
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
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.
[root@localhost pure-ftpd-1.0.20]#
回复

使用道具 举报

 楼主| 发表于 2006-10-23 01:37:40 | 显示全部楼层
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pure-ftpd configure 1.0.20, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure prefix=/usr/local/pureftpd --with-mysql --with-virtualchroot --with-virtualhosts --with-virtualroot --with-diraliases --with-uploadscript --with-cookie --with-quotas --with-sysquotas --with-ratios --with-throttling --with-largefile --with-peruserlimits --with-paranoidmsg --with-welcomemsg --with-language=simplified-chinese

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.15-1.2054_FC5
uname -s = Linux
uname -v = #1 SMP Tue Mar 14 15:48:20 EST 2006

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1430: checking for a BSD-compatible install
configure:1485: result: /usr/bin/install -c
configure:1496: checking whether build environment is sane
configure:1539: result: yes
configure:1596: checking for gawk
configure:1612: found /bin/gawk
configure:1622: result: gawk
configure:1632: checking whether make sets $(MAKE)
configure:1652: result: yes
configure:1836: checking for a BSD-compatible install
configure:1891: result: /usr/bin/install -c
configure:1943: checking for ranlib
configure:1959: found /usr/bin/ranlib
configure:1970: result: ranlib
configure:2028: checking for gcc
configure:2044: found /usr/bin/gcc
configure:2054: result: gcc
configure:2298: checking for C compiler version
configure:2301: gcc --version </dev/null >&5
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
Copyright (C) 2006 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:2304: $? = 0
configure:2306: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
configure:2309: $? = 0
configure:2311: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2314: $? = 1
configure:2337: checking for C compiler default output file name
configure:2340: gcc    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:2343: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "pure-ftpd"
| #define PACKAGE_TARNAME "pure-ftpd"
| #define PACKAGE_VERSION "1.0.20"
| #define PACKAGE_STRING "pure-ftpd 1.0.20"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "pure-ftpd"
| #define VERSION "1.0.20"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2382: error: C compiler cannot create executables
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_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_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/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/pure-ftpd-1.0.20/missing --run aclocal-1.8'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /root/pure-ftpd-1.0.20/missing --run tar'
AUTOCONF='${SHELL} /root/pure-ftpd-1.0.20/missing --run autoconf'
AUTOHEADER='${SHELL} /root/pure-ftpd-1.0.20/missing --run autoheader'
AUTOMAKE='${SHELL} /root/pure-ftpd-1.0.20/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GETLOADAVG_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
ISODATE='2006-10-23'
KMEM_GROUP=''
LDAP_SSL_LIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/pure-ftpd-1.0.20/missing --run makeinfo'
NEED_SETGID=''
OBJEXT=''
PACKAGE='pure-ftpd'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='pure-ftpd'
PACKAGE_STRING='pure-ftpd 1.0.20'
PACKAGE_TARNAME='pure-ftpd'
PACKAGE_VERSION='1.0.20'
PATH_SEPARATOR=':'
PERL=''
PYTHON=''
RANLIB='ranlib'
RENDEZVOUS_LDADD=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.20'
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
certfile=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/pure-ftpd-1.0.20/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/usr/local/pureftpd'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "pure-ftpd"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_NAME "pure-ftpd"
#define PACKAGE_STRING "pure-ftpd 1.0.20"
#define PACKAGE_TARNAME "pure-ftpd"
#define PACKAGE_VERSION "1.0.20"
#define VERSION "1.0.20"

configure: exit 77
回复

使用道具 举报

 楼主| 发表于 2006-10-23 01:55:50 | 显示全部楼层
着急中……
第二天了……
回复

使用道具 举报

 楼主| 发表于 2006-10-23 13:13:18 | 显示全部楼层
先顶起来`免得没人回`
我是没办法了```
回复

使用道具 举报

 楼主| 发表于 2006-10-23 15:36:34 | 显示全部楼层
HELLO`有人吗`?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 21:53 , Processed in 0.096435 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表