Pages

Thursday, August 17, 2006

在 coLinux 裡安裝 icc

因為我的 colinux 用的是 debian image,所以安裝時得先裝上 rpm 套件 然後再修改一下安裝檔 install_cc.sh

--- ../install_cc.sh 2005-12-08 03:58:24.000000000 +0800 +++ install_cc.sh 2006-08-17 16:56:20.000000000 +0800 @@ -1311,13 +1311,8 @@ else IA="$(uname -m)" fi - KERNEL="$(uname -r | cut -d'.' -f-3)" - #GLIBC="$(rpm -qf `ls -1 /lib/libc.* | sed '1!d'` | cut -d'-' -f2)" - if [ "$RPM_NOT_FOUND" = 0 ] ; then - GLIBC="$(rpm -qa | egrep -e 'glibc-2\.2\.4' -e 'glibc-2\.2\.5' -e 'glibc-2\.2\.93' -e 'glibc-2\.3' -e 'glibc-2\.4' 2> /dev/null )" - else + KERNEL="$(uname -r | cut -d'-' -f1)" GLIBC="$(ls /lib/libc-* | grep -e '[.]so' | sed s@'\(.*\)\(\.so.*\)'@'\1'@g)" - fi }

#

這樣就可以順利安裝了


This article was originally posted on this site.

2 comments:

  1. hello, I am new to colinux, I saw that you are using colinux too. So I am interested to discussing with you. Have you used git in the colinux? Is it possible to do that? Cause when I use git, it always responds connection timeout. I use the "tuntap" setting for network. Do you have any idea?

    ReplyDelete
  2. Hank:
    Of course you can use git in coLinux, it is almost a full Linux environment. Would you like to check the network sharing settings in the host OS? it is the most important part before you start using network in coLinux.

    ReplyDelete