M
Miro
Greetings, gents.
I picked up Mastering Perl/Tk at my local library, and, anxious to try
it out on my home Slackware system, I downloaded Tk from CPAN, and
cd'ed into the directory.
perl Makefile.PL worked with no problem, however "make" gives me
this...
cc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -
D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -
march=i486 -mtune=i686 -DVERSION=\"804.027\" -DXS_VERSION=
\"804.027\" -fPIC "-I/usr/lib/perl5/5.12.3/i486-linux-thread-multi/
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:1694:15: note: previous declaration of
'XKeycodeToKeysym' was here
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/home/miro/Downloads/Tk-804.027/pTk'
make: *** [pTk/libpTk.a] Error 2
I'm not exactly a Perl (or manual compilation) guru, can anyone tell
me what I must do?
I picked up Mastering Perl/Tk at my local library, and, anxious to try
it out on my home Slackware system, I downloaded Tk from CPAN, and
cd'ed into the directory.
perl Makefile.PL worked with no problem, however "make" gives me
this...
cc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -
D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -
march=i486 -mtune=i686 -DVERSION=\"804.027\" -DXS_VERSION=
\"804.027\" -fPIC "-I/usr/lib/perl5/5.12.3/i486-linux-thread-multi/
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:1694:15: note: previous declaration of
'XKeycodeToKeysym' was here
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/home/miro/Downloads/Tk-804.027/pTk'
make: *** [pTk/libpTk.a] Error 2
I'm not exactly a Perl (or manual compilation) guru, can anyone tell
me what I must do?