Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tktray package - System Tray Icon Support for Tk on X11

2 views
Skip to first unread message

Rob

unread,
Nov 7, 2006, 6:01:25 AM11/7/06
to

Has anyone used the tktray package written by Anton Kovalenko?

I've tried to compile it to create the dynamic link libraries (*.so), but I
get the following error in running the make command:

[rob@gandalf tktray1.1]$ make
gcc -pipe -DPACKAGE_NAME=\"tktray\" -DPACKAGE_TARNAME=\"tktray\"
-DPACKAGE_VERSION=\"1.1\" -DPACKAGE_STRING=\"tktray\ 1.1\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1
-DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -I"/usr/include"
-I"/usr/include/tk8.4.11/generic" -I"/usr/include/tk8.4.11/unix"
-I/usr/X11R6/include -O2 -fomit-frame-pointer -Wall -Wno-implicit-int
-fPIC -c `echo tktray.c` -o tktray.o
In file included from /usr/include/tk8.4.11/generic/tkPort.h:34,
from /usr/include/tk8.4.11/generic/tkInt.h:27,
from tktray.c:3:
/usr/include/tk8.4.11/generic/../unix/tkUnixPort.h:224:20: error: tclInt.h:
No such file or directory
tktray.c: In function 'TrayIconObjectCmd':
tktray.c:255: warning: pointer targets in passing argument 3 of
'tclStubsPtr->tcl_GetLongFromObj' differ in signedness
make: *** [tktray.o] Error 1

I'm assuming here that I need to run ./configure, make under my own user
and then make install under root - is this correct? Where it says above
about tclInt.h not existing I think it *does* exist but not in the tk
library (i.e. in the tcl one), but I don't really understand this whole
makefile thing :( Is this a mistake and should the reference be to the
tkInt.h library?

Can someone please help me here or suggest an alternative approach.

TIA

Rob.

0 new messages