LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1217|回复: 9

安装pureftpd的出错,请问如何解决?

[复制链接]
发表于 2005-4-7 11:04:24 | 显示全部楼层 |阅读模式
[root@linus 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-ftpwho \
> --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... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for ANSI C header files... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/fsuid.h usability... yes
checking sys/fsuid.h presence... yes
checking for sys/fsuid.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for sys/mount.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking security/pam_misc.h usability... yes
checking security/pam_misc.h presence... yes
checking for security/pam_misc.h... yes
checking security/pam_filter.h usability... yes
checking security/pam_filter.h presence... yes
checking for security/pam_filter.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking CoreFoundation/CoreFoundation.h usability... no
checking CoreFoundation/CoreFoundation.h presence... no
checking for CoreFoundation/CoreFoundation.h... no
checking POSIX termios... yes
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for mode_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether timezone is scalar... yes
checking for nlink_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for mode_t... (cached) yes
checking size of mode_t... 4
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname... (cached) yes
checking for sendfile in -lsendfile... no
checking for socklen_t... yes
checking for ssize_t... yes
checking for sig_atomic_t... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if malloc debugging is wanted... no
checking for cap_init in -lcap... yes
checking for getspnam... yes
checking whether syslog names are available... yes
checking whether struct addrinfo is defined... yes
checking whether sin_len is defined... no
checking whether __ss_family is defined... no
checking whether ss_len is defined... no
checking whether __ss_len is defined... no
checking if a linuxish sendfile is available... yes
checking if a freebsdish sendfile is available... no
checking if a hpuxish sendfile is available... no
checking for sendfilev... no
checking for sendfilev in -lsendfile... no
checking if a solarisish sendfilev is available... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for crypt in -lcrypt... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working memcmp... yes
checking for strftime... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking for initgroups... yes
checking for setrlimit... yes
checking for waitpid... yes
checking for setproctitle... no
checking for getopt_long... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for statvfs... yes
checking for statfs... yes
checking for putenv... yes
checking for getpagesize... (cached) yes
checking for realpath... yes
checking for pread... yes
checking for ptrace... yes
checking for strtoull... yes
checking for strtoq... yes
checking for memset... yes
checking for munmap... yes
checking for strdup... yes
checking for fileno... yes
checking for mapviewoffile... no
checking for madvise... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for setusershell... yes
checking for setgroups... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vfprintf... yes
checking for gethostname... yes
checking for setlocale... yes
checking for utime... yes
checking for utimes... yes
checking for mknod... yes
checking for mkfifo... yes
checking for random... yes
checking for srandomdev... no
checking for closefrom... no
checking whether statvfs64() is defined... yes
checking whether snprintf is C99 conformant... done
checking whether getgroups 0 is sane... yes
checking whether realpath likes unreadable directories... yes
checking whether you already have a standard MD5 implementation... no
checking whether you already have a standard SHA1 implementation... no
checking whether we are inside a Virtuozzo virtual host... no
checking default TCP send buffer size... 16384
checking default TCP receive buffer size... 87380
checking for floor in -lm... yes
checking for gzclose in -lz... yes
checking for mysql_init in -lmysqlclient... no
configure: error: libmysqlclient is needed for MySQL support
[root@linus pure-ftpd-1.0.20]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@linus pure-ftpd-1.0.20]#
发表于 2005-4-7 11:12:33 | 显示全部楼层
安装 libmysqlclient  或者 去掉 --with-mysql
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-7 11:19:51 | 显示全部楼层
[root@linus ~]# rpm -qa|grep mysql
mysql-4.1.7-4.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-4.1.7-4.RHEL4.1
php-mysql-4.3.9-3.1
回复 支持 反对

使用道具 举报

发表于 2005-4-7 11:29:35 | 显示全部楼层
兄弟本机安装了mysql了吗?
如果没有安装mysql或者不准备使用mysql储存ftp帐户的话就把 --with-mysql 去掉,然后重新
运行configure

如果已经安装了mysql,但是执行configure时提示以上信息,可能是因为没有在默认路径下找到libmysqlclient.so.*,兄弟可以手动把libmysqlclient.so.*所在的路径添加到/etc/ld.so.conf
文件中并执行ldconfig,然后重新运行configure
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-7 11:46:21 | 显示全部楼层
就是想用mysql 儲存帳號,所以才想到用pureftp,我已經裝過了MYSQL了。

謝謝,我試試
回复 支持 反对

使用道具 举报

发表于 2005-10-2 00:58:57 | 显示全部楼层
这个问题怎么解决啊?

我也遇到同样的问题。
回复 支持 反对

使用道具 举报

发表于 2005-10-2 02:37:36 | 显示全部楼层
ldconfig -v |grep -i libmysqlclient
看看有没有结果。

如果没有,找一下那个文件,把路径加入/etc/ld.so.conf文件里边。
回复 支持 反对

使用道具 举报

发表于 2005-10-3 23:06:20 | 显示全部楼层
好像还是不可以。

现在出来
configure: error: Your MySQL client libraries aren't properly installed

有谁能具体的解决一下啊?
回复 支持 反对

使用道具 举报

发表于 2006-12-19 00:03:02 | 显示全部楼层

pureftpd的出错

error: no acceptable C compiler found in $PATH



这是什么错误啊?
回复 支持 反对

使用道具 举报

发表于 2006-12-19 00:05:39 | 显示全部楼层
> --prefix=/usr/local/pureftpd \
>  --with-mysql=/usr/lib/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... no
checking for 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.
回复 支持 反对

使用道具 举报

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

本版积分规则

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