linux rz不能被发现,解决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.76Connecting to www.ohse.de (www.ohse.de)|116.202.157.76|:80... connected.

HTTP request sent, awaiting response...301Moved 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...200OK

Length:280938 (274K) [application/x-gzip]

Saving to: ‘lrzsz-0.12.20.tar.gz’100%[====================================================================================================================================================================================================================================>] 280,938 266KB/s in 1.0s2020-10-21 18:18:20 (266 KB/s) - ‘lrzsz-0.12.20.tar.gz’ saved [280938/280938]

[root@VM-0-4-centos ~]# ll

total5432

-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:14nginx

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.inlrzsz-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.inlrzsz-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.inlrzsz-0.12.20/config.sub

lrzsz-0.12.20/configure

lrzsz-0.12.20/configure.inlrzsz-0.12.20/install-shlrzsz-0.12.20/missing

lrzsz-0.12.20/mkinstalldirs

lrzsz-0.12.20/stamp-h.inlrzsz-0.12.20/systype.inlrzsz-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.shlrzsz-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.inlrzsz-0.12.20/lib/Makefile.am

lrzsz-0.12.20/lib/alloca.c

lrzsz-0.12.20/lib/ansi2knr.1lrzsz-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.inlrzsz-0.12.20/intl/linux-msg.sedlrzsz-0.12.20/intl/po2tbl.sed.inlrzsz-0.12.20/intl/xopen-msg.sedlrzsz-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.inlrzsz-0.12.20/src/Makefile.am

lrzsz-0.12.20/src/ansi2knr.1lrzsz-0.12.20/src/ansi2knr.c

lrzsz-0.12.20/src/lrzszbug.inlrzsz-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.inlrzsz-0.12.20/po/POTFILES.inlrzsz-0.12.20/po/lrzsz.pot

lrzsz-0.12.20/po/stamp-cat-idlrzsz-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.inlrzsz-0.12.20/man/Makefile.am

lrzsz-0.12.20/man/lrz.1lrzsz-0.12.20/man/lsz.1lrzsz-0.12.20/testsuite/lrzsz-0.12.20/testsuite/Makefile.inlrzsz-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

total5436drwxrwxrwx9 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:14nginx

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]# lsABOUT-NLS aclocal.m4 buildrpm COMPATABILITY config.sub COPYING fastcheck.sh intl Makefile.in mkinstalldirs README README.isdn4linux Specfile.in systype.inTODO

acconfig.h AUTHORS ChangeLog config.guess configure debian INSTALL libmanNEWS 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.inTHANKS

[root@VM-0-4-centos lrzsz-0.12.20]#

[root@VM-0-4-centos lrzsz-0.12.20]# ./configure

creating cache ./config.cache

checkingfor a BSD compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking whethermakesets ${MAKE}... yes

checkingforworking aclocal... missing

checkingforworking autoconf... missing

checkingforworking automake... missing

checkingforworking autoheader... missing

checkingforworking makeinfo... missing

checkingfor gcc... gccchecking 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 whethergcc accepts -g... yes

checking how to run the C preprocessor...gcc -E

checking whethergcc needs -traditional... no

checkingforranlib... ranlib

checkingforPOSIXized ISC... no

checkingforAIX... no

checkingfor minix/config.h... no

checkingfor gccoption to accept ANSI C... none needed

checkingfor functionprototypes... yes

checkingforworking const... yes

checkingforinline... inline

checkingfor syslog in -lsocket... no

checkingfor syslog in -lbe... no

checkingfor gethostbyname in -lnsl... yes

checkingforANSI C header files... yes

checkingforfcntl.h... yes

checkingforlimits.h... yes

checkingfor sys/ioctl.h... yes

checkingfor sys/time.h... yes

checkingforunistd.h... yes

checkingfor sys/times.h... yes

checkingfortermios.h... yes

checkingfor sys/termios.h... yes

checkingfortermio.h... yes

checkingfor sys/termio.h... no

checkingforsgtty.h... yes

checkingfortermios.h... (cached) yes

checkingfor sys/termios.h... (cached) yes

checkingfortermio.h... (cached) yes

checkingfor sys/termio.h... (cached) no

checkingforsgtty.h... (cached) yes

checkingfor sys/mman.h... yes

checkingforutime.h... yes

checkingforsyslog.h... yes

checkingfor sys/syslog.h... yes

checkingfor sys/param.h... yes

checkingfor sys/select.h... yes

checkingforstrings.h... yes

