trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-users] kaffeine-3.5.13 compilation error

From: "Timothy Pearson" <kb9vqf@...>
Date: Thu, 26 Jan 2012 21:40:34 -0600
> 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


Tim