[csw-users] Cannot install gcc4core

Oscar del Rio delrio at mie.utoronto.ca
Tue Jan 29 17:23:22 CET 2008


Michael Schmarck wrote:
> I tried to install gcc4core-4.0.2,REV=2005.09.29-SunOS5.8-sparc-CSW.pkg.gz
> on my SunOS 5.10 Generic_127111-05 machine. The pkg-get -i gcc4core
> failed:
> 
> ## Executing postinstall script.
> *** NOTICE ***
> Fixing the system headers
> for a detailed log see /var/sadm/install/logs/CSWgcc4core-20080118122651
> Don't forget: whenever your system headers change run the mkheaders script!
> pkgadd: ERROR: postinstall script did not complete successfully
> 
> Installation of <CSWgcc4core> failed.
> ERROR: could not add CSWgcc4core.
> 
> apache at winds01 ~ $ cat /var/sadm/install/logs/CSWgcc4core-20080118122651
> chown: X11: No such file or directory
> postinstall: anomaly : cannot change ownership for include directory!

I am getting the same error for gcc3core.

There is a bad symlink in /opt/csw/gcc3/...

# pwd
/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include

# ls -ld X11
lrwxrwxrwx 1 root other 34 Jan 29 11:12 X11
-> root/usr/openwin/share/include/X11
    ^^^^

# cat /etc/release
                   Solaris Express Community Edition snv_78 SPARC
            Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                         Use is subject to license terms.
                            Assembled 20 November 2007



More information about the users mailing list