trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

Re: [trinity-devel] kaffeine-mozilla

From: Darrell Anderson <humanreadable@...>
Date: Thu, 26 Apr 2012 11:07:58 -0700 (PDT)
> Anybody able to build this plugin?
> 
> Seems some files are missing, notably the configure script.
> 
> I can build the package after copying a couple of files from
> the original sources, but the package does not build
> correctly:
> 
> usr/lib/mozilla/plugins/kaffeineplugin.so
> 
> gets built as
> 
> usr/lib/mozilla/plugins/kaffeineplugin
> 
> I built it on TDE 3.5.13. It is a bit tricky.
> 
> Basically, you must build the "./configure" script yourself by
> copying 2 autotools files, then invoking "autoreconf".
> 
> Something like:
> 
> cp -f "/usr/share/aclocal/libtool.m4" .
> cp -f "/usr/share/libtool/config/ltmain.sh" .
> autoreconf
> ./configure

Thank you. I now get past the initial configuration but the build fails:

===========================================================
Making all in src
make[2]: Entering directory `/dev/shm/kaffeine-mozilla/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -O2 -march=i486 -mtune=i686   -O2 -march=i486 -mtune=i686 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c -o plugin.lo plugin.c
../libtool: line 827: X--tag=CC: command not found
../libtool: line 860: libtool: ignoring unknown tag : command not found
../libtool: line 827: X--mode=compile: command not found
../libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1138: Xgcc: command not found
../libtool: line 1138: X-DHAVE_CONFIG_H: command not found
../libtool: line 1138: X-I.: command not found
../libtool: line 1138: X-I..: command not found
../libtool: line 1138: X-O2: command not found
../libtool: line 1138: X-march=i486: command not found
../libtool: line 1138: X-mtune=i686: command not found
../libtool: line 1138: X-O2: command not found
../libtool: line 1138: X-march=i486: command not found
../libtool: line 1138: X-mtune=i686: command not found
../libtool: line 1138: X-MT: command not found
../libtool: line 1138: Xplugin.lo: command not found
../libtool: line 1138: X-MD: command not found
../libtool: line 1138: X-MP: command not found
../libtool: line 1138: X-MF: command not found
../libtool: line 1138: X.deps/plugin.Tpo: No such file or directory
../libtool: line 1138: X-c: command not found
../libtool: line 1191: Xplugin.lo: command not found
../libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [plugin.lo] Error 1
make[2]: Leaving directory `/dev/shm/kaffeine-mozilla/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/kaffeine-mozilla'
make: *** [all] Error 2
===========================================================

I can build the package on the same system (same libtools) with the original upstream sources using my KDE3 setup.

Darrell