|
[text/plain 1.7k]
I built Tk via the strawberry perl distribution today. I also had the
"missing file". The file was not missing, but rather there appears to
be a relative path in Xlib.h at line 1206
#include "../pTk/tkIntXlibDecls.h"
but xlib.h is at C:\Tk-804.027\pTk\mTk\xlib\X11
and there is not pTk dir up one directory.
if you create a pTk dir at C:\Tk-804.027\pTk\mTk\xlib\pTk
and put tkIntXlibDecls.h and lang.h there the build will complete just
fine.
Here is the GCC line
gcc -c -I.. -I../pTk/mTk/xlib -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSV
CRT_READFIX -s -O2 -DVERSION=\"804.027\"
-DXS_VERSION=\"804.027\" "-IC:\bootstrap-perl\perl\lib\CORE" -Wall
-Wno-implicit-
int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib.c
In file included from ../pTk/tkWinPort.h:19,
from ../pTk/tkPort.h:28,
from Xlib.xs:7:
../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such
file or directory
Xlib.xs:13: error: syntax error before '*' token
Xlib.xs:13: warning: data definition has no type or storage class
Xlib.c: In function `boot_Tk__Xlib':
Xlib.c:1028: warning: unknown conversion type character `_' in format
Xlib.c:1028: warning: too many arguments for format
Xlib.xs:378: error: `TkintxlibdeclsVtab' undeclared (first use in this
function)
Xlib.xs:378: error: (Each undeclared identifier is reported only once
Xlib.xs:378: error: for each function it appears in.)
Xlib.xs:378: error: syntax error before ')' token
Xlib.xs:378: error: request for member `tabSize' in something not a
structure or union
dmake: Error code 129, while making 'Xlib.o'
dmake: Error code 255, while making 'subdirs'
I can provide you as much context as you like, including the entire
build output if that will help.
Dean
|