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]

Installation issue with recent cygwin (1.7.16-1) (and unable to link afterwards)


Hi,

I was doing a fresh install on a Windows 7 (x64) box that has its Users and ProgramData folders JUNCTIONed from C: (SSD) to D: (HDD), and CYGWIN was to
be installed at D:\Cygwin.  There's no issues with running any Windows app
so the layout works just as expected.  However, when CYGWIN setup was doing
rxvt post-install, the following errors occurred (this was the only post-install
script failed):

2012/10/14 17:06:43 running: D:\cygwin\bin\bash.exe --norc --noprofile
"/etc/postinstall/rxvt.sh"
Using the default version of /etc/X11/app-defaults/Rxvt
(/etc/defaults/etc/X11/app-defaults/Rxvt)
/usr/bin/mkdir: cannot create directory `/cygdrive/c/ProgramData': Too
many levels of symbolic links
mkshortcut: Saving "C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Cygwin\rxvt-native.lnk" failed; does the target
directory exist?
mkshortcut: Saving "C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Cygwin\rxvt-x.lnk" failed; does the target directory
exist?
2012/10/14 17:06:44 abnormal exit: exit code=3

Presumably, this was the reason:

/usr/bin/mkdir -p "$(/usr/bin/cygpath -AP)/Cygwin"

After the installation, re-running the commands manually (to follow
the post-intall script) succeeded:

/usr/bin/mkshortcut -AP -n "Cygwin/rxvt-native" -d "Cygwin RXVT (native)" \
        -w /usr/bin -i /usr/bin/cygicons-0.dll -j 1 \
        -a '-display :0 -fn "Lucida Console-14" -tn rxvt-cygwin-native
-e /bin/bash --login' \
        /usr/bin/rxvt.exe
/usr/bin/mkshortcut -AP -n "Cygwin/rxvt-x" -d "Cygwin RXVT (X11)" \
        -w /usr/bin -i /usr/bin/cygicons-0.dll -j 2 \
        -a '/usr/bin/rxvt.exe -display 127.0.0.1:0 -tn rxvt-cygwin -e
/bin/bash --login' \
        /usr/bin/run.exe

$ cygpath -AP
/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs

$ ls -l /cygdrive/c/ProgramData
lrwxrwxrwx 1 SYSTEM SYSTEM 23 Dec  1  2011 /cygdrive/c/ProgramData ->
/cygdrive/d/ProgramData

$ ls -l "`cygpath -AP`/Cygwin"
total 17
-rwxrwxr-x+ 1 SASHA root 523 Oct 14 17:08 Cygwin Terminal.lnk
-rwxr-xr-x+ 1 SASHA None 862 Oct 14 17:22 rxvt-native.lnk
-rwxr-xr-x+ 1 SASHA None 838 Oct 14 17:06 rxvt-unicode-xC.lnk
-rwxr-xr-x+ 1 SASHA None 841 Oct 14 17:06 rxvt-unicode-xS.lnk
-rwxr-xr-x+ 1 SASHA None 843 Oct 14 17:22 rxvt-x.lnk


After the installation, CYGWIN was not able to link even a simplest program
("gcc -c" to create just an object file worked okay):

$ cat a.c
 #include <stdio.h>

 int main(void)
 {
 printf ("Hello\n");
 return 0;
 }

$ gcc a.c
       0 [main] collect2 2608 fork: child -1 - forked process 3376 died
 unexpectedly, retry 0, exit code -1073741515, errno 11
 1020063 [main] collect2 2608 fork: child -1 - forked process 2512 died
 unexpectedly, retry 0, exit code -1073741515, errno 11
 3032589 [main] collect2 2608 fork: child -1 - forked process 4668 died
 unexpectedly, retry 0, exit code -1073741515, errno 11
 7041679 [main] collect2 2608 fork: child -1 - forked process 5192 died
 unexpectedly, retry 0, exit code -1073741515, errno 11
 collect2: vfork: Resource temporarily unavailable

Rebaseall did not help.

Perhaps, the two things (directory links and linkage) are not at all connected ?
Any ideas please ?

Cygcheck output is in the attachment.

Thanks,

Anton Lavrentiev
Contractor NIH/NLM/NCBI

Attachment: cygcheck.txt
Description: cygcheck.txt

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

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