[csw-users] gcc3core install error

Peter FELECAN pfelecan at opencsw.org
Tue Jun 23 11:12:32 CEST 2009


gerard <ghenry at cmi.univ-mrs.fr> writes:

> hello all,
> on solaris 10, i have this error:
> calypso-root% /opt/csw/bin/pkgutil -i gcc3core
> ...
> ## Executing postinstall script.
> *** NOTICE ***
> Fixing the system headers
> for a detailed log see /var/sadm/install/logs/CSWgcc3core-20090623094851
> Don't forget: whenever your system headers change run the mkheaders script!
> pkgadd: ERROR: postinstall script did not complete successfully
>
> Installation of <CSWgcc3core> failed.
>
> the log contains:
> chown: X11: No such file or directory
> postinstall: anomaly : cannot change ownership for include directory!
>
> and this is because a link is badly created during the install:
> calypso-root% ls -lsd
> /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/X11
>    2 lrwxrwxrwx   1 root     other         34 Jun 23 09:49
> /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/X11 -> 
> root/usr/openwin/share/include/X11
>
> it should be:
> /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.5/include/X11 -> 
> /usr/openwin/share/include/X11
>
> is it possible to repair it?
> thanks for help,

Yes, its possible. There is a bug report about this and a palliative... I
planned an upgrade of gcc3 but never found the time to do it; maybe the
slower months of summer... BTW, you can use gcc4 which, I hope, doesn't
have this issue.
-- 
Peter



More information about the users mailing list