mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
f0119e1944
It was reported at elinks-dev on 2007-06-03 that Solaris 10 comes with zlib 1.1.4, which does not include gzclearerr(), which ELinks nowadays requires. It would be possible to rewrite the decompression support to use deflate() directly and avoid stdio, in which case gzclearerr() would not be needed. That will take some time however, so I'm not attempting it for ELinks 0.12.0. Instead, I'm just disabling gzip decompression entirely if zlib is too old.
87 lines
3.2 KiB
Plaintext
87 lines
3.2 KiB
Plaintext
Getting ELinks up and running
|
|
-----------------------------
|
|
|
|
Installing ELinks should be pretty easy on most systems. Below is described
|
|
the whole process of configuring the compilation, compiling and installing.
|
|
|
|
Building and Installing ELinks
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
The quick guide for the impatient. Issue the following commands from the
|
|
ELinks source directory:
|
|
|
|
$ ./configure && make && make install
|
|
|
|
However you might consider to tweek a few compile time options before building
|
|
ELinks. You might also want to take a look at what libraries and programs are
|
|
required or recommended that you install.
|
|
|
|
Requirements
|
|
~~~~~~~~~~~~
|
|
|
|
To successfully install ELinks all that is required is GNU make and a C
|
|
compiler. If you want to install directly from GIT it is also required that
|
|
automake and autoconf is installed on your system.
|
|
|
|
Recommended Libraries and Programs
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
To make use of many of ELinks features you will need to have some external
|
|
libraries and utility programs installed on your system. It is recommended to
|
|
have the following libraries and programs installed:
|
|
|
|
`-----------------------`----------------------------------------------------
|
|
Dependency Description
|
|
-----------------------------------------------------------------------------
|
|
Lua or Guile Makes it possible to write scripting plugins. \
|
|
ifdef::installation-webpage[]
|
|
See link:manual.html#lua-scripting[the Elinks - Lua interface] \
|
|
endif::installation-webpage[]
|
|
ifndef::installation-webpage[]
|
|
See <<lua-scripting,the Elinks - Lua interface>> \
|
|
endif::installation-webpage[]
|
|
for more info.
|
|
zlib 1.2.0.2 or later For handling compressed documents both locally and \
|
|
sent from server.
|
|
bzip2 For handling local compressed documents.
|
|
OpenSSL or GNU TLS For handling secure HTTP browsing.
|
|
GPM 'General Purpose Mouse' for mouse support.
|
|
expat 'XML Parser Toolkit' needed for XBEL support.
|
|
smbclient Program needed for smb:// protocol support.
|
|
rxvt-unicode For terminal emulator which supports 88 colors.
|
|
xterm with 256 colors Program atleast patch level 179 or rxvt program \
|
|
from version 2.7.9 for support of 256 colors. \
|
|
Newer PuTTY also has 256 color support.
|
|
libidn For internationalized domain names.
|
|
SpiderMonkey Mozilla's JavaScript engine for getting \
|
|
JavaScript/ECMAScript support in ELinks. \
|
|
ifdef::installation-webpage[]
|
|
See also link:manual.html#ecmascript[notes on ECMAScript support].
|
|
endif::installation-webpage[]
|
|
ifndef::installation-webpage[]
|
|
See also <<ecmascript,notes on ECMAScript support>>.
|
|
endif::installation-webpage[]
|
|
-----------------------------------------------------------------------------
|
|
|
|
When compiling, you also need the header files for the libraries. Most OS
|
|
distributors put a given library's headers in a package separate from the
|
|
library itself; this package usually has `-dev` or similar appended to its
|
|
name.
|
|
|
|
Further reading
|
|
~~~~~~~~~~~~~~~
|
|
|
|
This installation guide is far from being complete. You are also advised to
|
|
read the `README` and the `INSTALL` files distributed with ELinks for further
|
|
up to date info on building and installing.
|
|
|
|
ifndef::installation-webpage[]
|
|
|
|
include::small.txt[]
|
|
|
|
include::ecmascript.txt[]
|
|
|
|
include::{builddir}features.txt[]
|
|
|
|
endif::installation-webpage[]
|