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]

2.708 install with /etc/postinstall/gcc4-core.sh exit code 126


Hello,

I'm running Windows 7 64bit home premium, and here's an excerpt of the
install log (I tried to install cygwin with gcc4):

2010/08/07 14:27:40 Starting cygwin install, version 2.708
(...)
2010/08/07 14:41:24 Extracting from
file://C:\cygwin-install/http%3a%2f%2fmirror.celltel.de%2fcygwin%2f/release/gcc4/gcc4-4.3.4-3.tar.bz2
2010/08/07 14:41:25 Extracting from
file://C:\cygwin-install/http%3a%2f%2fmirror.celltel.de%2fcygwin%2f/release/gcc4/gcc4-core/gcc4-core-4.3.4-3.tar.bz2
2010/08/07 14:41:29 Extracting from
file://C:\cygwin-install/http%3a%2f%2fmirror.celltel.de%2fcygwin%2f/release/gcc4/gcc4-g++/gcc4-g++-4.3.4-3.tar.bz2
2010/08/07 14:41:55 Changing gid back to original
2010/08/07 14:41:55 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-core.sh
2010/08/07 14:41:55 abnormal exit: exit code=126
2010/08/07 14:41:55 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-g++.sh
2010/08/07 14:41:55 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-core.sh
2010/08/07 14:41:57 abnormal exit: exit code=126
2010/08/07 14:41:57 Changing gid to Administrators
2010/08/07 14:42:21 note: Installation Complete
2010/08/07 14:42:21 Ending cygwin install


Here's an excerpt of the setup.log.full:

2010/08/07 14:48:12 Extracting from
file://C:\cygwin-install/http%3a%2f%2fmirror.celltel.de%2fcygwin%2f/release/gcc4/libgcc1/libgcc1-4.3.4-3.tar.bz2
Installing file cygfile:///usr/bin/cyggcc_s-1.dll
2010/08/07 14:48:12 Extracting from
file://C:\cygwin-install/http%3a%2f%2fmirror.celltel.de%2fcygwin%2f/release/gcc4/libstdc++6/libstdc++6-4.3.4-3.tar.bz2
Installing file cygfile:///usr/bin/cygstdc++-6.dll
2010/08/07 14:48:12 Changing gid back to original
Visited: 54 nodes out of 53 while creating dependency order.
Dependency order of packages: base-cygwin base-passwd cygwin libgcc1
libiconv2 libintl8 alternatives alternatives libattr1 libgmp3
libsigsegv2 terminfo0 libncurses8 texinfo _update-info-dir gawk tzcode
coreutils terminfo libncurses9 libreadline7 bash findutils sed
base-files libbz2_1 bzip2 libpopt0 libstdc++6 cygutils groff gzip
libncurses10 less man cygwin-doc dash diffutils editrights gcc4-core
gcc4-g++ gcc4 gettext libpcre0 grep ipc-utils liblzma1 login rebase run
xz tar which zlib0 
2010/08/07 14:48:12 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-core.sh
/etc/postinstall/gcc4-core.sh: line 22:
/usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh: Permission
denied
2010/08/07 14:48:13 abnormal exit: exit code=126
2010/08/07 14:48:13 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-g++.sh
2010/08/07 14:48:13 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/gcc4-core.sh
/etc/postinstall/gcc4-core.sh: line 22:
/usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh: Permission
denied
2010/08/07 14:48:14 abnormal exit: exit code=126
2010/08/07 14:48:14 Changing gid to Administrators
2010/08/07 14:58:30 note: Installation Complete
2010/08/07 14:58:30 Ending cygwin install




The install dialog box shows:

Package: gcc4-core
	gcc4-core.sh exit code 126
Package: No package
	gcc4-core.sh exit code 126

The solution to this problem is apparently to 

chmod 755 /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh

(because it doesn't have execute rights) and then gcc4-core.sh runs.
However, I'm afraid that my gcc installation is not complete, i.e. that
later install programs aren't run because of that exit code 126 - gcc
complains of not finding the cygmpfr-1.dll file. Or is that missing
execute right just a symptom, and not the cause of something?

I have attached a "censored" cygcheck file. I have removed some personal
details for obvious security reasons.

Tilman


Attachment: cygcheck-censored.out
Description: Binary data

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