1 Here is what to do to make a binary rpm using the spec file lyx.spec.
2 The description below apply only to the Intel platform, but only minor
3 changes should be needed for other platforms.
5 1) Install xforms-88 or later. You can find an xforms-0.88 rpm
8 ftp://moni.msci.memphis.edu/pub
10 2) Install LaTeX. You can do this using rpms (you need tetex-xdvi,
11 tetex, tetex-latex) from your RH distribution.
13 3) Copy lyx.spec to /usr/src/redhat/SPECS
15 4) Copy lyx-1.0.0.tar.gz to /usr/src/redhat/SOURCES
19 rpm -bb /usr/src/redhat/SPECS/lyx.spec
21 This builds the binary rpm, and puts it in /usr/src/redhat/RPMS/i386.
22 Note that building lyx requires about 35M free space on your disk.
24 6) Now install the package:
26 rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
28 If you get dependency errors about xforms or tetex, then you need to
29 use the --nodeps option (because you installed xforms or tetex not in
32 rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
34 You should not get any more errors.
36 mw@moni.msci.memphis.edu