I need a caps/num lock indicator in GnomeSlackbuild 2.30.2 - Slackware64 13.1, since my new keyboard
has no leds.
I tried to install the GNOME LockKeys Applet, but it does not compile
(see error below).
I tried the 1.0 version from softpedia.com and a 1.083 from ubuntu
sources, without success.
I also tried to convert and install the x64 ubuntu compiled pkg, but
the applet does not load (gnome encountered a problem...)
Any suggestions? Advices? Alternatives?
Regards,
Mario
I run without errors
Code:
./configure --with-gnu-ld --prefix=/usr --libdir=/usr/lib64
then
Code:
lock-keys-applet-1.0$ make
make all-recursive
make[1]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0'
Making all in docs
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
Making all in C
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/C'
for file in lock-keys-applet-C.omf; do \
scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/C/
lock-keys-applet.xml ./$file $file.out; \
done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/C'
Making all in de
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/de'
for file in lock-keys-applet-de.omf; do \
scrollkeeper-preinstall /usr/share/gnome/help/lock-keys-applet/de/
lock-keys-applet.xml ./$file $file.out; \
done
touch omf_timestamp
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs/de'
make[3]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/docs'
Making all in po
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/po'
Making all in src
make[2]: Entering directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -DORBIT2=1 -
pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/
include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/
libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/
libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/
include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/
include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/
pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/
include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/
usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/
panel-2.0 -DGNOMELOCALEDIR=\""/usr/share/locale"\" -
DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -
DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DDATADIR=\""/usr/
share/"\" -DPREFIX=\""/usr/"\" -DLIBDIR=\""/usr/lib64/"\" -DSYSCONFDIR=
\""/usr/etc/"\" -g -O2 -MT lock-keys-applet.o -MD -MP -MF ".deps/
lock-keys-applet.Tpo" \
-c -o lock-keys-applet.o `test -f 'lock-keys-applet.c' || echo
'./'`lock-keys-applet.c; \
then mv -f ".deps/lock-keys-applet.Tpo" ".deps/lock-keys-applet.Po";
\
else rm -f ".deps/lock-keys-applet.Tpo"; exit 1; \
fi
lock-keys-applet.c:65: error: expected specifier-qualifier-list before
'GtkTooltips'
lock-keys-applet.c: In function 'about_cb':
lock-keys-applet.c:225: warning: cast to pointer from integer of
different size
lock-keys-applet.c: In function 'settings_cb':
lock-keys-applet.c:377: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:381: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:385: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c: In function 'ledstates_changed':
lock-keys-applet.c:500: error: 'LedApplet' has no member named
'tooltips'
lock-keys-applet.c: In function 'led_applet_factory':
lock-keys-applet.c:591: error: 'LedApplet' has no member named
'tooltips'
lock-keys-applet.c:653: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:656: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
lock-keys-applet.c:659: warning: passing argument 3 of
'g_signal_connect_data' makes pointer from integer without a cast
/usr/include/glib-2.0/gobject/gsignal.h:350: note: expected
'GCallback' but argument is of type 'int'
make[2]: *** [lock-keys-applet.o] Error 1
make[2]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/home/mario/Desktop/keys/lock-keys-
applet-1.0'
make: *** [all] Error 2