delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/16/15:15:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Wolfgang Goetz <Wolfgang DOT ztoeG AT web DOT de>
Subject: Re: perl-Tk is broken
Date: Thu, 16 Jul 2009 21:11:18 +0200
Lines: 56
Message-ID: <h3nu0n$vmn$1@ger.gmane.org>
References: <1760155521 AT web DOT de> <786EBDA1AC46254B813E200779E7AD361E71D0 AT srv1163ex1 DOT flightsafety DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090702 Lightning/0.9 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666
In-Reply-To: <786EBDA1AC46254B813E200779E7AD361E71D0@srv1163ex1.flightsafety.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

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.
	(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  cflags "optimize='-O3'" cygwin.o`  cygwin.c
          CCCMD =  gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV
-U__STRICT_ANSI__
fno-strict-aliasing -pipe  -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.
maybe someone has a -02 build for perl and may check for widget please?

kind regards
Wolfgnag


-- 
Wolfgang Goetz



--
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