This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl-Tk is broken


Reini Urban wrote:
> 2009/7/23 Wolfgang Goetz:
>> Reini Urban wrote:
>>> 2009/7/16 Wolfgang Goetz:
>>>> cygwin.c:173: error: redefinition of 'wlen'
>>> Please try the official cygwin/cygwin.c from
>>> http://github.com/rurban/perl/raw/49c38585884a547ae094a6be3f8a37db3018e48d/cygwin/cygwin.c
>> 1) copying this file right behind the 'rsync' of perl-current.
>> patch applies,
>> build fails.
>>
>> the 'tar cfz' of perl-current is named perl-5.10.0.tar.gz
>> PANIC! perl-current-`date +..`.tgz may be ok
>> why not using the stable tgz from cpan?
>> current will not achieve a consistent build over time.
> 
> Because 5.10.0 stable is not stable as agreed by everyone on p5p.

full ack.

> I added some patches which came in over time, so it's really more a perl-5.10.05
> Similar to the ActiveState 5.10 release

but according to your build script you are using *perl-current* via
rsync as the base to be patched. Every time you call the build there is
a different version!

using a 'stable'/'released' tarball and applying patches
is the golden way.



example: gentoo is on a year 2006 version:
(normally the gentoo's are bleading edge. here: not)

>>> Emerging (1 of 1) dev-lang/perl-5.8.8-r5
>>> Downloading
'ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/perl-5.8.8.tar.bz2'
--2009-07-24 21:13:09--
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/perl-5.8.8.tar.bz2
           => `/volumes/sdb1/portage/distfiles/perl-5.8.8.tar.bz2'
Resolving ftp.tu-clausthal.de... 139.174.2.36
Connecting to ftp.tu-clausthal.de|139.174.2.36|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/gentoo/distfiles ... done.
==> SIZE perl-5.8.8.tar.bz2 ... 10123359
==> PASV ... done.    ==> RETR perl-5.8.8.tar.bz2 ... done.
Length: 10123359 (9.7M)

100%[======================================>] 10,123,359  1.42M/s   in
7.0s

2009-07-24 21:13:17 (1.39 MB/s) -
`/volumes/sdb1/portage/distfiles/perl-5.8.8.tar.bz2' saved [10123359]

 * perl-5.8.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
 [ ok ]
 * checking ebuild checksums ;-) ...
 [ ok ]
 * checking auxfile checksums ;-) ...
 [ ok ]
 * checking miscfile checksums ;-) ...
 [ ok ]
>>> Unpacking source...
>>> Unpacking perl-5.8.8.tar.bz2 to
/var/tmp/portage/dev-lang/perl-5.8.8-r5/work
 * Applying perl-prelink-lpthread.patch ...
  [ ok ]
 * Applying perl-perldoc-emptydirs.patch ...
  [ ok ]
 * Applying perl-5.8.8-reorder-INC.patch ...
  [ ok ]
 * Applying perl-picdl.patch ...
  [ ok ]
 * Applying perl-noksh.patch ...
  [ ok ]
 * Applying perl-5.8.8-makedepend-syntax.patch ...
  [ ok ]
 * Applying perl-5.8.7-MakeMaker-RUNPATH.patch ...
  [ ok ]
 * Applying perl-regexp-nossp.patch ...
  [ ok ]
 * Applying perl-hppa-pa7200-configure.patch ...
  [ ok ]
 * Applying perl-5.8.8-lib64.patch ...
  [ ok ]
 * Applying perl-5.8.8-USE_MM_LD_RUN_PATH.patch ...
  [ ok ]
 * Applying perl-5.8.8-links.patch ...
  [ ok ]
 * Applying perl-5.8.8-cplusplus.patch ...
  [ ok ]
 * Applying perl-5.8.8-gcc42-command-line.patch ...
  [ ok ]
 * Applying perl-5.8.8-asm-page-h-compile-failure.patch ...
  [ ok ]
 * Applying perl-5.8.8-perlcc.patch ...
  [ ok ]
 * Applying perl-5.8.8-utf8-boundary.patch ...
  [ ok ]
 * Applying perl-5.8.8-CVE-2008-1927.patch ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.8.8-r5/work
...



>> http://matrix.cpantesters.org/?dist=Tk+804.028_501
>> ohjeh.. perl 5.8.8 is yellow for cygwin.
>> there seems to be no interest at all for the moment.
> 
> I had some spare time some time ago to fix most of the issues, it compiles now ,
> just the event loop still needs to be reconfigured.

is /usr/bin/widget working for you?  all examples?
the funny thing in my (better: my companies) environment:
'widget' solely throws errors. under debugger control all is fine.
This smells like optimization/parameter flaws for me.
(mainly the -O3, maybe more)


have a nice weekend!
greetings
Wolfgang


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]