X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=INSTALL;h=3c8c5605d8a64fd92692f51db750eec5446481f6;hb=937d6d11112189797ecdb1ad3c7528b2e0929b62;hp=6e1a2a7f238a14204a5fc956ac394cb6dc0b7dea;hpb=73b86ad30c5b4c30046fa5c57124c5b122a4f619;p=lyx.git diff --git a/INSTALL b/INSTALL index 6e1a2a7f23..3c8c5605d8 100644 --- a/INSTALL +++ b/INSTALL @@ -26,11 +26,11 @@ These four steps will compile, test and install LyX: if you want a smaller binary. -Note for CVS checkouts ----------------------- +Note for Subversion checkouts +----------------------------- -If you have checked this out from CVS, you need to have: -* automake >= 1.5 +If you have checked this out from Subversion, you need to have: +* automake >= 1.9 * autoconf >= 2.52 * gettext >= 0.12 Then type "./autogen.sh" to build the needed configuration @@ -133,8 +133,7 @@ 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. Default is "xforms", and the other possible value is - "qt". + 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 @@ -142,22 +141,22 @@ flags: directories, separated by colons. o --with-extra-inc=DIRECTORY that gives the place where LyX will find - xforms headers. Defaults to NONE (i.e. search in standard places). + extra headers. Defaults to NONE (i.e. search in standard places). You can specify several directories, separated by colons. o --with-extra-prefix[=DIRECTORY] that is equivalent to --with-extra-lib=DIRECTORY/lib --with-extra-inc=DIRECTORY/include If DIRECTORY is not specified, the current prefix is used. - o --with-version-suffix will install LyX as lyx-, e.g. lyx-1.3.1 - The LyX data directory will be something like /lyx-1.3.1/. + o --with-version-suffix will install LyX as lyx-, e.g. lyx-1.4.1 + The LyX data directory will be something like /lyx-1.4.1/. Additionally your user configuration files will be found in e.g. - $HOME/.lyx-1.3.1 + $HOME/.lyx-1.4.1 You can use this feature to install more than one version of LyX on the same system. You can optionally specify a "version" of your own, by doing something like : - ./configure --with-version-suffix=-latestcvs + ./configure --with-version-suffix=-latestsvn Note that the standard configure options --program-prefix, --program-suffix and the others will not affect the shared LyX @@ -171,11 +170,6 @@ flags: optimization of LyX. The compile may be much quicker with some compilers, but LyX will run more slowly. - o --enable-debug will add debug information to your binary. This - requires a lot more disk space, but is a must if you want to try to - debug problems in LyX. The default is to have debug information - for development versions and prereleases only. - There are also flags to control the internationalization support in LyX: @@ -236,6 +230,11 @@ this file. In particular, the following options could be useful in some desperate cases: + o --enable-debug will add debug information to your binary. This + requires a lot more disk space, but is a must if you want to try to + debug problems in LyX. The default is to have debug information + for development versions and prereleases only. + o --enable-warnings that make the compiler output more warnings during the compilation of LyX. Opposite is --disable-warnings. By default, this flag is on for development versions only. @@ -245,6 +244,15 @@ cases: is --disable-assertions. By default, this flag is on for development versions only. + o --enable-stdlib-debug adds some debug code in the standard + library; this slows down the code, but has been helpful in the + past to find bugs. By default, this flag is on for development + versions only. + + o --enable-concept-checks adds some compile-time checks. There is no + run-time penalty. By default, this flag is on for development + versions only. + o --without-latex-config that disables the automatic detection of your latex configuration. This detection is automatically disabled if latex cannot be found. If you find that you have to use this @@ -326,26 +334,6 @@ team member or users to help compiling on some particular architectures. If you find that some of this hints are wrong, please notify us. - o If you have problems indicating that configure cannot find a part of - the xforms or Xpm library, use the --with-extra-lib and --with-extra-inc - options of configure to specify where these libraries reside. - - o Configure will seemingly fail to find xpm.h and forms.h on linux - if the kernel headers are not available. Two cases are possible: - - - you have not installed the kernel sources. Then you should - install them or at least the kernel-headers package (or - whatever it is called in your distribution). - - - you have the sources, but you did a 'make mrproper' in the - kernel directory (this this removes some symbolic links that - are needed for compilation). A 'make symlinks' in linux kernel - sources fixes that. - - o if you are using RedHat Linux 7.x, you must make sure you have the - latest updated gcc and related packages installed (at least -85), - or LyX will not compile or will be mis-compiled. - o On SUN Sparc Solaris 8, you need gnumake. The LyX makefiles do not work with Solaris make.