PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : xfce4-xmms-plugin kompilieren



ProfBunny
15.09.06, 09:51
hi leute,

das ist ein plugin für das xfce4-panel. leider ist es nicht im debian tree. also versuche ich es zu kompilieren. was mir nicht gelingen will.
alle möglichen devel pakete sind installiert.
configure läuft mit einem kleinen trick durch

ln -s libxfce4panel-1.0.pc xfce4-panel-1.0.pc


make
make all-recursive
make[1]: Entering directory `/home/profbunny/source/xfce4-xmms-plugin-0.3.1'
Making all in panel-plugin
make[2]: Entering directory `/home/profbunny/source/xfce4-xmms-plugin-0.3.1/panel-plugin'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DXFCE_PANEL_THREADED=1 -DXFCE_PANEL_LOCK\(\)=gdk_threads_enter\(\) -DXFCE_PANEL_UNLOCK\(\)=gdk_threads_leave\(\) -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DPLAYER_COMMAND=\"xmms\" -DPLAYER_XMMS -DDATA_DIR=\"/usr/local/share/xfce4/xmms-plugin\" -g -O2 -MT libxmms_plugin_la-xmms_plugin.lo -MD -MP -MF ".deps/libxmms_plugin_la-xmms_plugin.Tpo" -c -o libxmms_plugin_la-xmms_plugin.lo `test -f 'xmms_plugin.c' || echo './'`xmms_plugin.c; \
then mv -f ".deps/libxmms_plugin_la-xmms_plugin.Tpo" ".deps/libxmms_plugin_la-xmms_plugin.Plo"; else rm -f ".deps/libxmms_plugin_la-xmms_plugin.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DXFCE_PANEL_THREADED=1 "-DXFCE_PANEL_LOCK()=gdk_threads_enter()" "-DXFCE_PANEL_UNLOCK()=gdk_threads_leave()" -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DPLAYER_COMMAND=\"xmms\" -DPLAYER_XMMS -DDATA_DIR=\"/usr/local/share/xfce4/xmms-plugin\" -g -O2 -MT libxmms_plugin_la-xmms_plugin.lo -MD -MP -MF .deps/libxmms_plugin_la-xmms_plugin.Tpo -c xmms_plugin.c -fPIC -DPIC -o .libs/libxmms_plugin_la-xmms_plugin.o
In file included from xmms_plugin.c:39:
/usr/include/xfce4/libxfce4util/i18n.h:24:2: error: #error "Only <libxfce4util/libxfce4util.h> can be included directly, this file may disappear or change contents"
xmms_plugin.c:41:27: error: panel/plugins.h: No such file or directory
xmms_plugin.c:42:24: error: panel/xfce.h: No such file or directory
xmms_plugin.c: In function 'play':
xmms_plugin.c:119: error: 'pid_t' undeclared (first use in this function)
xmms_plugin.c:119: error: (Each undeclared identifier is reported only once
xmms_plugin.c:119: error: for each function it appears in.)
xmms_plugin.c:119: error: expected ';' before 'pid'
xmms_plugin.c: At top level:
xmms_plugin.c:326: error: expected ')' before '*' token
xmms_plugin.c:457: error: expected ')' before '*' token
xmms_plugin.c:493: error: expected ')' before '*' token
xmms_plugin.c:641: error: expected ')' before '*' token
xmms_plugin.c:696: error: expected ')' before '*' token
xmms_plugin.c:704: error: expected ')' before '*' token
xmms_plugin.c:883: error: expected ')' before '*' token
xmms_plugin.c:939: error: expected ')' before '*' token
xmms_plugin.c:968: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
make[2]: *** [libxmms_plugin_la-xmms_plugin.lo] Fehler 1
make[2]: Leaving directory `/home/profbunny/source/xfce4-xmms-plugin-0.3.1/panel-plugin'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/profbunny/source/xfce4-xmms-plugin-0.3.1'
make: *** [all] Fehler 2

anscheinend sind das doch 2 verschiedene dateien
libxfce4panel-1.0.pc xfce4-panel-1.0.pc

jemannd eine ahnung wie ich das hingebogen bekomme?

thx