* lyx.rpm.README:

- update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32396 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-12-07 09:56:33 +00:00
parent e31a4f5041
commit 99042cf2fc

View File

@ -2,18 +2,18 @@ Here is what to do to make a binary rpm using the spec file lyx.spec.
The description below apply only to the Intel platform, but only minor The description below apply only to the Intel platform, but only minor
changes should be needed for other platforms. changes should be needed for other platforms.
1) Install qt-4.1.1 or later. If you are using RPMs, make sure to install 1) Install qt-4.2.2 or later. If you are using RPMs, make sure to install
the qt-devel packages as well. the qt-devel packages as well.
2) Install LaTeX. You can do this using RPMs from your distribution that 2) Install LaTeX. You can do this using RPMs from your distribution that
might be splitted in multiple packages (e.g. tetex-xdvi, tetex, might be splitted in multiple packages (e.g. texlive, texlive-latex),
tetex-latex), or you can install TeXLive straight from the DVD. or you can install TeXLive straight from the DVD.
3) Copy lyx.spec to the SPECS directory (on Redhat, this is located at 3) Copy lyx.spec to the SPECS directory (on Redhat, this is located at
/usr/src/redhat/SPECS, on other systems at /usr/src/packages/SPECS) /usr/src/redhat/SPECS, on other systems at /usr/src/packages/SPECS)
4) Copy lyx-1.5.2.tar.gz to your SOURCES directory (located in the same 4) Copy the tarball (lyx-1.x.y.tar.gz) to your SOURCES directory (located
path as SPECS, e.g. /usr/src/packages/SOURCES) in the same path as SPECS, e.g. /usr/src/packages/SOURCES).
5) Issue the command 5) Issue the command
@ -27,17 +27,17 @@ Note that building lyx requires about 150M free space on your disk.
6) Now install the package: 6) Now install the package:
rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.5.2-1.i386.rpm rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.x.y-1.i386.rpm
(again, adjust the path and filename if needed) (again, adjust the path and filename as needed)
If you get dependency errors about qt4 or tetex/texlive, then you need to If you get dependency errors about qt4 or tetex/texlive, then you need to
use the --nodeps option (because you installed qt4 or TeX not in use the --nodeps option (because you installed qt4 or TeX not in
rpm form): rpm form):
rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.5.2-1.i386.rpm rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.x.y-1.i386.rpm
(again, adjust the path and filename if needed) (again, adjust the path and filename as needed)
You should not get any more errors. You should not get any more errors.