www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/22/04:21:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <h3nu0n$vmn$1@ger.gmane.org>
References: <1760155521 AT web DOT de> <786EBDA1AC46254B813E200779E7AD361E71D0 AT srv1163ex1 DOT flightsafety DOT com> <h3nu0n$vmn$1 AT ger DOT gmane DOT org>
Date: Wed, 22 Jul 2009 10:21:26 +0200
Message-ID: <6910a60907220121p329e2b58l3d36ec1625f5562a@mail.gmail.com>
Subject: Re: perl-Tk is broken
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2009/7/16 Wolfgang Goetz:
> Thrall, Bryan wrote:
>> Wolfgang Goetz wrote on Thursday, July 09, 2009 6:03 AM:
>>> perl-Tk is broken in 1.5 and 1.7
>>> $ widget
> ...NOK
>>> but is working under debugger control:
>>> $ ddd /usr/bin/widget (->Run ->Cont)
> ...OK
>
>> I've had similar problems; see
>> http://cygwin.com/ml/cygwin/2009-03/msg00800.html but no resolution.
>> Unfortunately, I don't have a Linux perl 5.10 installation available to
>> confirm that this is specific to Cygwin.
>
> SuSE 11.1 is using this and Perl-Tk's widget is ok. (one of my tests)
>
>
> is it really Perl-Tk or perl itself?
> when looking at other perl related threads i tried to rebuild perl
> at least with -O2 instead of -O3 (see perl -V)
> but did not succeed at all.
>
> in 1.7: cd /usr/src/perl-5*:
> ./build all
>
> try 1) our restrictive company firewall is blocking rsync.
> =A0 =A0 =A0 =A0(huh -- using variable source from outside for production?)
>
> try 2) compiling @home i get the following error:
>
> ...
> /usr/bin/ln.exe -s cygwin/cygwin.c
> `sh =A0cflags "optimize=3D'-O3'" cygwin.o` =A0cygwin.c
> =A0 =A0 =A0 =A0 =A0CCCMD =3D =A0gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV
> -U__STRICT_ANSI__
> fno-strict-aliasing -pipe =A0-O3 -Wall -W -Wextra
> -Wdeclaration-after-statement -
> endif-labels
> cygwin.c: In function `utf8_to_wide':
> cygwin.c:173: error: redefinition of 'wlen'
> cygwin.c:170: error: previous definition of 'wlen' was here
> cygwin.c:170: warning: unused variable `wlen'
> cygwin.c: In function `XS_Cygwin_win_to_posix_path':
> cygwin.c:281: warning: unused variable `oldlocale'
> make: *** [cygwin.o] Error 1
>
> i'm lost.

Oops, a build error.
Somehow my experimental and not working cygwin.c slipped into the src packa=
ge.
Please try the official cygwin/cygwin.c from
http://github.com/rurban/perl/raw/49c38585884a547ae094a6be3f8a37db3018e48d/=
cygwin/cygwin.c
until I roll an update.


> maybe someone has a -02 build for perl and may check for widget please?

I would report that upstream at perl-Tk,
Slaven Rezic is very cooperative and also has cygwin.
http://search.cpan.org/dist/Tk/
--=20
Reini Urban
http://phpwiki.org/           http://murbreak.at/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019