Hi

As per your suggestion I tried building from the srpm, but failed at the point
shown below.
Please note that I also built and installed xforms-0.89-1 from the source rpm
available in the contrib directory at the lyx site.
How can I overcome the build error?

g++ -O2 -march=i686 -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o 
Chktex.o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o 
FontLoader.o LColor.o LaTeX.o LaTeXFeatures.o LaTeXLog.o LyXAction.o LyXSendto.o 
LyXView.o MenuBackend.o Painter.o PainterBase.o Sectioning.o Spacing.o TextCache.o 
Timeout.o ToolbarDefaults.o UpdateInset.o Variables.o WorkArea.o bmtable.o buffer.o 
bufferlist.o bufferparams.o bufferview_funcs.o chset.o combox.o converter.o counters.o 
credits.o credits_form.o debug.o encoding.o exporter.o filedlg.o font.o form1.o 
gettext.o importer.o intl.o kbmap.o kbsequence.o language.o lastfiles.o layout.o 
layout_forms.o log_form.o lyx.o lyx_cb.o lyx_gui.o lyx_gui_misc.o lyx_main.o lyx_sty.o 
lyxcursor.o lyxfont.o lyxfr0.o lyxfr1.o lyxfunc.o lyxlex.o lyxlex_pimpl.o lyxlookup.o 
lyxrc.o lyxrow.o lyxserver.o lyxvc.o main.o minibuffer.o paragraph.o print_form.o 
screen.o sp_form.o spellchecker.o tabular.o tabular-old.o tex-accent.o te!
x-strings.o texrow.o text.o text2.o tracer.o trans.o trans_mgr.o undo.o vc-backend.o 
vspace.o mathed/.libs/libmathed.a insets/.libs/libinsets.a 
graphics/.libs/libgraphics.a frontends/.libs/libfrontends.a 
../src/frontends/xforms/.libs/libxforms.a frontends/.libs/libfrontends.a 
frontends/support/.libs/libfrontendsupport.a support/.libs/libsupport.a 
../sigc++/.libs/libsigc.a -lforms -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11
mathed/.libs/libmathed.a(math_symbols.o): In function `pixmapFromBitmapData(char const 
*, int, int)':
math_symbols.o(.text+0x121f): undefined reference to `XpmCreateDataFromImage'
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/lyx-1.1.6fix4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/lyx-1.1.6fix4/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/RPM/BUILD/lyx-1.1.6fix4/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.97382 (%build)


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



Thanks,
Chitta

Reply via email to