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 have checked this out from Subversion, 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.