First I want to say great job!! to all who contributed to getting
LyX-1.3.0 together.

I have a few notes that may be of help to some users that are trying to
upgrade to LyX-1.3.0 and are running RedHat-7.3.... as follows:

My setup: Various boxes both uniprocessor and SMP running RedHat-7.3 all
fully updated using up2date at the time of this writing.

* I tried to rebuild lyx-1.3.0-1-qt.src.rpm with the command:

rpm --rebuild lyx-1.3.0-1-qt.src.rpm

This took a little less time than forever and ultimately failed with the
message:

Assembler messages:
FATAL: can't create QMinipageDialog.o: No such file or directory
make[5]: *** [QMinipageDialog.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.3.0/src/frontends/qt2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.3.0/src/frontends/qt2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.3.0/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.3.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.3.0/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.69071 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.69071 (%build)

Not really sure what all that means but... it didn't work.


* I then tried just installing the pre-built RPM
lyx-1.3.0-1rh73-qt.i386.rpm with the command(s):

rpm -e lyx
rpm -ivh lyx-1.3.0-1rh73-qt.i386.rpm

This went in without a hitch and runs and looks quite ummm... (I am not
a big fan of the KDE look-n-feel... to bad the Gnome port is in limbo).
If you use KDE and/or like the KDE look-n-feel this should work fine for
you. Personally, I like the old xforms look-n-feel (this may change).

* Next I tried to upgrade my Xforms installation from
xforms-0.89-1.i386.rpm to xforms-1.0-release.src.rpm with the commands:

rpm -e lyx
(lyx depends on xforms)
rpm -e xforms
(you have to remove the old BEFORE you try and build the new)
rpm --rebuild xforms-1.0-release.src.rpm

Which takes slightly less than forever and ultimately fails with the
dreaded "fg: no job control" message. This error is due to certain rpm
macros that are not defined in a stock (with updates) RedHat-7.3
installation. The culprit, in this case, is the

%makeinstall_std

macro in the xfroms.spec file.

* To get around this problem, do this:

rpm -ivh xforms-1.0-release.src.rpm
cd /usr/src/redhat/SPECS/

Then edit the xforms.spec file to change the

%makeinstall_std

to

%makeinstall

Leave the rest of that line the same... save and quit the editor.
Now run this command (from within /usr/src/redhat/SPECS/):

rpm -bb xforms.spec

This will build the binary RPM package for xforms-1.0. It takes slightly
less than forever but completed successfully on my system. It creates
two files in /usr/src/redhat/RPMS/i386/

libforms-1.0-release.i386.rpm
and
libforms-devel-1.0-release.i386.rpm

Then:

cd /usr/src/redhat/RPMS/i386/
rpm -ivh libforms-1.0-release.i386.rpm
rpm -ivh libforms-devel-1.0-release.i386.rpm

These should install without any problems UNLESS you forgot to remove
the old xforms RPMS BEFORE you built the new xforms (I did and had to go
back and rebuild AFTER I did rpm -e xforms).

* NOW you can build the lyx-1.3.0-1.src.rpm with the command:

rpm --rebuild lyx-1.3.0-1.src.rpm

which will take slightly longer than forever. Then you can install with:

rpm -ivh /usr/src/redhat/RPMS/i386/lyx-1.3.0-1.i386.rpm

And finally you can enjoy the latest version of LyX on your RedHat-7.3 box.

It also seems to work fine on RedHat-8.0 (fully updated) using the same method as above.

Hope some can find this useful.

-David Utidjian-
Physics Lab Coordinator
Ramapo College of New Jersey
[EMAIL PROTECTED]


Reply via email to