• 解决rz命令不能使用的问题


    [root@VM-0-4-centos ~]# wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
    --2020-10-21 18:18:17--  http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
    Resolving www.ohse.de (www.ohse.de)... 116.202.157.76
    Connecting to www.ohse.de (www.ohse.de)|116.202.157.76|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz [following]
    --2020-10-21 18:18:18--  https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
    Connecting to www.ohse.de (www.ohse.de)|116.202.157.76|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 280938 (274K) [application/x-gzip]
    Saving to: ‘lrzsz-0.12.20.tar.gz’
    
    100%[====================================================================================================================================================================================================================================>] 280,938      266KB/s   in 1.0s   
    
    2020-10-21 18:18:20 (266 KB/s) - ‘lrzsz-0.12.20.tar.gz’ saved [280938/280938]
    
    [root@VM-0-4-centos ~]# ll
    total 5432
    -rw-r--r--  1 root root   280938 Dec 31  1998 lrzsz-0.12.20.tar.gz
    drwxr-xr-x 11 root root     4096 Oct 15 16:14 nginx
    drwxr-xr-x  9 1001  1001    4096 Oct 15 16:12 nginx-1.19.3
    -rw-r--r--  1 root root  1052581 Oct 15 15:50 nginx-1.19.3.tar.gz
    drwxr-xr-x 10 root root     4096 Oct 15 16:04 openssl-fips-2.0.16
    -rw-r--r--  1 root root  1492654 Oct 15 15:50 openssl-fips-2.0.16.tar.gz
    drwxr-xr-x  9 1169  1169   12288 Oct 15 16:13 pcre-8.44
    -rw-r--r--  1 root root  2090750 Oct 15 15:50 pcre-8.44.tar.gz
    drwxr-xr-x 14  501 games    4096 Oct 15 16:13 zlib-1.2.11
    -rw-r--r--  1 root root   607698 Oct 15 16:02 zlib-1.2.11.tar.gz
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# tar -zxvf lrzsz-0.12.20.tar.gz 
    lrzsz-0.12.20/
    lrzsz-0.12.20/Makefile.in
    lrzsz-0.12.20/README
    lrzsz-0.12.20/ABOUT-NLS
    lrzsz-0.12.20/AUTHORS
    lrzsz-0.12.20/COPYING
    lrzsz-0.12.20/ChangeLog
    lrzsz-0.12.20/INSTALL
    lrzsz-0.12.20/Makefile.am
    lrzsz-0.12.20/NEWS
    lrzsz-0.12.20/Specfile.in
    lrzsz-0.12.20/THANKS
    lrzsz-0.12.20/TODO
    lrzsz-0.12.20/acconfig.h
    lrzsz-0.12.20/acinclude.m4
    lrzsz-0.12.20/aclocal.m4
    lrzsz-0.12.20/config.guess
    lrzsz-0.12.20/config.h.in
    lrzsz-0.12.20/config.sub
    lrzsz-0.12.20/configure
    lrzsz-0.12.20/configure.in
    lrzsz-0.12.20/install-sh
    lrzsz-0.12.20/missing
    lrzsz-0.12.20/mkinstalldirs
    lrzsz-0.12.20/stamp-h.in
    lrzsz-0.12.20/systype.in
    lrzsz-0.12.20/check.lrzsz
    lrzsz-0.12.20/COMPATABILITY
    lrzsz-0.12.20/README.cvs
    lrzsz-0.12.20/README.isdn4linux
    lrzsz-0.12.20/README.gettext
    lrzsz-0.12.20/rpmrc
    lrzsz-0.12.20/buildrpm
    lrzsz-0.12.20/fastcheck.sh
    lrzsz-0.12.20/README.tests
    lrzsz-0.12.20/beos-runpiped.c
    lrzsz-0.12.20/fastcheck.beos
    lrzsz-0.12.20/lib/
    lrzsz-0.12.20/lib/Makefile.in
    lrzsz-0.12.20/lib/Makefile.am
    lrzsz-0.12.20/lib/alloca.c
    lrzsz-0.12.20/lib/ansi2knr.1
    lrzsz-0.12.20/lib/ansi2knr.c
    lrzsz-0.12.20/lib/getopt.c
    lrzsz-0.12.20/lib/getopt1.c
    lrzsz-0.12.20/lib/mkdir.c
    lrzsz-0.12.20/lib/mktime.c
    lrzsz-0.12.20/lib/stpcpy.c
    lrzsz-0.12.20/lib/strdup.c
    lrzsz-0.12.20/lib/strerror.c
    lrzsz-0.12.20/lib/strftime.c
    lrzsz-0.12.20/lib/strpbrk.c
    lrzsz-0.12.20/lib/strstr.c
    lrzsz-0.12.20/lib/strtol.c
    lrzsz-0.12.20/lib/strtoul.c
    lrzsz-0.12.20/lib/vasprintf.c
    lrzsz-0.12.20/lib/long-options.c
    lrzsz-0.12.20/lib/xstrtol.c
    lrzsz-0.12.20/lib/xstrtoul.c
    lrzsz-0.12.20/lib/error.c
    lrzsz-0.12.20/lib/getopt.h
    lrzsz-0.12.20/lib/long-options.h
    lrzsz-0.12.20/lib/xstrtol.h
    lrzsz-0.12.20/lib/xstrtoul.h
    lrzsz-0.12.20/lib/error.h
    lrzsz-0.12.20/intl/
    lrzsz-0.12.20/intl/ChangeLog
    lrzsz-0.12.20/intl/Makefile.in
    lrzsz-0.12.20/intl/linux-msg.sed
    lrzsz-0.12.20/intl/po2tbl.sed.in
    lrzsz-0.12.20/intl/xopen-msg.sed
    lrzsz-0.12.20/intl/gettext.h
    lrzsz-0.12.20/intl/gettextP.h
    lrzsz-0.12.20/intl/hash-string.h
    lrzsz-0.12.20/intl/libgettext.h
    lrzsz-0.12.20/intl/loadinfo.h
    lrzsz-0.12.20/intl/bindtextdom.c
    lrzsz-0.12.20/intl/dcgettext.c
    lrzsz-0.12.20/intl/dgettext.c
    lrzsz-0.12.20/intl/gettext.c
    lrzsz-0.12.20/intl/finddomain.c
    lrzsz-0.12.20/intl/loadmsgcat.c
    lrzsz-0.12.20/intl/localealias.c
    lrzsz-0.12.20/intl/textdomain.c
    lrzsz-0.12.20/intl/l10nflist.c
    lrzsz-0.12.20/intl/explodename.c
    lrzsz-0.12.20/intl/intl-compat.c
    lrzsz-0.12.20/intl/cat-compat.c
    lrzsz-0.12.20/intl/VERSION
    lrzsz-0.12.20/src/
    lrzsz-0.12.20/src/Makefile.in
    lrzsz-0.12.20/src/Makefile.am
    lrzsz-0.12.20/src/ansi2knr.1
    lrzsz-0.12.20/src/ansi2knr.c
    lrzsz-0.12.20/src/lrzszbug.in
    lrzsz-0.12.20/src/lrz.c
    lrzsz-0.12.20/src/timing.c
    lrzsz-0.12.20/src/zperr.c
    lrzsz-0.12.20/src/zreadline.c
    lrzsz-0.12.20/src/crctab.c
    lrzsz-0.12.20/src/rbsb.c
    lrzsz-0.12.20/src/zm.c
    lrzsz-0.12.20/src/protname.c
    lrzsz-0.12.20/src/tcp.c
    lrzsz-0.12.20/src/lsyslog.c
    lrzsz-0.12.20/src/canit.c
    lrzsz-0.12.20/src/lsz.c
    lrzsz-0.12.20/src/timing.h
    lrzsz-0.12.20/src/zglobal.h
    lrzsz-0.12.20/src/zmodem.h
    lrzsz-0.12.20/po/
    lrzsz-0.12.20/po/ChangeLog
    lrzsz-0.12.20/po/Makefile.in.in
    lrzsz-0.12.20/po/POTFILES.in
    lrzsz-0.12.20/po/lrzsz.pot
    lrzsz-0.12.20/po/stamp-cat-id
    lrzsz-0.12.20/po/de.po
    lrzsz-0.12.20/po/de.gmo
    lrzsz-0.12.20/po/cat-id-tbl.c
    lrzsz-0.12.20/man/
    lrzsz-0.12.20/man/Makefile.in
    lrzsz-0.12.20/man/Makefile.am
    lrzsz-0.12.20/man/lrz.1
    lrzsz-0.12.20/man/lsz.1
    lrzsz-0.12.20/testsuite/
    lrzsz-0.12.20/testsuite/Makefile.in
    lrzsz-0.12.20/testsuite/Makefile.am
    lrzsz-0.12.20/testsuite/config/
    lrzsz-0.12.20/testsuite/config/unix.exp
    lrzsz-0.12.20/testsuite/lib/
    lrzsz-0.12.20/testsuite/lib/lrzsz.exp
    lrzsz-0.12.20/testsuite/lrzsz/
    lrzsz-0.12.20/testsuite/lrzsz/abuse.exp
    lrzsz-0.12.20/testsuite/lrzsz/command.exp
    lrzsz-0.12.20/testsuite/lrzsz/compatability.exp
    lrzsz-0.12.20/testsuite/lrzsz/crc.exp
    lrzsz-0.12.20/testsuite/lrzsz/manage.exp
    lrzsz-0.12.20/testsuite/lrzsz/newer.exp
    lrzsz-0.12.20/testsuite/lrzsz/path.exp
    lrzsz-0.12.20/testsuite/lrzsz/resume.exp
    lrzsz-0.12.20/testsuite/lrzsz/timing.exp
    lrzsz-0.12.20/testsuite/lrzsz/uppercase.exp
    lrzsz-0.12.20/testsuite/lrzsz/window.exp
    lrzsz-0.12.20/testsuite/lrzsz/xmodem.exp
    lrzsz-0.12.20/testsuite/lrzsz/ymodem.exp
    lrzsz-0.12.20/testsuite/lrzsz/zmodem-crc16.exp
    lrzsz-0.12.20/testsuite/lrzsz/zmodem-escape.exp
    lrzsz-0.12.20/testsuite/lrzsz/zmodem-tcp.exp
    lrzsz-0.12.20/testsuite/lrzsz/zmodem.exp
    lrzsz-0.12.20/debian/
    lrzsz-0.12.20/debian/changelog
    lrzsz-0.12.20/debian/control
    lrzsz-0.12.20/debian/copyright
    lrzsz-0.12.20/debian/rules.in
    [root@VM-0-4-centos ~]# ll
    total 5436
    drwxrwxrwx  9  406 disk     4096 Dec 31  1998 lrzsz-0.12.20
    -rw-r--r--  1 root root   280938 Dec 31  1998 lrzsz-0.12.20.tar.gz
    drwxr-xr-x 11 root root     4096 Oct 15 16:14 nginx
    drwxr-xr-x  9 1001  1001    4096 Oct 15 16:12 nginx-1.19.3
    -rw-r--r--  1 root root  1052581 Oct 15 15:50 nginx-1.19.3.tar.gz
    drwxr-xr-x 10 root root     4096 Oct 15 16:04 openssl-fips-2.0.16
    -rw-r--r--  1 root root  1492654 Oct 15 15:50 openssl-fips-2.0.16.tar.gz
    drwxr-xr-x  9 1169  1169   12288 Oct 15 16:13 pcre-8.44
    -rw-r--r--  1 root root  2090750 Oct 15 15:50 pcre-8.44.tar.gz
    drwxr-xr-x 14  501 games    4096 Oct 15 16:13 zlib-1.2.11
    -rw-r--r--  1 root root   607698 Oct 15 16:02 zlib-1.2.11.tar.gz
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# cd lrzsz-0.12.20/
    [root@VM-0-4-centos lrzsz-0.12.20]# ls
    ABOUT-NLS     aclocal.m4       buildrpm     COMPATABILITY  config.sub    COPYING         fastcheck.sh  intl         Makefile.in  mkinstalldirs  README          README.isdn4linux  Specfile.in  systype.in  TODO
    acconfig.h    AUTHORS          ChangeLog    config.guess   configure     debian          INSTALL       lib          man          NEWS           README.cvs      README.tests       src          testsuite
    acinclude.m4  beos-runpiped.c  check.lrzsz  config.h.in    configure.in  fastcheck.beos  install-sh    Makefile.am  missing      po             README.gettext  rpmrc              stamp-h.in   THANKS
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# ./configure 
    creating cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... yes
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... missing
    checking for gcc... gcc
    checking whether the C compiler (gcc  ) works... yes
    checking whether the C compiler (gcc  ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking whether gcc needs -traditional... no
    checking for ranlib... ranlib
    checking for POSIXized ISC... no
    checking for AIX... no
    checking for minix/config.h... no
    checking for gcc option to accept ANSI C... none needed
    checking for function prototypes... yes
    checking for working const... yes
    checking for inline... inline
    checking for syslog in -lsocket... no
    checking for syslog in -lbe... no
    checking for gethostbyname in -lnsl... yes
    checking for ANSI C header files... yes
    checking for fcntl.h... yes
    checking for limits.h... yes
    checking for sys/ioctl.h... yes
    checking for sys/time.h... yes
    checking for unistd.h... yes
    checking for sys/times.h... yes
    checking for termios.h... yes
    checking for sys/termios.h... yes
    checking for termio.h... yes
    checking for sys/termio.h... no
    checking for sgtty.h... yes
    checking for termios.h... (cached) yes
    checking for sys/termios.h... (cached) yes
    checking for termio.h... (cached) yes
    checking for sys/termio.h... (cached) no
    checking for sgtty.h... (cached) yes
    checking for sys/mman.h... yes
    checking for utime.h... yes
    checking for syslog.h... yes
    checking for sys/syslog.h... yes
    checking for sys/param.h... yes
    checking for sys/select.h... yes
    checking for strings.h... yes
    checking for arpa/inet.h... yes
    checking for size_t... yes
    checking for mode_t... yes
    checking for off_t... yes
    checking for speed_t... yes
    checking for st_rdev in struct stat... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether sys/time.h and sys/select.h may both be included... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for errno declaration... yes
    checking whether setvbuf arguments are reversed... no
    checking return type of signal handlers... void
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for gettimeofday... yes
    checking for settimeofday... yes
    checking for strchr... yes
    checking for memcpy... yes
    checking for select... yes
    checking for vprintf... yes
    checking for times... yes
    checking for rdchk... no
    checking for utime... yes
    checking for syslog... yes
    checking for siginterrupt... yes
    checking for mkdir... yes
    checking for mktime... yes
    checking for strerror... yes
    checking for strstr... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for strtol... yes
    checking for strpbrk... yes
    checking for stpcpy... yes
    checking for strftime... yes
    checking for vasprintf... yes
    checking for getopt_long... yes
    checking for ftime... yes
    checking that ftime works correctly... yes
    checking for timezone variable... yes
    checking for LOG_UUCP... yes
    checking for argz.h... yes
    checking for limits.h... (cached) yes
    checking for locale.h... yes
    checking for nl_types.h... yes
    checking for malloc.h... yes
    checking for string.h... yes
    checking for unistd.h... (cached) yes
    checking for values.h... yes
    checking for sys/param.h... (cached) yes
    checking for getcwd... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for strchr... (cached) yes
    checking for strcasecmp... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for LC_MESSAGES... yes
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for libintl.h... yes
    checking for gettext in libc... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for dcgettext... yes
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for catalogs to be installed...  de
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating intl/Makefile
    creating lib/Makefile
    creating testsuite/Makefile
    creating man/Makefile
    creating po/Makefile.in
    creating src/Makefile
    creating debian/rules
    creating Specfile
    creating systype
    creating src/lrzszbug
    creating config.h
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# make
    make all-recursive
    make[1]: Entering directory `/root/lrzsz-0.12.20'
    Making all in lib
    make[2]: Entering directory `/root/lrzsz-0.12.20/lib'
    gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -c long-options.c
    long-options.c: In function ‘parse_long_options’:
    long-options.c:65:4: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
        exit (0);
        ^
    gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -c xstrtol.c
    gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -c xstrtoul.c
    gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -c error.c
    rm -f libzmodem.a
    ar cru libzmodem.a long-options.o xstrtol.o xstrtoul.o error.o 
    ranlib libzmodem.a
    make[2]: Leaving directory `/root/lrzsz-0.12.20/lib'
    Making all in intl
    make[2]: Entering directory `/root/lrzsz-0.12.20/intl'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/lrzsz-0.12.20/intl'
    Making all in src
    make[2]: Entering directory `/root/lrzsz-0.12.20/src'
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c lrz.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c timing.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c zperr.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c zreadline.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c crctab.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c rbsb.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c zm.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c protname.c
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c tcp.c
    tcp.c: In function ‘tcp_server’:
    tcp.c:75:33: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [enabled by default]
      if (getsockname (sock, (struct sockaddr *) &t, &len)) {
                                     ^
    In file included from tcp.c:26:0:
    /usr/include/sys/socket.h:128:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘size_t *’
     extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
                ^
    tcp.c:83:29: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [enabled by default]
      getsockname (sock, (struct sockaddr *) &t, &len);
                                 ^
    In file included from tcp.c:26:0:
    /usr/include/sys/socket.h:128:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘size_t *’
     extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
                ^
    tcp.c: In function ‘tcp_accept’:
    tcp.c:103:30: warning: passing argument 3 of ‘accept’ from incompatible pointer type [enabled by default]
      if ((so = accept(d, (struct sockaddr*)&s, &namelen)) < 0) {
                                  ^
    In file included from tcp.c:26:0:
    /usr/include/sys/socket.h:244:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘size_t *’
     extern int accept (int __fd, __SOCKADDR_ARG __addr,
                ^
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c lsyslog.c
    lsyslog.c: In function ‘lsyslog’:
    lsyslog.c:67:4: warning: incompatible implicit declaration of built-in function ‘sprintf’ [enabled by default]
        sprintf(uid_string,"#%lu",(unsigned long) uid);
        ^
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c canit.c
    gcc -g -O2  -o lrz  lrz.o timing.o zperr.o zreadline.o crctab.o rbsb.o zm.o protname.o tcp.o lsyslog.o canit.o ../lib/libzmodem.a  -lnsl 
    gcc -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR="/usr/local/share/locale" -I.. -I. -I../src -I../intl -I../lib  -g -O2 -c lsz.c
    gcc -g -O2  -o lsz  lsz.o timing.o zperr.o zreadline.o crctab.o rbsb.o zm.o protname.o tcp.o lsyslog.o canit.o ../lib/libzmodem.a  -lnsl 
    make[2]: Leaving directory `/root/lrzsz-0.12.20/src'
    Making all in po
    make[2]: Entering directory `/root/lrzsz-0.12.20/po'
    make[2]: Leaving directory `/root/lrzsz-0.12.20/po'
    Making all in man
    make[2]: Entering directory `/root/lrzsz-0.12.20/man'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/lrzsz-0.12.20/man'
    Making all in testsuite
    make[2]: Entering directory `/root/lrzsz-0.12.20/testsuite'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/lrzsz-0.12.20/testsuite'
    make[1]: Leaving directory `/root/lrzsz-0.12.20'
    [root@VM-0-4-centos lrzsz-0.12.20]# nake install
    -bash: nake: command not found
    [root@VM-0-4-centos lrzsz-0.12.20]# make install
    Making install in lib
    make[1]: Entering directory `/root/lrzsz-0.12.20/lib'
    make[1]: Leaving directory `/root/lrzsz-0.12.20/lib'
    Making install in intl
    make[1]: Entering directory `/root/lrzsz-0.12.20/intl'
    if test "lrzsz" = "gettext" 
       && test '' = 'intl-compat.o'; then 
      if test -r ./mkinstalldirs; then 
        ./mkinstalldirs /usr/local/lib /usr/local/include; 
      else 
        ../mkinstalldirs /usr/local/lib /usr/local/include; 
      fi; 
      /usr/bin/install -c -m 644 intlh.inst /usr/local/include/libintl.h; 
      /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; 
    else 
      : ; 
    fi
    if test "lrzsz" = "gettext"; then 
      if test -r ./mkinstalldirs; then 
        ./mkinstalldirs /usr/local/share/gettext/intl; 
      else 
        ../mkinstalldirs /usr/local/share/gettext/intl; 
      fi; 
      /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; 
      dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; 
      for file in $dists; do 
        /usr/bin/install -c -m 644 ./$file /usr/local/share/gettext/intl/$file; 
      done; 
    else 
      : ; 
    fi
    make[1]: Leaving directory `/root/lrzsz-0.12.20/intl'
    Making install in src
    make[1]: Entering directory `/root/lrzsz-0.12.20/src'
    /bin/sh ../mkinstalldirs /usr/local/bin
      /usr/bin/install -c lrz /usr/local/bin/lrz
      /usr/bin/install -c lsz /usr/local/bin/lsz
    rm -f //usr/local/bin/`echo lsb | sed -e 's,x,x,'`
    ln //usr/local/bin/`echo lsz |sed -e 's,x,x,'` 
        //usr/local/bin/`echo lsb |sed -e 's,x,x,'` 
    rm -f /usr/local/bin/`echo lsx | sed -e 's,x,x,'`
    ln //usr/local/bin/`echo lsz |sed -e 's,x,x,'` 
        //usr/local/bin/`echo lsx |sed -e 's,x,x,'` 
    rm -f /usr/local/bin/`echo lrb | sed -e 's,x,x,'`
    ln //usr/local/bin/`echo lrz |sed -e 's,x,x,'` 
        //usr/local/bin/`echo lrb |sed -e 's,x,x,'` 
    rm -f /usr/local/bin/`echo lrx | sed -e 's,x,x,'`
    ln //usr/local/bin/`echo lrz |sed -e 's,x,x,'` 
        //usr/local/bin/`echo lrx |sed -e 's,x,x,'` 
    make[1]: Leaving directory `/root/lrzsz-0.12.20/src'
    Making install in po
    make[1]: Entering directory `/root/lrzsz-0.12.20/po'
    if test -r .././mkinstalldirs; then 
      .././mkinstalldirs /usr/local/share; 
    else 
      ../mkinstalldirs /usr/local/share; 
    fi
    mkdir /usr/local/share/locale
    mkdir /usr/local/share/locale/de
    mkdir /usr/local/share/locale/de/LC_MESSAGES
    installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/lrzsz.mo
    if test "lrzsz" = "gettext"; then 
      if test -r .././mkinstalldirs; then 
        .././mkinstalldirs /usr/local/share/gettext/po; 
      else 
        ../mkinstalldirs /usr/local/share/gettext/po; 
      fi; 
      /usr/bin/install -c -m 644 ./Makefile.in.in 
              /usr/local/share/gettext/po/Makefile.in.in; 
    else 
      : ; 
    fi
    make[1]: Leaving directory `/root/lrzsz-0.12.20/po'
    Making install in man
    make[1]: Entering directory `/root/lrzsz-0.12.20/man'
    make install-man1
    make[2]: Entering directory `/root/lrzsz-0.12.20/man'
    /bin/sh ../mkinstalldirs /usr/local/man/man1
    mkdir /usr/local/man
    mkdir /usr/local/man/man1
     /usr/bin/install -c -m 644 ./lrz.1 /usr/local/man/man1/lrz.1
     /usr/bin/install -c -m 644 ./lsz.1 /usr/local/man/man1/lsz.1
    make[2]: Leaving directory `/root/lrzsz-0.12.20/man'
    make[1]: Leaving directory `/root/lrzsz-0.12.20/man'
    Making install in testsuite
    make[1]: Entering directory `/root/lrzsz-0.12.20/testsuite'
    make[1]: Leaving directory `/root/lrzsz-0.12.20/testsuite'
    [root@VM-0-4-centos lrzsz-0.12.20]# ll
    total 592
    -rw-r--r-- 1  406 disk  11549 Apr 26  1998 ABOUT-NLS
    -rw-r--r-- 1  406 disk   1940 Dec 28  1998 acconfig.h
    -rw-r--r-- 1  406 disk   1902 Dec 28  1998 acinclude.m4
    -rw-r--r-- 1  406 disk  21715 Dec 30  1998 aclocal.m4
    -rw-r--r-- 1  406 disk    250 Apr 26  1998 AUTHORS
    -rw-r--r-- 1  406 disk   1134 Dec 29  1998 beos-runpiped.c
    -rwxr-xr-x 1  406 disk    367 Dec 22  1998 buildrpm
    -rw-r--r-- 1  406 disk  40336 Dec 30  1998 ChangeLog
    -rwxr-xr-x 1  406 disk  21599 Dec 29  1998 check.lrzsz
    -rw-r--r-- 1  406 disk   1368 Apr 26  1998 COMPATABILITY
    -rw-r--r-- 1 root root   5985 Oct 21 18:19 config.cache
    -rwxr-xr-x 1  406 disk  17282 Apr 26  1998 config.guess
    -rw-r--r-- 1 root root   9297 Oct 21 18:19 config.h
    -rw-r--r-- 1  406 disk   8810 Dec 30  1998 config.h.in
    -rw-r--r-- 1 root root  16830 Oct 21 18:19 config.log
    -rwxr-xr-x 1 root root  29813 Oct 21 18:19 config.status
    -rwxr-xr-x 1  406 disk  17995 Apr 26  1998 config.sub
    -rwxr-xr-x 1  406 disk 143311 Dec 30  1998 configure
    -rw-r--r-- 1  406 disk   6758 Dec 30  1998 configure.in
    -rw-r--r-- 1  406 disk  18007 Apr 26  1998 COPYING
    drwxr-xr-x 2  406 disk   4096 Oct 21 18:19 debian
    -rwxr-xr-x 1  406 disk   1221 Dec 30  1998 fastcheck.beos
    -rwxr-xr-x 1  406 disk   1231 Dec 29  1998 fastcheck.sh
    -rw-r--r-- 1  406 disk  10254 Apr 26  1998 INSTALL
    -rwxr-xr-x 1  406 disk   4771 Apr 26  1998 install-sh
    drwxrwxrwx 2  406 disk   4096 Oct 21 18:19 intl
    drwxrwxrwx 2  406 disk   4096 Oct 21 18:19 lib
    -rw-r--r-- 1 root root  13080 Oct 21 18:19 Makefile
    -rw-r--r-- 1  406 disk   2546 Dec 30  1998 Makefile.am
    -rw-r--r-- 1  406 disk  13064 Dec 31  1998 Makefile.in
    drwxrwxrwx 2  406 disk   4096 Oct 21 18:19 man
    -rwxr-xr-x 1  406 disk   4631 Apr 26  1998 missing
    -rwxr-xr-x 1  406 disk    702 Apr 26  1998 mkinstalldirs
    -rw-r--r-- 1  406 disk   7034 Dec 31  1998 NEWS
    drwxrwxrwx 2  406 disk   4096 Oct 21 18:19 po
    -rw-r--r-- 1  406 disk   1673 Dec 31  1998 README
    -rw-r--r-- 1  406 disk    647 Dec 30  1998 README.cvs
    -rw-r--r-- 1  406 disk   1890 Dec 30  1998 README.gettext
    -rw-r--r-- 1  406 disk    446 Jul  8  1998 README.isdn4linux
    -rw-r--r-- 1  406 disk    673 Dec 30  1998 README.tests
    -rw-r--r-- 1  406 disk     63 Dec 22  1998 rpmrc
    -rw-r--r-- 1 root root   2395 Oct 21 18:19 Specfile
    -rw-r--r-- 1  406 disk   2405 Dec 31  1998 Specfile.in
    drwxrwxrwx 2  406 disk   4096 Oct 21 18:19 src
    -rw-r--r-- 1 root root     10 Oct 21 18:19 stamp-h
    -rw-r--r-- 1  406 disk     10 Dec 30  1998 stamp-h.in
    -rw-r--r-- 1 root root   5184 Oct 21 18:19 systype
    -rw-r--r-- 1  406 disk   5204 Dec 30  1998 systype.in
    drwxrwxrwx 5  406 disk   4096 Oct 21 18:19 testsuite
    -rw-r--r-- 1  406 disk    178 Apr 26  1998 THANKS
    -rw-r--r-- 1  406 disk    731 Dec 31  1998 TODO
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# 
    [root@VM-0-4-centos lrzsz-0.12.20]# cd ../
    [root@VM-0-4-centos ~]# ls
    lrzsz-0.12.20  lrzsz-0.12.20.tar.gz  nginx  nginx-1.19.3  nginx-1.19.3.tar.gz  openssl-fips-2.0.16  openssl-fips-2.0.16.tar.gz  pcre-8.44  pcre-8.44.tar.gz  zlib-1.2.11  zlib-1.2.11.tar.gz
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# 
    [root@VM-0-4-centos ~]# ll
    total 5436
    drwxrwxrwx  9  406 disk     4096 Oct 21 18:19 lrzsz-0.12.20
    -rw-r--r--  1 root root   280938 Dec 31  1998 lrzsz-0.12.20.tar.gz
    drwxr-xr-x 11 root root     4096 Oct 15 16:14 nginx
    drwxr-xr-x  9 1001  1001    4096 Oct 15 16:12 nginx-1.19.3
    -rw-r--r--  1 root root  1052581 Oct 15 15:50 nginx-1.19.3.tar.gz
    drwxr-xr-x 10 root root     4096 Oct 15 16:04 openssl-fips-2.0.16
    -rw-r--r--  1 root root  1492654 Oct 15 15:50 openssl-fips-2.0.16.tar.gz
    drwxr-xr-x  9 1169  1169   12288 Oct 15 16:13 pcre-8.44
    -rw-r--r--  1 root root  2090750 Oct 15 15:50 pcre-8.44.tar.gz
    drwxr-xr-x 14  501 games    4096 Oct 15 16:13 zlib-1.2.11
    -rw-r--r--  1 root root   607698 Oct 15 16:02 zlib-1.2.11.tar.gz
    [root@VM-0-4-centos ~]# cd /usr/bin
    [root@VM-0-4-centos bin]# ln -s /usr/local/bin/lrz rz
    [root@VM-0-4-centos bin]# ln -s /usr/local/bin/lsz sz
    [root@VM-0-4-centos bin]# rz                
  • 相关阅读:
    Objective-C代码规范
    Http中Get/Post请求区别
    使用Vitamio打造自己的Android万能播放器
    Vitamio
    图片瀑布流
    TCP与UDP
    SQLite基本操作总结
    IOS文件操作的两种方式:NSFileManager操作和流操作
    JSON和XML
    一些iOS常用的第三方库和控件及第三方框架还有动画
  • 原文地址:https://www.cnblogs.com/xiaotang5051729/p/13853991.html
Copyright © 2020-2023  润新知