求助军哥:./pureftpd.sh 安装失败
本帖最后由 l9950925 于 2019-11-28 10:42 编辑./pureftpd.sh 安装失败,按照论坛的解决方案试了,但是也没用,麻烦军哥给看看,我的该怎么解决
代码如下:
Installing dependent packages...
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package gcc-g77 available.
Error: Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package 1:openssl-1.0.2k-19.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
Nothing to do
Download files...
pure-ftpd-1.0.49.tar.bz2
Download pure-ftpd-1.0.49.tar.bz2 successfully!
Installing pure-ftpd...
Uncompress pure-ftpd-1.0.49.tar.bz2...
cd pure-ftpd-1.0.49...
configure: WARNING: unrecognized options: --with-rfc2640
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether the linker accepts -fstack-protector-all... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -Wno-unused-command-line-argument... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts-Wall -Wextra... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts-Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) 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 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/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... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
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 for stdint.h... (cached) 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 sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
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... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking security/pam_misc.h usability... no
checking security/pam_misc.h presence... no
checking for security/pam_misc.h... no
checking security/pam_modules.h usability... no
checking security/pam_modules.h presence... no
checking for security/pam_modules.h... no
checking security/pam_filter.h usability... no
checking security/pam_filter.h presence... no
checking for security/pam_filter.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking pam/pam_misc.h usability... no
checking pam/pam_misc.h presence... no
checking for pam/pam_misc.h... no
checking pam/pam_modules.h usability... no
checking pam/pam_modules.h presence... no
checking for pam/pam_modules.h... no
checking pam/pam_filter.h usability... no
checking pam/pam_filter.h presence... no
checking for pam/pam_filter.h... no
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 openssl/ec.h usability... yes
checking openssl/ec.h presence... yes
checking for openssl/ec.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 ssize_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 size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
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 in_port_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... no
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 linuxish sendfile64 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 crypt in -lcrypt... yes
checking for crypto_pwhash_scryptsalsa208sha256_str in -lsodium... no
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working memcmp... yes
checking for strftime... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for locale.h... (cached) yes
checking for unistd.h... (cached) yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking for fcntl.h... (cached) yes
checking for setlocale... yes
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 wait3 that fills in rusage... yes
checking whether utime accepts a null argument... yes
checking for working strtod... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for alarm... yes
checking for working mktime... yes
checking whether lstat accepts an empty string... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for error_at_line... yes
checking whether closedir returns void... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working volatile... 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 setenv... yes
checking for unsetenv... yes
checking for getpagesize... (cached) yes
checking for realpath... yes
checking for pread... yes
checking for posix_fadvise... yes
checking for ptrace... yes
checking for strtoull... yes
checking for strtoq... yes
checking for strlcpy... no
checking for strlcat... no
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... (cached) yes
checking for timegm... yes
checking for tzset... 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 arc4random... no
checking for arc4random_stir... no
checking for arc4random_addrandom... no
checking for closefrom... no
checking for explicit_bzero... no
checking for getpwnam_shadow... 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 DH_new in -lcrypto... yes
checking for SSL_accept in -lssl... yes
checking for DH_get_2048_256... yes
checking for TLS_server_method... no
configure: You have /dev/urandom - Great
configure: You have /dev/random - Great
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating pam/Makefile
config.status: creating man/Makefile
config.status: creating gui/Makefile
config.status: creating m4/Makefile
config.status: creating pure-ftpd.conf
config.status: creating puredb/Makefile
config.status: creating puredb/src/Makefile
config.status: creating man/pure-ftpd.8
config.status: creating man/pure-ftpwho.8
config.status: creating man/pure-mrtginfo.8
config.status: creating man/pure-uploadscript.8
config.status: creating man/pure-statsdecode.8
config.status: creating man/pure-quotacheck.8
config.status: creating man/pure-pw.8
config.status: creating man/pure-pwconvert.8
config.status: creating man/pure-authd.8
config.status: creating man/pure-certd.8
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-rfc2640
makeall-recursive
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
Making all in puredb
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
Making all in src
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
CC example_read.o
CC puredb_read.o
AR libpuredb_read.a
CCLD example_read
CC example_write.o
CC puredb_write.o
AR libpuredb_write.a
CCLD example_write
CC regression.o
CCLD regression
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
Making all in src
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
CC fakesnprintf.o
CC mysnprintf.o
CC pure-statsdecode.o
CCLD pure-statsdecode
CC alt_arc4random.o
CC bsd-getopt_long.o
CC pure-pw.o
CC safe_rw.o
CC utils.o
CCLD pure-pw
CC pure-pwconvert.o
CCLD pure-pwconvert
CC ptracetest.o
CCLD ptracetest
CC pure-authd.o
CCLD pure-authd
CC pure-certd.o
pure-certd.c: In function ‘dodaemonize’:
pure-certd.c:67:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
(void) chdir("/");
^
pure-certd.c: In function ‘updatepidfile’:
pure-certd.c:231:18: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(fd, (off_t) 0);
^
pure-certd.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-command-line-argument"
CCLD pure-certd
CC main.o
CC libpureftpd_a-altlog.o
CC libpureftpd_a-alt_arc4random.o
CC libpureftpd_a-bonjour.o
CC libpureftpd_a-bsd-glob.o
CC libpureftpd_a-bsd-realpath.o
CC libpureftpd_a-bsd-getopt_long.o
CC libpureftpd_a-caps.o
CC libpureftpd_a-crypto.o
CC libpureftpd_a-crypto-md5.o
CC libpureftpd_a-crypto-sha1.o
CC libpureftpd_a-daemons.o
CC libpureftpd_a-diraliases.o
CC libpureftpd_a-dynamic.o
CC libpureftpd_a-fakesnprintf.o
CC libpureftpd_a-fakechroot.o
CC libpureftpd_a-ftp_parser.o
CC libpureftpd_a-ftpd.o
ftpd.c: In function ‘douser’:
ftpd.c:1434:13: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
(void) nice(NICE_VALUE);
^
ftpd.c: In function ‘dopass’:
ftpd.c:1839:9: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
(void) nice(NICE_VALUE);
^
ftpd.c: In function ‘updatepidfile’:
ftpd.c:5150:9: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
(void) ftruncate(fd, (off_t) 0);
^
ftpd.c: In function ‘accept_client’:
ftpd.c:5244:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
(void) write(clientfd, line, strlen(line));
^
ftpd.c:5260:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
(void) write(clientfd, line, strlen(line));
^
ftpd.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-command-line-argument"
CC libpureftpd_a-ftpwho-update.o
CC libpureftpd_a-ftpwho-read.o
CC libpureftpd_a-getloadavg.o
CC libpureftpd_a-ipstack.o
CC libpureftpd_a-log_unix.o
CC libpureftpd_a-log_mysql.o
CC libpureftpd_a-log_pgsql.o
CC libpureftpd_a-log_pam.o
CC libpureftpd_a-log_ldap.o
CC libpureftpd_a-log_puredb.o
CC libpureftpd_a-log_extauth.o
CC libpureftpd_a-ls.o
CC libpureftpd_a-mysnprintf.o
CC libpureftpd_a-parser.o
CC libpureftpd_a-privsep.o
CC libpureftpd_a-quotas.o
quotas.c: In function ‘quota_update’:
quotas.c:120:13: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
(void) ftruncate(fd, (off_t) 0);
^
quotas.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-command-line-argument"
CC libpureftpd_a-safe_rw.o
CC libpureftpd_a-simpleconf.o
CC libpureftpd_a-tls_extcert.o
CC libpureftpd_a-tls.o
CC libpureftpd_a-upload-pipe.o
CC libpureftpd_a-utils.o
AR libpureftpd.a
CCLD pure-ftpd
CC ipstack.o
CC pure-ftpwho.o
CCLD pure-ftpwho
CC pure_mrtginfo-daemons.o
CC pure_mrtginfo-fakesnprintf.o
CC pure_mrtginfo-pure-mrtginfo.o
CC pure_mrtginfo-mysnprintf.o
CCLD pure-mrtginfo
CC pure-quotacheck.o
CCLD pure-quotacheck
CC pure-uploadscript.o
pure-uploadscript.c: In function ‘dodaemonize’:
pure-uploadscript.c:185:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
(void) chdir("/");
^
pure-uploadscript.c: In function ‘updatepidfile’:
pure-uploadscript.c:439:9: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
(void) ftruncate(fd, (off_t) 0);
^
pure-uploadscript.c: At top level:
cc1: warning: unrecognized command line option "-Wno-unused-command-line-argument"
CCLD pure-uploadscript
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
Making all in man
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
make: Nothing to be done for `all'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
Making all in pam
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
make: Nothing to be done for `all'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
Making all in gui
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
make: Nothing to be done for `all'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
Making all in m4
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Nothing to be done for `all'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
Making install in puredb
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
Making install in src
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb/src'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/puredb'
Making install in src
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
/bin/mkdir -p '/usr/local/pureftpd/bin'
/bin/install -c pure-statsdecode pure-pw pure-pwconvert '/usr/local/pureftpd/bin'
/bin/mkdir -p '/usr/local/pureftpd/sbin'
/bin/install -c pure-authd pure-certd pure-ftpd pure-ftpwho pure-mrtginfo pure-quotacheck pure-uploadscript '/usr/local/pureftpd/sbin'
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/src'
Making install in man
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
make: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/pureftpd/share/man/man8'
/bin/install -c -m 644 pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-uploadscript.8 pure-statsdecode.8 pure-quotacheck.8 pure-pw.8 pure-pwconvert.8 pure-authd.8 pure-certd.8 '/usr/local/pureftpd/share/man/man8'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/man'
Making install in pam
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/pam'
Making install in gui
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/gui'
Making install in m4
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49/m4'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
make: Entering directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
make: Nothing to be done for `install-exec-am'.
Configuration file unchanged
/bin/mkdir -p '/usr/local/pureftpd/share/doc/pure-ftpd'
/bin/install -c -m 644 FAQ README.LDAP README.MySQL README.PGSQL README.Configuration-File README.Virtual-Users README.Authentication-Modules README.TLS README.MacOS-X pure-ftpd.conf pureftpd.schema pureftpd-ldap.conf pureftpd-mysql.conf pureftpd-pgsql.conf '/usr/local/pureftpd/share/doc/pure-ftpd'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
make: Leaving directory `/root/lnmp1.6/src/pure-ftpd-1.0.49'
Copy configure files...
mkdir: cannot create directory ‘/usr/local/pureftpd/etc’: File exists
cp: cannot create regular file ‘/etc/init.d/pureftpd’: Permission denied
chmod: cannot access ‘/etc/init.d/pureftpd’: No such file or directory
Add pureftpd service at system startup...
error reading information on service pureftpd: No such file or directory
error reading information on service pureftpd: No such file or directory
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
1001
Pureftpd install failed!
按报错信息看可能与gcc有关,你系统上gcc版本是否自己升级过? licess 发表于 2019-11-28 14:20
按报错信息看可能与gcc有关,你系统上gcc版本是否自己升级过?
谢谢回复,我不知道gcc是啥。。。我就编译过Nginx的一个模块ngx_cache_purge,
页:
[1]