checkingfor arpa/inet.h... yes

checkingforsize_t... yes

checkingformode_t... yes

checkingforoff_t... yes

checkingforspeed_t... yes

checkingfor st_rdev in struct stat... yes

checking whethertime.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 isin sys/time.h or time.h... time.h

checkingforerrno declaration... yes

checking whether setvbuf arguments are reversed... no

checking return type of signal handlers... void

checkingforunistd.h... (cached) yes

checkingforgetpagesize... yes

checkingforworking mmap... yes

checkingforworking alloca.h... yes

checkingforalloca... yes

checkingforgettimeofday... yes

checkingforsettimeofday... yes

checkingforstrchr... yes

checkingformemcpy... yes

checkingfor select... yes

checkingforvprintf... yes

checkingfortimes... yes

checkingforrdchk... no

checkingforutime... yes

checkingforsyslog... yes

checkingforsiginterrupt... yes

checkingfor mkdir... yes

checkingformktime... yes

checkingforstrerror... yes

checkingforstrstr... yes

checkingforstrdup... yes

checkingforstrtoul... yes

checkingforstrtol... yes

checkingforstrpbrk... yes

checkingforstpcpy... yes

checkingforstrftime... yes

checkingforvasprintf... yes

checkingforgetopt_long... yes

checkingforftime... yes

checking that ftime works correctly... yes

checkingfortimezone variable... yes

checkingforLOG_UUCP... yes

checkingforargz.h... yes

checkingforlimits.h... (cached) yes

checkingforlocale.h... yes

checkingfornl_types.h... yes

checkingformalloc.h... yes

checkingfor string.h... yes

checkingforunistd.h... (cached) yes

checkingforvalues.h... yes

checkingfor sys/param.h... (cached) yes

checkingforgetcwd... yes

checkingformunmap... yes

checkingforputenv... yes

checkingforsetenv... yes

checkingforsetlocale... yes

checkingforstrchr... (cached) yes

checkingforstrcasecmp... yes

checkingfor__argz_count... yes

checkingfor__argz_stringify... yes

checkingfor__argz_next... yes

checkingforLC_MESSAGES... yes

checking whether NLS is requested... yes

checking whether included gettext is requested... no

checkingforlibintl.h... yes

checkingfor gettext inlibc... yes

checkingfor msgfmt... /usr/bin/msgfmt

checkingfordcgettext... yes

checkingfor gmsgfmt... /usr/bin/msgfmt

checkingfor xgettext... /usr/bin/xgettext

checkingforcatalogs to be installed... de

updating cache ./config.cache

creating ./config.status

creating Makefile

creating intl/Makefile

creating lib/Makefile

creating testsuite/Makefile

creatingman/Makefile

creating po/Makefile.increating 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-recursivemake[1]: Entering directory `/root/lrzsz-0.12.20'Making all inlibmake[2]: Entering directory `/root/lrzsz-0.12.20/lib'gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c long-options.clong-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.cgcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xstrtoul.cgcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c error.crm -f libzmodem.aar cru libzmodem.a long-options.o xstrtol.o xstrtoul.o error.o

ranlib libzmodem.amake[2]: Leaving directory `/root/lrzsz-0.12.20/lib'Making all inintlmake[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 insrcmake[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 3of ‘getsockname’ from incompatible pointer type [enabled by default]if (getsockname (sock, (struct sockaddr *) &t, &len)) {^Infile 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 *’

externint getsockname (int__fd, __SOCKADDR_ARG __addr,^tcp.c:83:29: warning: passing argument 3of ‘getsockname’ from incompatible pointer type [enabled by default]

getsockname (sock, (struct sockaddr*) &t, &len);^Infile 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 *’

externint getsockname (int__fd, __SOCKADDR_ARG __addr,^tcp.c: Infunction‘tcp_accept’:

tcp.c:103:30: warning: passing argument 3of ‘accept’ from incompatible pointer type [enabled by default]if ((so = accept(d, (struct sockaddr*)&s, &namelen)) < 0) {^Infile 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 *’

externint 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 -lnslgcc -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 -lnslmake[2]: Leaving directory `/root/lrzsz-0.12.20/src'Making all inpomake[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 intestsuitemake[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 installMakinginstall inlibmake[1]: Entering directory `/root/lrzsz-0.12.20/lib'make[1]: Leaving directory `/root/lrzsz-0.12.20/lib'Making install inintlmake[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 insrcmake[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/lszrm -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 inpomake[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/localemkdir /usr/local/share/locale/demkdir /usr/local/share/locale/de/LC_MESSAGES

installing de.gmo as/usr/local/share/locale/de/LC_MESSAGES/lrzsz.moif 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-man1make[2]: Entering directory `/root/lrzsz-0.12.20/man'/bin/sh ../mkinstalldirs /usr/local/man/man1mkdir /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 intestsuitemake[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

total592

-rw-r--r-- 1 406 disk 11549 Apr 26 1998 ABOUT-NLS-rw-r--r-- 1 406 disk 1940 Dec 28 1998acconfig.h-rw-r--r-- 1 406 disk 1902 Dec 28 1998acinclude.m4-rw-r--r-- 1 406 disk 21715 Dec 30 1998aclocal.m4-rw-r--r-- 1 406 disk 250 Apr 26 1998AUTHORS-rw-r--r-- 1 406 disk 1134 Dec 29 1998 beos-runpiped.c-rwxr-xr-x 1 406 disk 367 Dec 22 1998buildrpm-rw-r--r-- 1 406 disk 40336 Dec 30 1998ChangeLog-rwxr-xr-x 1 406 disk 21599 Dec 29 1998check.lrzsz-rw-r--r-- 1 406 disk 1368 Apr 26 1998COMPATABILITY-rw-r--r-- 1 root root 5985 Oct 21 18:19config.cache-rwxr-xr-x 1 406 disk 17282 Apr 26 1998config.guess-rw-r--r-- 1 root root 9297 Oct 21 18:19config.h-rw-r--r-- 1 406 disk 8810 Dec 30 1998 config.h.in

-rw-r--r-- 1 root root 16830 Oct 21 18:19config.log-rwxr-xr-x 1 root root 29813 Oct 21 18:19config.status-rwxr-xr-x 1 406 disk 17995 Apr 26 1998config.sub-rwxr-xr-x 1 406 disk 143311 Dec 30 1998configure-rw-r--r-- 1 406 disk 6758 Dec 30 1998 configure.in

-rw-r--r-- 1 406 disk 18007 Apr 26 1998COPYING

drwxr-xr-x 2 406 disk 4096 Oct 21 18:19debian-rwxr-xr-x 1 406 disk 1221 Dec 30 1998fastcheck.beos-rwxr-xr-x 1 406 disk 1231 Dec 29 1998 fastcheck.sh

-rw-r--r-- 1 406 disk 10254 Apr 26 1998INSTALL-rwxr-xr-x 1 406 disk 4771 Apr 26 1998 install-shdrwxrwxrwx2 406 disk 4096 Oct 21 18:19intl

drwxrwxrwx2 406 disk 4096 Oct 21 18:19lib-rw-r--r-- 1 root root 13080 Oct 21 18:19Makefile-rw-r--r-- 1 406 disk 2546 Dec 30 1998Makefile.am-rw-r--r-- 1 406 disk 13064 Dec 31 1998 Makefile.indrwxrwxrwx2 406 disk 4096 Oct 21 18:19 man

-rwxr-xr-x 1 406 disk 4631 Apr 26 1998missing-rwxr-xr-x 1 406 disk 702 Apr 26 1998mkinstalldirs-rw-r--r-- 1 406 disk 7034 Dec 31 1998NEWS

drwxrwxrwx2 406 disk 4096 Oct 21 18:19po-rw-r--r-- 1 406 disk 1673 Dec 31 1998README-rw-r--r-- 1 406 disk 647 Dec 30 1998README.cvs-rw-r--r-- 1 406 disk 1890 Dec 30 1998README.gettext-rw-r--r-- 1 406 disk 446 Jul 8 1998README.isdn4linux-rw-r--r-- 1 406 disk 673 Dec 30 1998README.tests-rw-r--r-- 1 406 disk 63 Dec 22 1998rpmrc-rw-r--r-- 1 root root 2395 Oct 21 18:19Specfile-rw-r--r-- 1 406 disk 2405 Dec 31 1998 Specfile.indrwxrwxrwx2 406 disk 4096 Oct 21 18:19src-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:19systype-rw-r--r-- 1 406 disk 5204 Dec 30 1998 systype.indrwxrwxrwx5 406 disk 4096 Oct 21 18:19testsuite-rw-r--r-- 1 406 disk 178 Apr 26 1998THANKS-rw-r--r-- 1 406 disk 731 Dec 31 1998TODO

[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 ~]# lslrzsz-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

total5436drwxrwxrwx9 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:14nginx

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值