X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0	tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 27 Aug 2010 12:11:36 -0400
Message-ID: <AANLkTi=Xvvdtn-Jq4u1ZWr9-hR4z7Uac4V7MRB39a53r@mail.gmail.com>
Subject: WLMP cannot map to parent and Rebaseall fails for unknown reason.
From: Oren Elrad <orenelrad@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Hi all,

I am trying to get my version of Cygwin to play nicely with WLMP[1]
which installs it's own version of some key cygwin dlls locally. When
I launch the WLMP version of lightty, I get the classic 'Unable to
Remap' error [2]. This is usually solved by a quick trip to rebaseall,
so I tried:

$ ./rebaseall -v -T `./find /cygdrive/c/WLMP/LightTPD/ -iname '*dll'
rebaseall: '/cygdrive/c/WLMP/LightTPD/CygBZ2-1.dll' is not readable
$ ./cat /cygdrive/c/WLMP/LightTPD/CygBZ2-1.dll
<< BINARY JUNK >>

The file is, in fact, readable. I can 'cat' it from the ash command
line right there. Heck, I can even write to it. NTFS file permissions
are set to 'Full Control' for the user running ./rebaseall. No other
files have it open (per process explorer). So why in blazes does
rebaseall think that it's not readable?!

Oren

PS. I know that WLMP is not Cygwin's problem. I was merely hoping that
some kind soul would point me in the right direction to rebasing all
my DLLs for a happy cygwin + WLMP family.

[1]=A0http://en.wlmp-project.net/=A0-- unfortunately the build of lightty
that comes with Cygwin doesn't have SSL baked in, nor is there a
PHP/MySQL stack.

[2]=A035 [main] LightTPD 4604 C:\WLMP\LightTPD\LightTPD.exe: *** fatal
error - unable to remap C:\WLMP\LightTPD\cygminires.dll to same
address as parent (0x330000) !=3D 0x6EFC0000

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

