Summary: | kde-base/kdelibs-3.5.4{-r1,} fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Charlie Shepherd (RETIRED) <masterdriverz> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Charlie Shepherd (RETIRED)
2006-09-17 21:57:34 UTC
Do you (or did you) have lua installed? For some reason, kate picked it up, but it seems as though you don't have the libraries on your system. dev-lang/lua-5.0.2 installed See bug 120388. I think if you re-emerge kdelibs with the lua flag enabled, then try emerging this package you should be set. Unfortunately it didn't work :( But I did find a (surprising) fix. After grepping /usr/lib for the undefined references and finding /usr/lib/liblualib.so matched, I (hopefully) added it to the failing libtool command and hey presto it built! The command is now: /bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O2 -fomit-frame-pointer -pipe -fno-ident -fweb -frename-registers -ftracer -Wall -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -Wl,-O1 -Wl,-zdynsort -Wl,--sort-common -Wl,-z,now -o libkatepart.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib katesearch.lo katebuffer.lo katecmds.lo kateundo.lo katecursor.lo katedialogs.lo katedocument.lo katefactory.lo katehighlight.lo katesyntaxdocument.lo katetextline.lo kateview.lo kateconfig.lo kateviewhelpers.lo katecodecompletion.lo katedocumenthelpers.lo katecodefoldinghelpers.lo kateviewinternal.lo katebookmarks.lo kateprinter.lo katefont.lo katelinerange.lo katesupercursor.lo katearbitraryhighlight.lo katerenderer.lo kateattribute.lo kateautoindent.lo katefiletype.lo kateschema.lo katetemplatehandler.lo katejscript.lo katespell.lo kateindentscriptabstracts.lo kateluaindentscript.lo katedocument_skel.lo ../interfaces/libkatepartinterfaces.la ../../kdeprint/libkdeprint.la ../../kutils/libkutils.la ../../kjs/libkjs.la -llua -llualib /usr/lib/liblualib.so (basically with an added /usr/lib/liblualib.so on the end). I can hack up a patch, but I am confused as to why this works, shouldn't -llualib basically link /usr/lib/liblualib.so? Sorry for the noise, I can't reproduce this after re-emerging lua. |