trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

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

From: "E. Liddell" <ejlddll@...>
Date: Fri, 27 Jan 2012 17:25:38 -0500
On Fri, 27 Jan 2012 11:53:46 +0100
"roman" <lists@...> wrote:

> Hi,
> 
> On Fri, January 27, 2012 04:40, Timothy Pearson wrote:
> >> On Thu, 26 Jan 2012 23:13:54 +0100
> >> "roman" <lists@...> wrote:
> >>

> > 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

That fixed things for me too, after a little fun-and-games with working
out the proper paths for everything and finding the actual make command
buried in ~1000 lines of someone else's old shell script.  I still have a nasty 
suspicion that the resultant ebuilds might fail if used for some types of 
cross-compiling, but since it's all going to go away when the CMake
port is finished, I'm not going to lose sleep over it.
 
> 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, I just succeeded in installing kaffeine-3.5.13 to my Gentoo/Trinity
test VM with no errors (most optional functionality was switched off,
though, to reduce the size of the dependency downloads).  The ebuild is
a dreadful kludge, but it appears to work.  Would you like me to send
you a copy?