Hi!

I am trying to build LyX from source so that I can make some contributions.

Unfortunately, I haven't been able to build it yet.

I am trying to build it on Mac OS 10.2. I installed xforms 1.0-4 via Fink. I checked out the lyx-1_3_4 branch, run configure and make. lyx-1_3_4 appears to be the latest tag (on README).
$ ./autogen.sh
$ ./configure --with-extra-lib=/sw/lib --with-extra-inc=/sw/include/
$ make


Make stops at the following:

/bin/sh ../libtool --mode=link g++ -O -L/sw/lib -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 -lintl -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 -L/sw/lib mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lflimage -lforms -lXpm graphics/.libs/libgraphics.a support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a ../boost/libs/signals/src/.libs/libboostsignals.a -lintl -liconv -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11
ld: multiple definitions of symbol _ZneRK6BulletS1_.eh
Bullet.o definition of absolute _ZneRK6BulletS1_.eh (value 0x0)
converter.o definition of _ZneRK6BulletS1_.eh in section (__TEXT,__eh_frame)
ld: multiple definitions of symbol operator!=(Bullet const&, Bullet const&)
Bullet.o definition of operator!=(Bullet const&, Bullet const&) in section (__TEXT,__text)
converter.o definition of operator!=(Bullet const&, Bullet const&) in section (__TEXT,__text)
ld: multiple definitions of symbol _ZN11kb_sequenceC1EP9kb_keymapS1_.eh
kbmap.o definition of absolute _ZN11kb_sequenceC1EP9kb_keymapS1_.eh (value 0x0)
kbsequence.o definition of absolute _ZN11kb_sequenceC1EP9kb_keymapS1_.eh (value 0x0)
ld: multiple definitions of symbol _ZN11kb_sequenceC2EP9kb_keymapS1_.eh
kbmap.o definition of absolute _ZN11kb_sequenceC2EP9kb_keymapS1_.eh (value 0x0)
kbsequence.o definition of absolute _ZN11kb_sequenceC2EP9kb_keymapS1_.eh (value 0x0)
ld: multiple definitions of symbol _ZN11kb_sequenceC4EP9kb_keymapS1_.eh
kbmap.o definition of absolute _ZN11kb_sequenceC4EP9kb_keymapS1_.eh (value 0x0)
kbsequence.o definition of absolute _ZN11kb_sequenceC4EP9kb_keymapS1_.eh (value 0x0)
ld: multiple definitions of symbol _ZNK11kb_sequence7deletedEv.eh
kbmap.o definition of absolute _ZNK11kb_sequence7deletedEv.eh (value 0x0)
kbsequence.o definition of absolute _ZNK11kb_sequence7deletedEv.eh (value 0x0)
ld: multiple definitions of symbol kb_sequence::kb_sequence(kb_keymap*, kb_keymap*)
kbmap.o definition of kb_sequence::kb_sequence(kb_keymap*, kb_keymap*) in section (__TEXT,__text)
kbsequence.o definition of kb_sequence::kb_sequence(kb_keymap*, kb_keymap*) in section (__TEXT,__text)
ld: multiple definitions of symbol kb_sequence::kb_sequence(kb_keymap*, kb_keymap*)
kbmap.o definition of kb_sequence::kb_sequence(kb_keymap*, kb_keymap*) in section (__TEXT,__text)
kbsequence.o definition of kb_sequence::kb_sequence(kb_keymap*, kb_keymap*) in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN11kb_sequenceC4EP9kb_keymapS1_
kbmap.o definition of __ZN11kb_sequenceC4EP9kb_keymapS1_ in section (__TEXT,__text)
kbsequence.o definition of __ZN11kb_sequenceC4EP9kb_keymapS1_ in section (__TEXT,__text)
ld: multiple definitions of symbol kb_sequence::deleted() const
kbmap.o definition of kb_sequence::deleted() const in section (__TEXT,__text)
kbsequence.o definition of kb_sequence::deleted() const in section (__TEXT,__text)
ld: multiple definitions of symbol _ZoRRN5Debug4typeES0_.eh
debug.o definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
lastfiles.o definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
ld: multiple definitions of symbol operator|=(Debug::type&, Debug::type)
debug.o definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
lastfiles.o definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol pushpophelper::pushpophelper(LyXLex&, keyword_item*, int)
MenuBackend.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
lyxlex.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
ld: multiple definitions of symbol pushpophelper::pushpophelper(LyXLex&, keyword_item*, int)
MenuBackend.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
lyxlex.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN13pushpophelperC4ER6LyXLexP12keyword_itemi
MenuBackend.o definition of __ZN13pushpophelperC4ER6LyXLexP12keyword_itemi in section (__TEXT,__text)
lyxlex.o definition of __ZN13pushpophelperC4ER6LyXLexP12keyword_itemi in section (__TEXT,__text)
ld: multiple definitions of symbol pushpophelper::~pushpophelper()
MenuBackend.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
lyxlex.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
ld: multiple definitions of symbol pushpophelper::~pushpophelper()
MenuBackend.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
lyxlex.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
ld: multiple definitions of symbol __ZN13pushpophelperD4Ev
MenuBackend.o definition of __ZN13pushpophelperD4Ev in section (__TEXT,__text)
lyxlex.o definition of __ZN13pushpophelperD4Ev in section (__TEXT,__text)
lyxtextclass.o definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
lyxtextclass.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
lyxtextclass.o definition of pushpophelper::pushpophelper(LyXLex&, keyword_item*, int) in section (__TEXT,__text)
lyxtextclass.o definition of __ZN13pushpophelperC4ER6LyXLexP12keyword_itemi in section (__TEXT,__text)
lyxtextclass.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
lyxtextclass.o definition of pushpophelper::~pushpophelper() in section (__TEXT,__text)
lyxtextclass.o definition of __ZN13pushpophelperD4Ev in section (__TEXT,__text)
lyxtextclass.o definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
tabular.o definition of _ZneRK6BulletS1_.eh in section (__TEXT,__eh_frame)
tabular.o definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
ld: multiple definitions of symbol operator==(Spacing const&, Spacing const&)
converter.o definition of operator==(Spacing const&, Spacing const&) in section (__TEXT,__text)
tabular.o definition of operator==(Spacing const&, Spacing const&) in section (__TEXT,__text)
tabular.o definition of operator!=(Bullet const&, Bullet const&) in section (__TEXT,__text)
ld: multiple definitions of symbol operator!=(Spacing const&, Spacing const&)
converter.o definition of operator!=(Spacing const&, Spacing const&) in section (__TEXT,__text)
tabular.o definition of operator!=(Spacing const&, Spacing const&) in section (__TEXT,__text)
tabular.o definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
insets/.libs/libinsets.a(inset.o) definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
insets/.libs/libinsets.a(inset.o) definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol _ZN11DebugStream5debugEN5Debug4typeE.eh
tabular.o definition of absolute _ZN11DebugStream5debugEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZN11DebugStream5debugEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol _ZN11DebugStream5levelEN5Debug4typeE.eh
tabular.o definition of absolute _ZN11DebugStream5levelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZN11DebugStream5levelEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol _ZN11DebugStream8addLevelEN5Debug4typeE.eh
tabular.o definition of absolute _ZN11DebugStream8addLevelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZN11DebugStream8addLevelEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol _ZN11DebugStream8delLevelEN5Debug4typeE.eh
tabular.o definition of absolute _ZN11DebugStream8delLevelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZN11DebugStream8delLevelEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol _ZN11DebugStreamixEN5Debug4typeE.eh
tabular.o definition of absolute _ZN11DebugStreamixEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZN11DebugStreamixEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol _ZNK11DebugStream5levelEv.eh
tabular.o definition of absolute _ZNK11DebugStream5levelEv.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZNK11DebugStream5levelEv.eh (value 0x0)
ld: multiple definitions of symbol _ZNK11DebugStream9debuggingEN5Debug4typeE.eh
tabular.o definition of absolute _ZNK11DebugStream9debuggingEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(DebugStream.o) definition of absolute _ZNK11DebugStream9debuggingEN5Debug4typeE.eh (value 0x0)
ld: multiple definitions of symbol DebugStream::debug(Debug::type)
tabular.o definition of DebugStream::debug(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::debug(Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::level(Debug::type)
tabular.o definition of DebugStream::level(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::level(Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::addLevel(Debug::type)
tabular.o definition of DebugStream::addLevel(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::addLevel(Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::delLevel(Debug::type)
tabular.o definition of DebugStream::delLevel(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::delLevel(Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::operator[](Debug::type)
tabular.o definition of DebugStream::operator[](Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::operator[](Debug::type) in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::level() const
tabular.o definition of DebugStream::level() const in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::level() const in section (__TEXT,__text)
ld: multiple definitions of symbol DebugStream::debugging(Debug::type) const
tabular.o definition of DebugStream::debugging(Debug::type) const in section (__TEXT,__text)
support/.libs/libsupport.a(DebugStream.o) definition of DebugStream::debugging(Debug::type) const in section (__TEXT,__text)
ld: multiple definitions of symbol construction vtable for std::basic_ostream<char, std::char_traits<char> >-in-DebugStream
tabular.o definition of construction vtable for std::basic_ostream<char, std::char_traits<char> >-in-DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(DebugStream.o) definition of construction vtable for std::basic_ostream<char, std::char_traits<char> >-in-DebugStream in section (__DATA,__const)
ld: multiple definitions of symbol VTT for DebugStream
tabular.o definition of VTT for DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(DebugStream.o) definition of VTT for DebugStream in section (__DATA,__const)
ld: multiple definitions of symbol vtable for DebugStream
tabular.o definition of vtable for DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(DebugStream.o) definition of vtable for DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZN11DebugStream5debugEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZN11DebugStream5levelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZN11DebugStream8addLevelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZN11DebugStream8delLevelEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZN11DebugStreamixEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZNK11DebugStream5levelEv.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZNK11DebugStream9debuggingEN5Debug4typeE.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of absolute _ZoRRN5Debug4typeES0_.eh (value 0x0)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::debug(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::level(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::addLevel(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::delLevel(Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::operator[](Debug::type) in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::level() const in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of DebugStream::debugging(Debug::type) const in section (__TEXT,__text)
support/.libs/libsupport.a(forkedcontr.o) definition of construction vtable for std::basic_ostream<char, std::char_traits<char> >-in-DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(forkedcontr.o) definition of VTT for DebugStream in section (__DATA,__const)
ld: multiple definitions of symbol vtable for Forkedcall
support/.libs/libsupport.a(forkedcall.o) definition of vtable for Forkedcall in section (__DATA,__const)
support/.libs/libsupport.a(forkedcontr.o) definition of vtable for Forkedcall in section (__DATA,__const)
support/.libs/libsupport.a(forkedcontr.o) definition of vtable for DebugStream in section (__DATA,__const)
support/.libs/libsupport.a(forkedcontr.o) definition of operator|=(Debug::type&, Debug::type) in section (__TEXT,__text)
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/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



Any suggestions of how to build Lyx welcomed.

Bing-Chang Lai



Reply via email to