delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Mime-Version: | 1.0 (Apple Message framework v1082) |
Subject: | Re: rebase, perl |
From: | Marco Moreno <mmoreno AT pobox DOT com> |
In-Reply-To: | <AANLkTin6gy87SRM0UgCSZhPxr9F+NP3kD_7RYoC4jRYy@mail.gmail.com> |
Date: | Fri, 17 Dec 2010 11:29:10 -0500 |
Message-Id: | <B2473940-6B02-46E6-BAA0-7A91409D23E0@pobox.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> |
To: | cygwin AT cygwin DOT com |
X-Pobox-Relay-ID: | C78638FC-09FA-11E0-A2AF-8DAE00F9A0F2-99441528!b-pb-sasl-quonix.pobox.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 |
On Dec 4, 2010, at 11:48 AM, Reini Urban 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. >>>=20 >>> 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: >>>=20 >>> ReBaseImage (/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Graphics/= Magick/Magick.dll) >>> failed with last error =3D 6 >>=20 >> That is easy. Make Graphics/Magick/Magick.dll writable before you do a >> rebaseall. >> But rebaseall will most likely not help you. >>=20 >>> 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? >>=20 >> rebaseall will not rebase your own new cpan modules. Only perlrebase wil= l. >> And there might be conflicts. >>=20 >> 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. >=20 > Yes. Adding a -d0 solved so far the problems on Win7 for me. >=20 > diff -u /usr/bin/perlrebase~ /usr/bin/perlrebase > --- /usr/bin/perlrebase~ 2010-11-27 10:13:07.806866000 +0100 > +++ /usr/bin/perlrebase 2010-12-01 07:50:13.843953700 +0100 > @@ -39,5 +39,5 @@ >=20 > /usr/bin/rebase -v -b $baseaddr -T rebase$suff.lst >=20 > -[ -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 > /usr/bin/cat rebase$suff.lst | /usr/bin/xargs chmod g-w >=20 Reini, this diff implies that the version of perlrebase I have is out of da= te since it doesn't use peflags anywhere. I also found an old post from ba= ck in July where you stated that its "baseaddr=3D0x5400000" is missing a 0,= suggesting it is at least that old. http://cygwin.com/ml/cygwin/2010-07/msg00146.html Where do I get an updated perlrebase? I've tried performing updates from t= he latest released cygwin installer (no snapshots), but I still have what a= ppears to be an outdated version. Perhaps this is part of my current cpan/rebase hell.... Marco Moreno -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |