0) Linux users beware: if compiling the Qt frontend, you need
qt and qt-devel packages of the same version to compile LyX.
- 1) ./configure --with-frontend=[qt or xforms]
+ 1) ./configure
configures LyX according to your system.
When compiling for Qt, you may have to set
--with-qt-dir=<path-to-your-qt-installation>
-----------------------------
If you have checked this out from Subversion, you need to have:
-* automake >= 1.9
+* automake >= 1.5
* autoconf >= 2.52
* gettext >= 0.12
Then type "./autogen.sh" to build the needed configuration
will have to install the STLPort version of these libraries as the
ones that come with gcc 2.95.x are too broken for us to use.
-* Qt frontend
-
-LyX has been tested with Qt 3.x, though Qt 2.x may happen to work too.
-The only special point to make is that you must ensure that both LyX
-and the Qt libraries are compiled with the same C++ compiler.
+LyX has been tested with Qt 4.1.5. The only special point to
+make is that you must ensure that both LyX and the Qt libraries are
+compiled with the same C++ compiler.
Note that if Qt is using Xft2/fontconfig, you may need to install the
latex-xft-fonts package (at ftp://ftp.lyx.org/pub/lyx/contrib/) to get
If, however, your version of Qt does not use fontconfig, then TeX
fonts should be added to the font path. 'man xset' is your friend.
-* xforms frontend
-
-Both an Xforms and Xpm libraries should be installed to compile LyX.
-It is imperative that you have the correct versions of these
-libraries, and their associated header files.
-
-The xforms library has been very recently updated to version 1.0.
-This version has been released under the LGPL (Lesser General Public
-License), and the availability of the source means that many bugs that
-have been plaguing LyX have been fixed in xforms. You are advised to
-upgrade to xforms 1.0 to enjoy all these new fixes.
-In fact, LyX 1.4.x no longer supports versions of xforms older than 1.0.
-
-You can get the source from
- http://savannah.nongnu.org/download/xforms/
-
-If you use a rpm-based linux distribution, such as RedHat or Mandrake,
-we recommend that you grab a version of xforms from
- ftp://ftp.lyx.org/pub/lyx/contrib
-Look for the xforms-1.0-release.src.rpm or the binary libforms*.i386.rpm.
-
-In addition, you must have libXpm version 4.7 or newer.
-
* Other things to note
If you make modifications to files in src/ (for example by applying a
For more complicated cases, LyX configure takes the following specific
flags:
- o --with-frontend=FRONTEND that allows to specify which frontend you
- want to use. There is no default value: this switch is required.
-
o --with-extra-lib=DIRECTORY that specifies the path where LyX will
- find extra libraries (Xpm, xforms, qt) it needs. Defaults to NONE
+ find extra libraries (qt4) it needs. Defaults to NONE
(i.e. search in standard places). You can specify several
directories, separated by colons.
installation. [defaults to /usr/local]
o --datadir=DIRECTORY gives the directory where all extra LyX
- files (lyxrc example, documentation, templates and layouts
- definitions) will be installed.
+ files (documentation, templates and layout definitions)
+ will be installed.
[defaults to ${prefix}/share/lyx${program_suffix}]
o --bindir=DIRECTORY gives the directory where the lyx binary
latex cannot be found. If you find that you have to use this
flag, please report it as a bug.
+ o --with-frontend=FRONTEND that allows to specify which frontend you
+ want to use. The default value is qt4, which is the only available
+ frontend for now.
+
Compiling and installing LyX
----------------------------