----------------------
If you have checked this out from CVS, you need to have:
-* automake >= 1.5
+* automake >= 1.9
* autoconf >= 2.52
* gettext >= 0.12
Then type "./autogen.sh" to build the needed configuration
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
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-<version>, e.g. lyx-1.3.1
- The LyX data directory will be something like <whatever>/lyx-1.3.1/.
+ o --with-version-suffix will install LyX as lyx-<version>, e.g. lyx-1.4.1
+ The LyX data directory will be something like <whatever>/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
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:
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.
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
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.