delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/02/19:07:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <007e01c310ff$5506a6b0$4d1f1cac@THEODOLITE>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>,
"cygwin" <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304141917120 DOT 26381-100000 AT slinky DOT cs DOT nyu DOT edu> <008301c30494$3ac5ac50$0200a8c0 AT abackusdell2> <006001c310f6$aed96d70$4d1f1cac AT THEODOLITE> <002101c310f8$2b6ec780$433b86d9 AT ellixia>
Subject: Re: tk800 on perl 5.8.0 (1.3.22)
Date: Fri, 2 May 2003 16:05:32 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

OK,  I guess that was the problem,  though the solution was more painful
than expected I'll include what I did for the next person who tries it:

I did a rebaseall -v and it rebased the IO.dll that was erroring
previously....  now it is failing similarly on a different dll
"Menubutton.dll" which was not rebased by rebaseall

next:
rebase -b 0x0000007 /lib/......../Menubutton/Menubutton.dll
Menubutton.dll skipped because it's not writeable

chmod -R 777 /lib/perl5/*
rebase -b 0x0000007 /lib/perl5/......../Menubutton/Menubutton.dll

Now it all works........

summary:

to get tk800.024 to work on perl5.8.0 with cygwin 1.23.22

get tk-800.024 from cpan.org
apply patch from
http://home.att.net/~perlspinr/diffs/Tk800_024_unofficial-patch.zip
perl Makefile.pl
make
make test
make install
rebaseall
chmod -R 777 /lib/perl5/*
rebase -b 0x0000007 /lib/perl5/......../Menubutton/Menubutton.dll


Thank you Elfyn


----- Original Message ----- 
From: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>; "Bruce Dobrin" <dobrin AT imageworks DOT com>
Sent: Friday, May 02, 2003 3:14 PM
Subject: Re: tk800 on perl 5.8.0 (1.3.22)


> > Hi,
> > Previousley I have been using tk800.24 on cygwin which built fine
against
> > 1.3.20 and perl5.6.1 and before, using a patch from
> > http://home.att.net/~perlspinr/perlproj/pTk/   .  Since upgrading to the
> > newer versions (cygwin 1.3.22) I have been having a terrible time trying
> to
> > get it to work as well as the previous version.  I tried patching it
with
> > the patch from Alan Miles
> > (http://sources.redhat.com/ml/cygwin/2003-04/msg00504.html) but could
not
> > get the patch to apply correctly...  Does anyone have a patched tk800
> which
> > works with 1.3.22 versions or a patched verision of the source?  or
> another
> > suggestion?  I tried applying the
> > http://home.att.net/~perlspinr/diffs/Tk800_024_unofficial-patch.zip
patch
> > and it sort of works except now I get this error when I launch a perltk

> > program from a cmd window:
> >
> > C:\spi\bin>perl monselect ( a perltk program)
> > monselect.pm got:
> > Mode: nonered1c:\cygwin\bin\perl.exe: *** unable to remap
> > C:\cygwin\lib\perl5\5.8.0\cygwin-multi-64int\auto\IO\IO.dll to
> >  same address as parent(0x12F0000) != 0x1780000
> > c:\cygwin\bin\perl.exe: *** unable to remap
> > C:\cygwin\lib\perl5\5.8.0\cygwin-multi-64int\auto\IO\IO.dll to same
> address
> > as parent(0x12F0000) != 0x1780000
> >       5 [main] perl 2496 sync_with_child: child 3404(0x640) died before
> > initialization with status code 0x1
> >    5641 [main] perl 2496 sync_with_child: *** child state child loading
> dlls
> >
> > I'm afraid that my understanding to windows cmd and perl and cygwin is
not
> > deep enough to how to fix that since the same program runs fine from cmd
> > window in 1.3.20 perl5.6.1 and from cygwin rxvt/tcsh window in 1.3.22
and
> > perl5.8.0.
>
> That's a rebase issue. If you don't have the rebase package installed
> (`cygcheck -c rebase'), download/install it, and read
> /usr/doc/rebase-V.README (where 'V' is the version). It will give you
> directions on rebasing your Cygwin DLLs.
>
> Elfyn
>


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

- Raw text -


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