language optional software package not installed-CÄÄÆÄÀÏ·¯°¡ ¾ø´Â °æ¿ì
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2007-01-30 11:49:41
 

SRDB ID: 6316 

°³¿ä: `language optional software package not installed`

¹®Á¦ ¼³¸í:                                                   

/usr/ucb/cc ¸í·ÉÀ» ½ÇÇàÇÏ¸é ´ÙÀ½°ú °°Àº ¸Þ½ÃÁö°¡ Ãâ·ÂµË´Ï´Ù.

/usr/ucb/cc:language optional software package not installed

¹®Á¦ ÇØ°á ¹æ¹ý:                                                     
½ã ÆǸŠ»ç¾÷ºÎ¿¡ ¹®ÀÇÇÏ¿© C ÄÄÆÄÀÏ·¯¸¦ ±¸ÀÔÇϽʽÿÀ.

°³º° ÆǸŵǴ C ÄÄÆÄÀÏ·¯¸¦ ¼³Ä¡ÇϽʽÿÀ./usr/ucb/cc ½ºÅ©¸³Æ®¸¦ »ìÆ캸¸é
´ÙÀ½°ú °°Àº ºÎºÐÀÌ ÀÖ½À´Ï´Ù.

if [ -f /usr/ccs/bin/ucbcc ]
then

# ucbcc°¡ °¡¸®Å°´Â µð·ºÅ丮¸¦ ã¾Æ ÇÊ¿äÇÑ ¶óÀ̺귯¸®¸¦ ȹµæÇÒ ¼ö ÀÖµµ·Ï
# ÇØ´ç µð·ºÅ丮¿¡ LD_LIBRARY_PATH¸¦ ¼³Á¤ÇϽʽÿÀ.
cclink=`/usr/bin/ls -ln /usr/ccs/bin/ucbcc | awk `{print $11}``
ccdir=`/usr/bin/dirname $cclink`
LD_RUN_PATH=/usr/ucblib /usr/ccs/bin/ucbcc -Xs
      -YP,:/usr/ucblib:$ccdir:/usr/ccs/lib:/usr/lib "$@" -I/usr/ucbinclude
      -lucb -lsocket -lnsl -lelf -laio
ret=$?
exit $ret
else
echo "/usr/ucb/cc:language optional software package not installed"
exit 1
fi

°³º° ÆǸŵǴ C ÄÄÆÄÀÏ·¯°¡ ¼³Ä¡µÇ¸é /usr/ccs/bin/ucbcc ÆÄÀÏÀº C ÄÄÆÄÀÏ·¯ÀÇ
acc µå¶óÀ̹ö¸¦ °¡¸®Å°´Â ¸µÅ©°¡ µË´Ï´Ù. SC2.0.1 µð·ºÅ丮¸¦ NFS·Î ¸¶¿îÆ®ÇÒ
¶§´Â ½Éº¼ ¸µÅ©¸¦ Á÷Á¢ ¸¸µå½Ê½Ã¿À.

% ls -l /usr/ccs/bin/ucbcc
  lrwxrwxrwx  1 root  25 Feb 26 15:26 /usr/ccs/bin/ucbcc ->
/opt/SUNWspro/SC2.0.1/acc*

Ç¥ÁØ C¿ÍÀÇ ¼Ò½º ȣȯ¼ºÀÌ ¾Æ´Ï¶ó ANSI C ÇÁ·Î±×·¡¹ÖÀÌ ´õ Áß¿äÇÑ °æ¿ì ´ÙÀ½À»
¼öÇàÇϽʽÿÀ.

1. $PATH ȯ°æ º¯¼ö¿¡¼­ /opt/SUNWspro/binÀÌ /usr/ucbº¸´Ù ¸ÕÀú À§Ä¡Çϵµ·Ï
  ÇÕ´Ï´Ù.
  ¶Ç´Â
2. /usr/ucb/cc¸¦ /usr/ucb/cc·Î À̸§À» ¹Ù²Ù½Ê½Ã¿À.


Àû¿ë ´ë»ó:    Çϵå¿þ¾î, ¿î¿µÃ¼Á¦/Solaris/Solaris 2.x
÷ºÎ:          (¾øÀ½)


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