Hello,
  I am running RH8.0 and ran into a problem installing the tk module 
downloaded from CPAN. This is my first attempt at such a feat, so please 
help. I followed the directions to make the module but didnt get far.

followed this sequence
perl Makefile.PL
        seemed to work
make 
 started fine but got these errors:
cd pTk && make DEFINE=""
make[1]: Entering directory `/root/DOWNLOADS/tkperl/Tk800.024/pTk'
/usr/bin/perl mkVFunc -t x tk.h
/usr/bin/perl mkVFunc -t x tkInt.h
/usr/bin/perl mkVFunc -t x tix.h
/usr/bin/perl mkVFunc -t x tixInt.h
/usr/bin/perl mkVFunc -m x tix.h
/usr/bin/perl mkVFunc -m x tixImgXpm.h
/usr/bin/perl mkVFunc -t x tixImgXpm.h
/usr/bin/perl mkVFunc -m x tixInt.h
/usr/bin/perl mkVFunc -m x tk.h
/usr/bin/perl mkVFunc -m x tkInt.h
gcc -c  -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686   
-DVERSION=\"800.024\" -DXS_VERSION=\"800.024\" -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-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:4:
Xlib.h:4: parse error before '*' token
Xlib.h:5: parse error before '*' token
Xlib.h:6: parse error before '*' token
Xlib.h:7: parse error before '*' token
Xlib.h:8: parse error before '*' token
Xlib.h:9: parse error before "_ANSI_ARGS_"
Xlib.h:10: parse error before "_ANSI_ARGS_"
Xlib.h:11: parse error before "XInternAtom"
Xlib.h:12: parse error before "XCreateColormap"
Xlib.h:13: parse error before "XCreatePixmapCursor"
Xlib.h:14: parse error before "XCreateGlyphCursor"
Xlib.h:15: parse error before "XLoadFont"
Xlib.h:16: parse error before "XCreateGC"
Xlib.h:17: parse error before "XGContextFromGC"
Xlib.h:18: parse error before "XCreateBitmapFromData"
Xlib.h:19: parse error before "XCreateWindow"
Xlib.h:20: parse error before '*' token
Xlib.h:21: parse error before '*' token
Xlib.h:22: parse error before "XKeycodeToKeysym"
Xlib.h:23: parse error before "XStringToKeysym"
Xlib.h:24: parse error before "XVisualIDFromVisual"
Xlib.h:25: parse error before "XRootWindow"
Xlib.h:26: parse error before '*' token
Xlib.h:27: parse error before "XDefaultColormap"
Xlib.h:28: parse error before "XSetErrorHandler"
Xlib.h:29: parse error before "_ANSI_ARGS_"
Xlib.h:30: parse error before "_ANSI_ARGS_"
Xlib.h:31: parse error before "_ANSI_ARGS_"
Xlib.h:32: parse error before "_ANSI_ARGS_"
Xlib.h:33: parse error before "_ANSI_ARGS_"
Xlib.h:34: parse error before "_ANSI_ARGS_"
.... etc
In file included from Xlib_f.h:7,
                 from Xlib_f.c:5:
Xlib.t:7: parse error before "XClassHint"
Xlib.t:7: warning: no semicolon at end of struct or union
Xlib.t:12: parse error before "_ANSI_ARGS_"
Xlib.t:17: parse error before "_ANSI_ARGS_"
Xlib.t:23: parse error before "_ANSI_ARGS_"
Xlib.t:28: parse error before "_ANSI_ARGS_"
Xlib.t:32: parse error before "_ANSI_ARGS_"
Xlib.t:36: parse error before "_ANSI_ARGS_"
Xlib.t:40: parse error before "_ANSI_ARGS_"
Xlib.t:45: parse error before "_ANSI_ARGS_"
Xlib.t:45: parse error before '*' token
Xlib.t:45: `_ANSI_ARGS_' declared as function returning a function
Xlib.t:51: parse error before "_ANSI_ARGS_"
Xlib.t:56: parse error before "_ANSI_ARGS_"
Xlib.t:61: parse error before "_ANSI_ARGS_"
Xlib.t:66: parse error before "_ANSI_ARGS_"
Xlib.t:71: parse error before "_ANSI_ARGS_"
....etc
Xlib.t:652: warning: (near initialization for `XlibVtable')
Xlib_f.c:13: warning: data definition has no type or storage class
Xlib_f.c:14: parse error before '*' token
Xlib_f.c:14: warning: data definition has no type or storage class
Xlib_f.c:15: parse error before '*' token
Xlib_f.c:15: warning: return type defaults to `int'
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/root/DOWNLOADS/tkperl/Tk800.024/pTk'
make: *** [pTk/libpTk.a] Error 2


(elipses added by me)

anyone?

Jonathan Gerber

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to