Hi
I want to compile lyx-1.3.3 on my own with the xforms frontend on Panther.
I get following error messages when trying to compile and can't solve that:

/bin/sh ../libtool --mode=link g++  -O   -o lyx  BufferView.o BufferView_pimpl.o 
Bullet.o Chktex.o CutAndPaste.o DepTable.o FloatList.o Floating.o FuncStatus.o 
InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o 
paragraph_funcs.o ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o 
Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o 
bufferparams.o bufferview_funcs.o chset.o converter.o counters.o debug.o encoding.o 
exporter.o gettext.o factory.o funcrequest.o importer.o intl.o iterators.o kbmap.o 
kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o 
lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o 
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o 
lyxvc.o main.o paragraph.o paragraph_pimpl.o ispell.o pspell.o sgml.o tabular.o 
tabular-old.o tabular_funcs.o tex-accent.o tex-strings.o texrow.o text.o text2.o 
text3.o toc.o trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o 
mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la 
graphics/libgraphics.la support/libsupport.la ../boost/libs/regex/src/libboostregex.la 
../boost/libs/signals/src/libboostsignals.la ../intl/libintl.a -liconv    -lSM -lICE 
-lc -lm   -L/usr/X11R6/lib -lX11  
g++ -O -o lyx BufferView.o BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o 
DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o 
LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o ParagraphList.o 
ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o ToolbarDefaults.o boost.o 
boost-inst.o box.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o chset.o 
converter.o counters.o debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o 
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o 
lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o 
lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o 
lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o paragraph.o 
paragraph_pimpl.o ispell.o pspell.o sgml.o tabular.o tabular-old.o tabular_funcs.o 
tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o trans.o trans_mgr.o 
undo.o undo_funcs.o vc-backend.o version.o vspace.o  mathed/.libs/libmathed.a 
insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lflimage 
/usr/local/lib/libjpeg.a -lforms -lXpm graphics/.libs/libgraphics.a 
support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a 
../boost/libs/signals/src/.libs/libboostsignals.a ../intl/libintl.a -L/usr/lib -liconv 
-lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11
ld: warning table of contents of library: mathed/.libs/libmathed.a not sorted slower 
link editing will result (use the ranlib(1) -s option)
ld: multiple definitions of symbol MathGridInset::~MathGridInset [in-charge deleting]()
mathed/.libs/libmathed.a(math_ertinset.o) definition of MathGridInset::~MathGridInset 
[in-charge deleting]() in section (__TEXT,__text)
mathed/.libs/libmathed.a(math_parinset.o) definition of MathGridInset::~MathGridInset 
[in-charge deleting]() in section (__TEXT,__text)
ld: multiple definitions of symbol MathGridInset::~MathGridInset [in-charge]()
mathed/.libs/libmathed.a(math_ertinset.o) definition of MathGridInset::~MathGridInset 
[in-charge]() in section (__TEXT,__text)
mathed/.libs/libmathed.a(math_parinset.o) definition of MathGridInset::~MathGridInset 
[in-charge]() in section (__TEXT,__text)
ld: multiple definitions of symbol MathGridInset::~MathGridInset [not-in-charge]()
mathed/.libs/libmathed.a(math_ertinset.o) definition of MathGridInset::~MathGridInset 
[not-in-charge]() in section (__TEXT,__text)
mathed/.libs/libmathed.a(math_parinset.o) definition of MathGridInset::~MathGridInset 
[not-in-charge]() in section (__TEXT,__text)
ld: warning prebinding disabled because dependent library: 
/usr/X11R6/lib/libflimage.1.dylib is not prebound
ld: warning can't open dynamic library: libtiff.dylib (checking for undefined symbols 
may be affected) (No such file or directory, errno = 2)
ld: warning multiple definitions of symbol _locale_charset
../intl/libintl.a(localcharset.o) definition of _locale_charset in section 
(__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
make[3]: *** [lyx] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


I find somewhere in the archive of lyx-devel following solution but i don't know
how to apply that:

> MathGridInset:
> math_gridinset.h
>         ~MathGridInset();
> math_gridinset.C
> MathGridInset::~MathGridInset()
> {}


Does anybody know a solution?

Thanks

Markus

Reply via email to