[csw-users] gcc3core install error

gerard ghenry at cmi.univ-mrs.fr
Tue Jun 23 09:54:02 CEST 2009


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,

gerard



More information about the users mailing list