0) Linux users beware: You need qt4 and qt4-devel packages
of the same version to compile LyX.
- 1) ./configure
- configures LyX according to your system.
- You may have to set
- --with-qt4-dir=<path-to-your-qt4-installation>
- if the environment variable QTDIR is not set (for example,
- '--with-qt4-dir=/usr/share/qt4/'). Alternatively, you could
- install pkgconfig (the name might vary depending on your
- distribution).
+ In general, it is also recommended to have pkg-config
+ installed (the name might vary depending on your
+ distribution).
+
+ 1) ./configure configures LyX according to your system. You
+ may have to set --with-qt4-dir=<path-to-your-qt4-installation>
+ (for example, "--with-qt4-dir=/usr/share/qt4/") if the
+ environment variable QTDIR is not set and pkg-config is not
+ available.
+
See Note below if ./configure script is not present.
2) make
if you want a smaller binary.
-Note for Subversion (SVN) checkouts
+Note for Git checkouts
-----------------------------
-If you have checked this out from Subversion, you need to have:
+If you have checked this out from Git, you need to have:
* automake >= 1.8
* autoconf >= 2.59c
-* gettext >= 0.12
+* gettext >= 0.16.1
Then type "./autogen.sh" to build the needed configuration
files and proceed as stated below.
as. Otherwise, LyX will not be able to run a number of tests. Note
that users can run these tests manually with Tools>Reconfigure.
- o Python 2.3 or newer installed to be able to import older LyX files
+ o Python 2.4 or newer must be installed. Python is used for many
+ simple tasks that are executed by external scripts, such as the
+ automatic configuration step and the import of older LyX documents
with the lyx2lyx script (this script is called automatically when
opening a file). Python 3.0 or later is not supported.