X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <AANLkTim53RYbGH8yU=HbqYHkwc5H0+5NU6A0sPsJH+2H@mail.gmail.com> References: <AANLkTim53RYbGH8yU=HbqYHkwc5H0+5NU6A0sPsJH+2H AT mail DOT gmail DOT com> Date: Wed, 1 Dec 2010 07:57:56 +0100 Message-ID: <AANLkTinu+c5EBeyctm5Ggv+9KPM9wjbtTpj6e3oQ4RJy@mail.gmail.com> Subject: Re: rebase, perl From: Reini Urban <rurban AT x-ray DOT at> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 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 = 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 will. 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. -- Reini -- 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