This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pdksh having problems starting native gvim on Vista x64


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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]