Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

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

X Report information
Id: 13923
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Tk

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

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



X History Display mode: Brief headersFull headers
#   Fri Jul 29 16:17:59 2005 guest - Ticket created  
Subject: install reports a missing file
[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


#   Sun Mar 26 14:13:09 2006 NI-S - Correspondence added  
[text/plain 1k]
On Fri Jul 29 16:17:59 2005, guest wrote:
> 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?



#   Sun Mar 26 14:13:10 2006 RT_System - Status changed from 'new' to 'open'  
#   Tue Sep 12 23:57:54 2006 brockmd - Correspondence added  
From: dean.brockhausen[...]gmail.com
[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
#   Fri Jun 29 18:39:57 2007 todd_rinaldo - Correspondence added  
From: todd.e.rinaldo[...]jpmorgan.com
[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.
#   Thu Jul 05 17:45:28 2007 SREZIC - Correspondence added  
From: SREZIC[...]cpan.org
[text/plain 607b]
On Fri Jun 29 18:39:57 2007, todd_rinaldo wrote:
> 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


#   Tue Nov 06 15:27:17 2007 SREZIC - Status changed from 'open' to 'resolved'  
#   Tue Nov 06 15:27:20 2007 SREZIC - Broken in 804.027_500 added  
#   Tue Nov 06 15:27:21 2007 SREZIC - Broken in 804.027 deleted