Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: h.metz [...] web.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.027
Fixed in: 804.027_500



Subject: Tk-804.027 fails to install under Linux RedHat 2.4.18
Tk-804.027 fails to install under Linux RedHat 2.4.18 I tried to install Tk-804.027 for Perl5.8. Make fails with the following error: ... In file included from tclPlatTime.c:5: ../pTk/tclUnixTime.c: In function `TclpGetSeconds': ../pTk/tclUnixTime.c:92: warning: implicit declaration of function `time' ../pTk/tclUnixTime.c: In function `ThreadSafeGMTime': ../pTk/tclUnixTime.c:398: sizeof applied to an incomplete type ../pTk/tclUnixTime.c:403: warning: implicit declaration of function `gmtime' ../pTk/tclUnixTime.c:403: sizeof applied to an incomplete type ../pTk/tclUnixTime.c: In function `ThreadSafeLocalTime': ../pTk/tclUnixTime.c:438: sizeof applied to an incomplete type ../pTk/tclUnixTime.c:443: warning: implicit declaration of function `localtime' ../pTk/tclUnixTime.c:443: sizeof applied to an incomplete type make[1]: *** [tclPlatTime.o] Error 1 make[1]: Leaving directory `/user/hpm/pd-sw/Tk-804.027/Event' make: *** [subdirs] Error 2 *********************************** Including "# include <time.h>" in Tk-804.027/pTk/tclUnixTime.c helped. The installation was successful.
[guest - Tue Jun 22 06:08:24 2004]: Show quoted text
> Including "# include <time.h>" in Tk-804.027/pTk/tclUnixTime.c > helped. The installation was successful.
According to POSIX.1 and ISO C (AKA ANSI C) this include is required. -- Hugh Redelmeier
Subject: Re: [cpan #6708] Tk-804.027 fails to install under Linux RedHat2.4.18
To: bug-Tk [...] rt.cpan.org
Date: Thu, 03 Mar 2005 19:22:05 +0000
From: Nick Ing-Simmons <nick [...] ing-simmons.net>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=6708 > > >[guest - Tue Jun 22 06:08:24 2004]: >
>> Including "# include <time.h>" in Tk-804.027/pTk/tclUnixTime.c >> helped. The installation was successful.
> >According to POSIX.1 and ISO C (AKA ANSI C) this include is required.
Once upon a time Tk piggy-backed perl's Configure for this kind of thing but I suspect the tk8.4 merge lost it... But as we require ANSI C these days just adding <time.h> seems resonable.