?? install
字號:
-*- text -*- Installation Procedure0) PreparationTo build and install GNU Wget, you need to unpack the archive (whichyou have presumably done, since you are reading this), and read on.Like most GNU utilities, Wget uses the GNU Autoconf mechanism forbuild and installation; those of you familiar with compiling GNUsoftware will feel at home.1) ConfigurationTo configure Wget, run the configure script provided with thedistribution. You may use all the standard arguments configurescripts take. The most important ones are: --help print help message --prefix=PREFIX install architecture-independent files in PREFIX (/usr/local by default) --bindir=DIR user executables in DIR (PREFIX/bin) --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST]--enable and --with options recognized (mostly Wget-specific): --with-socks use the socks library --with-ssl[=SSL_ROOT] link with libssl [in SSL_ROOT/lib] for https: support --disable-opie disable support for opie or s/key FTP login --disable-digest disable support for HTTP digest authorization --disable-debug disable support for debugging output --disable-nls do not use Native Language SupportSo, if you want to configure Wget for installation in your homedirectory, you can type:./configure --prefix=$HOMEYou can customize many default settings by editing Makefile andconfig.h. The program will work very well without your touching thesefiles, but it is useful to have a look at things you can change there.If you use socks, it is useful to add -L/usr/local/lib (or whereverthe socks library is installed) to LDFLAGS in Makefile.If you have OpenSSL libraries installed in one of the defaultdirectories, such as /usr/local/lib or /usr/local/ssl/lib, you cansimply `configure --with-ssl'. If you have it installed elsewhere,you need to specify your alternate OpenSSL root directory. Forinstance, if libcrypto.* and libssl.* are in /opt/openssl/lib, youneed to `configure --with-ssl=/opt/openssl'.To configure Wget on Windows, read the instructions in `windows/Readme'. If this doesn't work for any reason, talk to the Windows developers listed there; I do not maintain the port.2) CompilationTo compile the program, type make and cross your fingers. If you donot have an ANSI compiler, Wget will try to KNR-ize its sources "onthe fly". This should make GNU Wget compilable virtually anywhere.After the compilation a ready to use `wget' executable should residein the src directory. I do not have any kind of test-suite as of thismoment, but it should be easy enough to test whether the basic stuffworks.3) InstallationUse `make install' to install GNU Wget to directories specified toconfigure (/usr/local/* by default).The standard installation process will copy the wget binary to/usr/local/bin, install the info pages (wget.info*) to/usr/local/info. You can customize the directories either through theconfiguration process or making the necessary changes in the Makefile.To delete the files created by Wget installation, you can use makeuninstall.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -