📄 install.utilslib
字号:
AF's utilities library ======================The utilities library, that is used in afbackup and soon otherpackages, can be installed as described in the following sections.It contains header files, a library and two utility scripts fordetermining the operating system version, if necessary.The header files are operating system independant, except forone, that will be placed in a subdirectory named like theoutput of the utility script prosname.sh . When using thelibrary, make sure to insert this subdirectory before thedirectory itself into the include path (e.g. -I/usr/local/include/Linux_2 -I/usr/local/include)For experienced people, to build and install in most casesthe following three usual steps are necessary./configure -prefix=/desired/install/prefixmake x_utilsmake install.x_utilsDetailed build and install instructions follow.See below for possible known problems.BUILD=====To build the library, it is necessary to run ./configure , likewith all other software using autoconf. The following configureoptions can be supplied:-prefix=DIR (default: DIR=/usr/local) The base directory for the headers, library and scripts. The subdirectories bin, lib and include will be created, if not yet existing.--with-utilsincdir (default: prefix/include) The directory for the header files. A subdirectory named like the output of the script prosname.sh will also be created containing the only OS-dependant header file.--with-utilslibdir (default: prefix/lib) The directory, that will contain the library, who is of course OS-dependant. Therefore a subdirectory named like the output of prosname.sh will be created and really contain the library.--with-utilsbindir (default: prefix/bin) The directory, that will contain utility scripts. If there will be any OS-dependant binaries, too, they will be located in a subdirectory--with-des (default: no) Whether DES-encryption will be built in for the client- server authentication routines. Requires Eric Young's libdes-4.04b or higher. Selecting one or more of the following --with-des-... options automatically selects --with-des--with-des-header=HEADER (default: HEADER=des.h) The (base-)name of the DES-Header file (without path)--with-des-include=INC (default: INC=../libdes) The directory, where to find the DES-Header file--with-zlib (default: no) Whether to build in compression capabilities for the packer or more general file compression functions. Selecting one or more of the following --with-zlib-... options automatically selects --with-zlib--with-zlib-include=INC (default: INC=/usr/local/include) The directory, where to find the zlib header zlib.hAfter having run configure type:make x_utilsINSTALL=======To install the library, headers and scripts typemake install.x_utilsWhen building packages, that need these utilities, followthe instructions coming with the package.CAVEATS=======Changes in the encryption routines were necessary due to a bugin all libdes versions. Thus progrmams linked with this libraryare behaving differently now, what might break compatibilitywith earlier versions of the same program.Nonetheless it is possible to build the library using the buggyfunction, so backward compatibility for existing installationsis provided. If the buggy function should be used, the followingline must be appended to the file des_aux.h after the configurestep:#define LIBDESBUG_COMPATIBILITY 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -