I'm trying to install Tk from CPAN in slackware-current x86_64 for perl v5.12.3 and get the following error message
In file included from Xlib_f.c:8:0:
Xlib.h:22:15: error: conflicting types for 'XKeycodeToKeysym'
/usr/include/X11/Xlib.h:1694:15: note: previous declaration of 'XKeycodeToKeysym' was here
make: *** [Xlib_f.o] Error 1
make: Leaving directory `/home/me/.cpan/build/Tk-804.029-L6rjQp/pTk'
make: *** [pTk/libpTk.a] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
SREZIC/Tk-804.029.tar.gz : make NO
I tried falling back to the perl package from 13.1, but got the same error.
Looking around, it seems like this is a conflict with X. http://bugs.gentoo.org/show_bug.cgi?id=345987
Anyone have any idea how I can resolve this?
BTW, this is my first post here. Every other time I've visited someone has already solved my problem for me