X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <6910a60807100732o57bb65a3mad2044812398ae97@mail.gmail.com>
Date: Thu, 10 Jul 2008 16:32:32 +0200
From: "Reini Urban" <rurban@x-ray.at>
To: cygwin@cygwin.com
Subject: Re: Perl-5.10 on a fresh install reports unable to remap Glob.dll
In-Reply-To: <ee5f2b130807091024y53a53496pf5e88aa60da272c0@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <ee5f2b130807090919j33144d99if5f7b06eee59265c@mail.gmail.com> 	 <4874EC94.3080906@x-ray.at> 	 <ee5f2b130807091024y53a53496pf5e88aa60da272c0@mail.gmail.com>
X-Google-Sender-Auth: cb34579576bbb8e6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2008/7/9 Dave Wombat:
> On Wed, Jul 9, 2008 at 9:51 AM, Reini Urban <rurban@x-ray.at> wrote:
>> Dave Wombat schrieb:
>>>
>>> I did a fresh install of Cygwin on a Vista box.  I needed to add some
>>> Perl modules so I ran
>>>   Perl -MCPAN -e shell
>>>
>>> After the install began I got errors about remap.  Scanning the
>>> archives showed that "rebase"
>>> would help.  Further scanning shows that "rebase" is built into
>>> install and no longer directly available.
>>
>> This is wrong. rebaseall is still required, and for perl very likely.
>> I did a fresh rebaseall at base 0x52000000 onwards, but there are some still
>> some clashes.
>>
>> Install the rebase package and follow the instructions in its README. In
>> short: kill all bash processes and run rebaseall from ash
>> --
>> Reini Urban
>> http://phpwiki.org/  http://murbreak.at/
>
> Still no happiness.   I followed the instructions to best of my ability and got:
>
> $ exec /bin/ash
> \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$

The cure for this problem is unset PS1

> $ rebaseall
> ReBaseImage (/usr/bin/cygiconv-2.dll) failed with last error = 6

Be sure that cygiconv-2.dll is writable.
$ chmod +w /bin/*.dll

> \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
> \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ps -ef
>     UID     PID    PPID TTY     STIME COMMAND
>  wombat    8096       1 con  10:09:38 /usr/bin/ash
>  wombat   8024    8096 con  10:11:24 /usr/bin/ps
>
> So only ash is running.  I'm about to reboot to see if that bit of voodoo helps.

Hmm. ps -ef should have shown all active processes (also services), but maybe
there are hidden ones which you could detect with procexp from sysinternals.com
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/

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

