Someone please take a look at this: I still can't built the GTk version of LyX using GTK2.8 The references the linker complaints about are clearly there:
3(NXDOMAIN):~/lyx-devel # sudo ldconfig -v | grep -i xft libXft.so.2 -> libXft.so.2.1.2 libXft.so.1 -> libXft.so.1.1 libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.1000.0 3(NXDOMAIN):~/lyx-devel # nm /usr/X11/lib/libXft.a | grep XftDrawDestroy 000004c0 T XftDrawDestroy I compile using: ./configure --with-frontend="gtk" --with-extra-lib=/usr/X11/lib I found a similar and quite recent problem on the Mozilla bugzilla. They also have a bugfix there. However, my programming knowledge is probably not sufficient to transfer this to LyX: https://bugzilla.mozilla.org/show_bug.cgi?id=316065 Thanks for any kind of help Martin > --- Ursprüngliche Nachricht --- > Von: "Martin Dietz" <[EMAIL PROTECTED]> > An: lyx-devel@lists.lyx.org > Betreff: GTK compile problem > Datum: Sun, 20 Nov 2005 22:43:54 +0100 (MET) > > Hi, > I experience some problems compiling the gtk version of 1.4cvs. I > successfully compiled the xforms and qt frontends. > I attach the log. It seems there is some problem with the xft fonts. I > tried > installing the latex-xftfonts and several other font packages wihout > success. > I run Opensuse 10.0. I also attach the output of ./configure. > Any ideas? > > Thanks > Martin > > > g++ -fno-exceptions -g -O -o lyx-gtk main.o Bidi.o BufferView.o > BufferView_pimpl.o Bullet.o BranchList.o Chktex.o CutAndPaste.o DepTable.o > FloatList.o Floating.o FontIterator.o FuncStatus.o InsetList.o LColor.o > LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o ParagraphParameters.o > PrinterParams.o Spacing.o Thesaurus.o ToolbarBackend.o author.o boost.o > box.o buffer.o buffer_funcs.o bufferlist.o bufferparams.o > bufferview_funcs.o > changes.o chset.o converter.o counters.o coordcache.o cursor.o > cursor_slice.o debug.o dimension.o dociterator.o encoding.o errorlist.o > exporter.o gettext.o factory.o format.o funcrequest.o graph.o importer.o > intl.o insetiterator.o kbmap.o kbsequence.o language.o lastfiles.o > lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxfont.o lyxfind.o lyxfunc.o > lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxrc.o > lyxrow.o lyxrow_funcs.o lyxserver.o lyxsocket.o lyxtextclass.o > lyxtextclasslist.o lyxvc.o messages.o metricsinfo.o mover.o output.o > outputparams.o output_docbook.o output_latex.o output_linuxdoc.o > output_plaintext.o paragraph.o paragraph_funcs.o paragraph_pimpl.o > pariterator.o ispell.o SpellBase.o rowpainter.o sgml.o tabular.o > tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o trans.o > trans_mgr.o undo.o vc-backend.o version.o vspace.o > mathed/.libs/libmathed.a > insets/.libs/libinsets.a frontends/.libs/libfrontends.a > frontends/gtk/.libs/libgtk.a -L/usr/X11R6/lib -L/opt/gnome/lib > /opt/gnome/lib/libglademm-2.4.so /opt/gnome/lib/libgtkmm-2.4.so > /opt/gnome/lib/libglade-2.0.so /opt/gnome/lib/libgdkmm-2.4.so > /opt/gnome/lib/libatkmm-1.6.so /opt/gnome/lib/libpangomm-1.4.so > /opt/gnome/lib/libglibmm-2.4.so /opt/gnome/lib/libsigc-2.0.so > /opt/gnome/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so > /opt/gnome/lib/libgdk-x11-2.0.so /opt/gnome/lib/libatk-1.0.so > /opt/gnome/lib/libgdk_pixbuf-2.0.so /opt/gnome/lib/libpangocairo-1.0.so > /opt/gnome/lib/libpangoft2-1.0.so /opt/gnome/lib/libpango-1.0.so > /usr/lib/libcairo.so /opt/gnome/lib/libgobject-2.0.so > /opt/gnome/lib/libgmodule-2.0.so -ldl /opt/gnome/lib/libglib-2.0.so > /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so > -lXrender -lXext -lpng12 /usr/lib/libglitz.so -lflimage > /usr/lib/libjpeg.so > -lforms -lXpm frontends/controllers/.libs/libcontrollers.a > graphics/.libs/libgraphics.a support/.libs/libsupport.a > ../boost/libs/regex/src/.libs/libboost_regex.a > ../boost/libs/signals/src/.libs/libboost_signals.a > ../boost/libs/filesystem/src/.libs/libboost_filesystem.a > /usr/lib/libstdc++.so -lgcc_s -lSM -lICE -lc -lm -lX11 -lz > frontends/gtk/.libs/libgtk.a(xftFontLoader.o): In function > `xftFontLoader::unload()': > /root/lyx-devel/src/frontends/gtk/xftFontLoader.C:78: undefined reference > to > `XftFontClose' > frontends/gtk/.libs/libgtk.a(xftFontLoader.o): In function > `xftFontLoader::doLoad(LyXFont::FONT_FAMILY, LyXFont::FONT_SERIES, > LyXFont::FONT_SHAPE, LyXFont::FONT_SIZE)': > /root/lyx-devel/src/frontends/gtk/xftFontLoader.C:184: undefined reference > to `XftFontMatch' > /root/lyx-devel/src/frontends/gtk/xftFontLoader.C:185: undefined reference > to `XftFontOpenPattern' > frontends/gtk/.libs/libgtk.a(xftFontLoader.o): In function > `xftFontLoader::available(LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontLoader.C:211: undefined reference > to `XftFontMatch' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o): In function > `font_metrics::ascent(wchar_t, LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:118: undefined > reference > to `XftTextExtents32' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o): In function > `font_metrics::descent(wchar_t, LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:136: undefined > reference > to `XftTextExtents32' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o): In function > `font_metrics::lbearing(wchar_t, LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:154: undefined > reference > to `XftTextExtents32' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o): In function > `font_metrics::rbearing(wchar_t, LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:166: undefined > reference > to `XftTextExtents32' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o): In function > `font_metrics::width(wchar_t const*, unsigned int, LyXFont const&)': > /root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:192: undefined > reference > to > `XftTextExtents32' > frontends/gtk/.libs/libgtk.a(xftFontMetrics.o):/root/lyx-devel/src/frontends/gtk/xftFontMetrics.C:205: > more undefined references to `XftTextExtents32' follow > frontends/gtk/.libs/libgtk.a(GWorkArea.o): In function > `lyx::frontend::ColorHandler::getXftColor(LColor_color)': > /root/lyx-devel/src/frontends/gtk/GWorkArea.C:109: undefined reference to > `XftColorAllocName' > frontends/gtk/.libs/libgtk.a(GWorkArea.o): In function > `lyx::frontend::GWorkArea::onConfigure(_GdkEventConfigure*)': > /root/lyx-devel/src/frontends/gtk/GWorkArea.C:317: undefined reference to > `XftDrawDestroy' > /root/lyx-devel/src/frontends/gtk/GWorkArea.C:326: undefined reference to > `XftDrawCreate' > frontends/gtk/.libs/libgtk.a(GPainter.o): In function > `lyx::frontend::GPainter::text(int, int, wchar_t const*, int, LyXFont > const&)': > /root/lyx-devel/src/frontends/gtk/GPainter.C:230: undefined reference to > `XftDrawString32' > /root/lyx-devel/src/frontends/gtk/GPainter.C:241: undefined reference to > `XftDrawString32' > /root/lyx-devel/src/frontends/gtk/GPainter.C:245: undefined reference to > `XftDrawString32' > collect2: ld returned 1 exit status > > > > > Configuration > Host type: i686-pc-linux-gnu > Special build flags: compression assertions pch > concept-checks > stdlib-debug warnings jpeg-image-loader use-ispell > C Compiler: gcc > C Compiler LyX flags: > C Compiler flags: -Wextra -Wall -I/usr/X11R6/include -g > -O > C++ Compiler: g++ (4.0.2) > C++ Compiler LyX flags: -fno-exceptions > C++ Compiler flags: -Wextra -Wall -I/usr/X11R6/include -g > -O > Linker flags: > Linker user flags: > XForms Frontend: > libXpm version: 4.11 > libforms version: 1.0.0 > GTK Frontend: > libgtkmm version: 2.8.0 > libglademm version: 2.6.1 > Packaging: posix > LyX binary dir: /usr/local/bin > LyX files dir: /usr/local/share/lyx > > Configuration of LyX was successful. > Type 'make' to compile the program, > and then 'make install' to install it. -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie