Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 13923
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: memo.garciasir [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.027_500
Fixed in: (no value)



Subject: install reports a missing file
Download (untitled) / with headers
text/plain 685b
Tk-804.027 This is perl, v5.8.6 built for cygwin-thread-multi-64int CYGWIN_NT-5.0 PC-GGARCIA 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown Cygwin Using perl -MCPAN -e 'install Tk' or downloading Tk-804.027.tar.gz and doing a manual install I get the message: 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 when compiling Xlib.c Result of find in the root install directory is: Tk-804.027 > find . -name tkIntXlibDecls.h ./blib/arch/Tk/pTk/tkIntXlibDecls.h ./pTk/mTk/generic/tkIntXlibDecls.h ./pTk/tkIntXlibDecls.h
On Fri Jul 29 16:17:59 2005, guest wrote: Show quoted text
> Tk-804.027 > This is perl, v5.8.6 built for cygwin-thread-multi-64int > CYGWIN_NT-5.0 PC-GGARCIA 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 > unknown unknown Cygwin > Using perl -MCPAN -e 'install Tk' or downloading Tk-804.027.tar.gz and > doing a manual install I get the message: > 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 > when compiling Xlib.c > Result of find in the root install directory is: > Tk-804.027 > find . -name tkIntXlibDecls.h > ./blib/arch/Tk/pTk/tkIntXlibDecls.h > ./pTk/mTk/generic/tkIntXlibDecls.h > ./pTk/tkIntXlibDecls.h >
So if one was in Xlib then ../pTk/tkIntXlibDecls.h should work. It found tkPort.h which is in same place! But CygWin port has been much hacked about so I suspect that the -I flags that get passed are a mess. Can you give me more context of the fail i.e. copy/paste the Make output back to the command that is compiling the file?
From: dean.brockhausen [...] gmail.com
Download (untitled) / with headers
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
From: todd.e.rinaldo [...] jpmorgan.com
Download (untitled) / with headers
text/plain 375b
Hi, I too have experienced this problem on a recent download of strawberry perl. The fix of copying the headers into the uncreated directory worked. Is the plan to move the relevant header files into these directories to fix the problem long term? As I see it: 1. It could be a problem with the Makefile.PL or 2. The headers are not being provided in the correct place.
From: SREZIC [...] cpan.org
Download (untitled) / with headers
text/plain 607b
On Fri Jun 29 18:39:57 2007, todd_rinaldo wrote: Show quoted text
> Hi, I too have experienced this problem on a recent download of > strawberry perl. The fix of copying the headers into the uncreated > directory worked. > > Is the plan to move the relevant header files into these directories to > fix the problem long term? > > As I see it: > 1. It could be a problem with the Makefile.PL > or > 2. The headers are not being provided in the correct place.
Please try the development version of Tk <http://search.cpan.org/~srezic/Tk-804.027_500/> I believe this problem should be solved there. Regards, Slaven


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.