mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
Don't search for SpiderMonkey in hardcoded directories (/usr /usr/local /opt/spidermonkey /opt/js), and don't support --with-spidermonkey=DIR (which I think was documented in elinks-users only). Instead, ask pkg-config for mozjs185 or mozilla-js. Everyone who installed SpiderMonkey in an unusual place must set PKG_CONFIG_PATH appropriately. This commit also includes a few minor changes in the SpiderMonkey section of the configure script: * Update the SpiderMonkey version number in "checking" messages from 1.5 RC3a to 1.8.5, which matches the actual checks. * Wrap the option documentation with AS_HELP_STRING. * Use the Autoconf-generated $with_spidermonkey variable directly, instead of copying $withval. * Quote the arguments of macros more consistently. * Warn if SpiderMonkey was requested but not found.
96 lines
3.6 KiB
Plaintext
96 lines
3.6 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
|
|
(version 3.78 or later) 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:
|
|
|
|
[separator="|"]
|
|
`_______________________`____________________________________________________
|
|
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 gzip or deflate compressed documents \
|
|
both locally and sent from server.
|
|
bzip2 |Likewise, for bzip2 compressed documents.
|
|
LZMA Utils |Likewise, for LZMA compressed documents. \
|
|
Version 4.32.5 should work. XZ Utils does not work.
|
|
OpenSSL, GNU TLS, or nss_compat_ossl \
|
|
|For handling secure HTTP browsing.
|
|
pkg-config |Needed for locating some libraries (at least \
|
|
GNU TLS, TRE, and SpiderMonkey)
|
|
GPM |'General Purpose Mouse' for mouse support.
|
|
expat |'XML Parser Toolkit' needed for XBEL support.
|
|
http://laurikari.net/tre/[TRE] \
|
|
|For regexp searching. Version 0.8.0 works.
|
|
libsmbclient |Library 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[]
|