X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL;h=73cc24f8c2ed9e70f9c1dd79faba4c3bc82ff780;hb=db088a816de0f2f777c2d9ab493058dd39e2acd8;hp=228f3b67da459252d83591706ee951cbe98800e2;hpb=d889b1cebf33d53e7e7a8ae11c830ac1f7fdf76c;p=lyx.git diff --git a/INSTALL b/INSTALL index 228f3b67da..73cc24f8c2 100644 --- a/INSTALL +++ b/INSTALL @@ -7,12 +7,12 @@ Quick compilation guide These four steps will compile, test and install LyX: 0) Linux users beware: if compiling the Qt frontend, you need - qt and qt-devel packages of the same version to compile LyX. + qt4 and qt4-devel packages of the same version to compile LyX. - 1) ./configure --with-frontend=[qt3, qt4, or gtk] + 1) ./configure configures LyX according to your system. When compiling for Qt, you may have to set - --with-qt-dir= + --with-qt4-dir= if the environment variable QTDIR is not set. 2) make @@ -30,7 +30,7 @@ Note for Subversion checkouts ----------------------------- 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 @@ -55,9 +55,7 @@ library to be able to compile this version of LyX. Users of gcc 2.95.x 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 and 4.x. The only special point to +LyX has been tested with Qt 4.2.0. 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. @@ -109,11 +107,8 @@ to create the Makefile by typing 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 (qt3, qt4, gtk) 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. @@ -173,8 +168,8 @@ Moreover, the following generic configure flags may be useful: 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 @@ -235,6 +230,10 @@ cases: 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 ---------------------------- @@ -252,7 +251,7 @@ to strip the lyx binary. In this case replace "make install" with make install-strip -BTW: in the images subdirectory there is also a small icon "lyx.xpm", +BTW: in the images subdirectory there is also a small icon "lyx.png", that can be used to display lyx-documents in filemanagers. If configure fails for some strange reason