X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 28 Jan 2008 15:21:22 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Chris J cc: cygwin AT cygwin DOT com Subject: Re: pdksh having problems starting native gvim on Vista x64 In-Reply-To: <479E344B.4000006@nightwolf.org.uk> Message-ID: References: <479E344B DOT 4000006 AT nightwolf DOT org DOT uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Mon, 28 Jan 2008, Chris J wrote: > Hi all, > > I've a recently installed Cygwin setup on Vista x64 and I've been having > problems with pdksh. I've got a x64-build of native gvim installed[1] > which pdksh doesn't want to start. On trying to run I get: > > $ /cygdrive/c/vim/vim71/gvim.exe > /bin/pdksh: /cygdrive/c/vim/vim71/gvim.exe: cannot execute - Permission denied > $ > > However, running it via every other shell going (ash, bash, tcsh and csh) > is fine and gvim pops up well and good. Well, tcsh and csh are the same... Can you please post the output of "ls -l /cygdrive/c/vim/vim71/gvim.exe", "ls -ld /cygdrive/c/vim/vim71", and "ls -ld /cygdrive/c/vim"? Also of "cygcheck /cygdrive/c/vim/vim71/gvim.exe"? > The exception is zsh, with which I get the following error on invoking: > > 3 [main] zsh 6168 C:\cygwin\bin\zsh.exe: *** fatal error - unable to remap > C:\cygwin\lib\zsh\4.3.4\zsh\complete.dll to same address as > parent(0x310000) != 0x350000 > > Googling has shown me this thread[2] that mentions rebaseing the DLLs. > However, before I go ahead and do this willy-nilly, I did want to confirm > that it was the correct thing to do given the the thread as well as the > mail threads linked to are a few months to a year old. I doubt the pdksh problem has anything to do with rebasing. > So questions ultimately are: > 1. Has anyone seen the behaviour exhibited by pdksh before, or any idea > what could be attemtped to fix it? I would do "chmod a+x /cygdrive/c/vim /cygdrive/c/vim/vim71 /cygdrive/c/vim/vim71/gvim.exe" first, and see if it fixes your problem. If that does not work, and the output of "ls -l" I requested above doesn't help, it would probably be time to look at the strace output. > 2. Is rebasing the right thing to do, and is it just 'rebaseall' I > should be executing? See /usr/share/doc/Cygwin/rebase-2.4.3.README... But rebase is more likely to fix your zsh problem than your pdksh problem. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it." -- Rabbi Hillel -- 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/