Jun 16, 2013, 6:59 PM
Post #1 of 1
I have a program that needs Tk.pm.
I run perl under Ubuntu 12.04
After configuring the Makefile 'make' gives the following error:
cd pTk && make DEFINE=""
make: Entering directory `/home/rein/Downloads/Tk-804.027/pTk'
cc -c -I.. -I. -Ibitmaps -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -fPIC "-I/usr/lib/perl/5.14/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib_f.c
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for ‘XKeycodeToKeysym’
/usr/include/X11/Xlib.h:1695:15: note: previous declaration of ‘XKeycodeToKeysym’ was here
make: *** [Xlib_f.o] Error 1
make: Leaving directory `/home/rein/Downloads/Tk-804.027/pTk'
make: *** [pTk/libpTk.a] Error 2
Since I am a total beginner as far as perl is concerned I am at a loss how to solve this problem.
Can anyone help me out?