delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/04/12:51:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTin6gy87SRM0UgCSZhPxr9F+NP3kD_7RYoC4jRYy@mail.gmail.com>
References: <AANLkTim53RYbGH8yU=HbqYHkwc5H0+5NU6A0sPsJH+2H AT mail DOT gmail DOT com> <AANLkTinu+c5EBeyctm5Ggv+9KPM9wjbtTpj6e3oQ4RJy AT mail DOT gmail DOT com> <AANLkTin6gy87SRM0UgCSZhPxr9F+NP3kD_7RYoC4jRYy AT mail DOT gmail DOT com>
From: Maurice Mengel <mauricemengel AT gmail DOT com>
Date: Sat, 4 Dec 2010 12:50:25 -0500
Message-ID: <AANLkTi=w5oE0LMmht4K4e8XafVVnW5kMFG0+aU1s8NaG@mail.gmail.com>
Subject: Re: rebase, perl
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

Thanks for your help!

Before you answered I tried to rebase to a different base and then
wasn't able to use cygwin anymore, so I started with a clean install.
Until now it works, and when it doesn't anymore I'll try with making
the library writable first. I completely forgot about that. I always
seem to run into this problem when I try to compile rakudo. Any
thoughts on that? BTW: I am on xp.

best
Maurice


On Sat, Dec 4, 2010 at 11:48 AM, Reini Urban <rurban AT x-ray DOT at> wrote:
> 2010/12/1 Reini Urban:
>> 2010/11/30 Maurice Mengel:
>>> Don't know where to look anymore. perl keeps complaining about
>>> whenever I try to install a module in CPAN. The usual fatal error -
>>> unable to remap.
>>>
>>> Then I try perlrebase from bash. It finishes successfully, but cpan
>>> continues to show the same error. So I terminate all cygwin and run
>>> rebaseall -v from ash which gives me an error:
>>>
>>> ReBaseImage (/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Graphics/=
Magick/Magick.dll)
>>> failed with last error =3D 6
>>
>> That is easy. Make Graphics/Magick/Magick.dll writable before you do a
>> rebaseall.
>> But rebaseall will most likely not help you.
>>
>>> The only way I can change that error message seems to be to reinstall
>>> that package using setup, but then another dll in complains and then
>>> another one etc. Will it ever stop?
>>
>> rebaseall will not rebase your own new cpan modules. Only perlrebase wil=
l.
>> And there might be conflicts.
>>
>> I experience the same problem daily, on Win7 and ASLR only. WinXP is
>> fine for me.
>> You can try different perlrebase baseaddresses.
>> I'm trying now to turn off ASLR: peflags -d0 for all perl dll's.
>
> Yes. Adding a -d0 solved so far the problems on Win7 for me.
>
> diff -u /usr/bin/perlrebase~ /usr/bin/perlrebase
> --- /usr/bin/perlrebase~ =C2=A0 =C2=A0 =C2=A0 =C2=A02010-11-27 10:13:07.8=
06866000 +0100
> +++ /usr/bin/perlrebase 2010-12-01 07:50:13.843953700 +0100
> @@ -39,5 +39,5 @@
>
> =C2=A0/usr/bin/rebase -v -b $baseaddr -T rebase$suff.lst
>
> -[ -e /usr/bin/peflags.exe ] && /usr/bin/grep .dll rebase$suff.lst |
> /usr/bin/peflags -d -T - >/dev/null
> +[ -e /usr/bin/peflags.exe ] && /usr/bin/grep .dll rebase$suff.lst |
> /usr/bin/peflags -d0 -T - >/dev/null
> =C2=A0/usr/bin/cat rebase$suff.lst | /usr/bin/xargs chmod g-w
>
> --
> Reini Urban
> http://phpwiki.org/=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 http://murbre=
ak.at/
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>
>

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