On 19/10/2011 15:11, Ryan Johnson wrote:
On 19/10/2011 9:40 AM, Jon TURNEY wrote:
On 19/10/2011 12:55, Ryan Johnson wrote:
2011/10/18 14:57:17 running: c:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/xinit.sh
2011/10/18 14:57:17 abnormal exit: exit code=3

I guess something different than usual went wrong? What's the best way to
debug it?

The full output of the shell commands for the most recent run of setup can
be found in /var/log/setup.log.full

You might also try to run that bash command manually (perhaps with an
additional -x after --noprofile) and see what's going wrong?

This looks like the culprit:
mkshortcut: Saving "C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\C:\cygwin\Cygwin-X\XWin Server.lnk" failed; does the target
directory exist?

Missing $(basename ...)?

No, that's not the reason.

The file mkshortcut should be trying to create is "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cygwin-X\XWin Server.lnk" i.e. adding the relative path "Cygwin-X\XWin Server.lnk" to your all users start menu programs directory.

I guess for some unknown reason, mkshortcut's use of cygwin_conv_to_win32_path() thinks "Cygwin-X\XWin Server" is an absolute path, rather than a relative one, and converts it to an absolute windows path. Do you have a /Cygwin-X directory or mount point?

> I tried peeking inside the .sh files but they're greek to me.

It's only 2 lines! :-)

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to