Hi, On Fri, January 27, 2012 04:40, Timothy Pearson wrote: >> On Thu, 26 Jan 2012 23:13:54 +0100 >> "roman" <lists@...> wrote: >> >>> >>> Hi everyone, >>> >>> i am currently trying to compile kaffeine-3.5.13 on Funtoo/Gentoo. >>> kdebase-startkde and the kaffeine-deps should already be installed >>> fine. >>> >>> Running >>> "autoconf && automake && configure --prefix=/usr/kde/3.5 && >>> PATH="/usr/kde/3.5/bin:$PATH" make" results in the following error. Can >>> someone with more in-depth knowledge of autotools/kaffeine help me fix >>> this? >>> >>> >>> configure.in:56: the top level >>> cd ../../../.. && /bin/sh ./config.status >>> kaffeine/src/player-parts/kaffeine-part/Makefile depfiles >>> config.status: creating >>> kaffeine/src/player-parts/kaffeine-part/Makefile >>> config.status: executing depfiles commands >>> make[5]: Leaving directory >>> `/tmp/applications/kaffeine/kaffeine/src/player-parts/kaffeine-part' >>> make[5]: Entering directory >>> `/tmp/applications/kaffeine/kaffeine/src/player-parts/kaffeine-part' if >>> /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. >>> -I../../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -include >>> tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi >>> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall >>> -W >>> -Wpointer-arith -O2 -g -O2 -Wformat-security -Wmissing-format-attribute >>> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common >>> -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL >>> -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kaffeinepart.lo -MD -MP -MF >>> ".deps/kaffeinepart.Tpo" \ >>> -c -o kaffeinepart.lo `test -f 'kaffeinepart.cpp' || echo >>> './'`kaffeinepart.cpp; \ >>> then mv -f ".deps/kaffeinepart.Tpo" ".deps/kaffeinepart.Plo"; \ >>> else rm -f ".deps/kaffeinepart.Tpo"; exit 1; \ >>> fi >>> ../../../../libtool: line 451: CDPATH: command not found >>> ../../../../libtool: line 1129: func_opt_split: command not found >>> libtool: Version mismatch error. This is libtool 2.2.6b >>> Debian-2.2.6b-2ubuntu1, but the >>> libtool: definition of this LT_INIT comes from an older release. >>> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b >>> Debian-2.2.6b-2ubuntu1 >>> libtool: and run autoconf again. >>> make[5]: *** [kaffeinepart.lo] Fehler 1 >>> make[5]: Leaving directory >>> `/tmp/applications/kaffeine/kaffeine/src/player-parts/kaffeine-part' >>> make[4]: *** [all-recursive] Fehler 1 >>> make[4]: Leaving directory >>> `/tmp/applications/kaffeine/kaffeine/src/player-parts' >>> make[3]: *** [all-recursive] Fehler 1 >>> make[3]: Leaving directory `/tmp/applications/kaffeine/kaffeine/src' >>> make[2]: *** [all-recursive] Fehler 1 >>> make[2]: Leaving directory `/tmp/applications/kaffeine/kaffeine' >>> make[1]: *** [all-recursive] Fehler 1 >>> make[1]: Leaving directory `/tmp/applications/kaffeine' >>> make: *** [all] Fehler 2 >> >> Well, the bottom part about the libtool version mismatch looks similar >> to >> what I got hit by while trying to write ebuilds for the parts of Trinity >> that >> still use autotools. This was back in November, so I'm probably >> forgetting >> bits, but I *think* it needed [e]autoreconf to be run to get past that >> particular error. Unfortunately, the files necessary to run autoreconf >> (specifically, configure.in) weren't in the Trinity-supplied packages >> I was trying to use, and the old versions I swiped from kde-sunset >> didn't >> work properly, possibly because they didn't know about TQT. I never >> did manage to get anything working. >> >> If anyone has some actual solution to the problem, I'd like to hear it >> too. > > From the TDE How to Build Wiki page at > http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild > >> Regenerate Autoconf/Automake files >> >> cd to the desired module to build, then run: >> cp -Rp <path to your system's libtool.m4 file> admin/libtool.m4.in >> cp -Rp <path to your system's ltmain.sh file> admin/ltmain.sh >> make -f admin/Makefile.common Thx for the reply, that gives me the following error. strowi@Sleipnir:~/tmp/applications/kaffeine> cp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in strowi@Sleipnir:~/tmp/applications/kaffeine> cp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh strowi@Sleipnir:~/tmp/applications/kaffeine> make -f admin/Makefile.common Useless use of /d modifier in transliteration operator at /usr/bin/automake-1.7 line 5985. *** automake (GNU automake) 1.7.9 found. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating Makefile.am *** Creating configure.files *** Creating configure.in *** Creating aclocal.m4 aclocal: macro `_LT_DECL_SED' required but not defined aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined make: *** [cvs] Fehler 1 On a hint using "WANT_AUTOMAKE=1.11 make -f admin/Makefile.common" seems to finish, but gives the following error during make: kxinewidget.cpp: In member function bool KXineWidget::getAutoplayPluginURLS(const QString&, QStringList&): kxinewidget.cpp:2641:66: error: invalid conversion from const char* const* to char** [-fpermissive] kxinewidget.cpp: At global scope: kxinewidget.cpp:3490:49: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] make[5]: *** [kxinewidget.lo] Fehler 1 make[5]: *** Warte auf noch nicht beendete Prozesse... mv -f .deps/xineconfig.Tpo .deps/xineconfig.Plo mv -f .deps/postfilter.Tpo .deps/postfilter.Plo mv -f .deps/xine_part.Tpo .deps/xine_part.Plo make[5]: Leaving directory `/home/strowi/tmp/applications/kaffeine/kaffeine/src/player-parts/xine-part' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/home/strowi/tmp/applications/kaffeine/kaffeine/src/player-parts' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/strowi/tmp/applications/kaffeine/kaffeine/src' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/strowi/tmp/applications/kaffeine/kaffeine' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/strowi/tmp/applications/kaffeine' make: *** [all] Fehler 2 Roman --