Raymond writes:
>     I meet a compiling problem, 'cc: Can't exec /opt/SUNWspro/bin/acomp' 
> which causes the compiling exit in /usr/src/tools directory? It seems that 
> 'acomp' are not located at /opt/SUNWspro/bin, I find it at 
> /opt/SUNWspro/prod/bin.
> How to figure it out? 

CR 6782458 describes this problem, and it seems to boil down to an
incorrect installation of the compiler.

Try doing this:

% ls -l /opt/SUNWspro/bin/cc

You should see something like this:

lrwxrwxrwx   1 root     root          14 Mar 11  2006 /opt/SUNWspro/bin/cc -> 
../prod/bin/cc

If you don't see a symlink there -- but instead see an executable file
-- then that's the problem.  Everything that's in the 'bin' directory
should be a symlink over to ../prod/bin.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to