I have a program that needs Tk.pm.
I run perl under Ubuntu 12.04
After configuring the Makefile 'make' gives the following error:

root@reica3:/home/rein/Downloads/Tk-804.027# make
cd pTk && make DEFINE=""
make[1]: 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[1]: *** [Xlib_f.o] Error 1
make[1]: 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? 


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to