[root@bogon src]# apt-cache search gcc -bash: apt-cache: command not found [root@bogon src]# cd / [root@bogon /]# apt-cache search gcc -bash: apt-cache: command not found [root@bogon /]# apt-get isntall gcc-dev -bash: apt-get: command not found [root@bogon /]# apt-get install gcc-dev -bash: apt-get: command not found [root@bogon /]# 好像不行
使用 make 或是make && make install 总是一直在checking checking for getpwent... yes checking for getspnam... yes checking for getspent... yes checking for getsid... yes checking for getwd... yes checking for kill... yes checking for killpg... yes checking for lchmod... no checking for lchown... yes checking for lstat... yes checking for mkfifo... yes checking for mknod... yes checking for mktime... yes checking for mremap... yes checking for nice... yes checking for pathconf... yes checking for pause... yes checking for plock... no checking for poll... yes checking for pthread_init... no checking for putenv... yes
# apt-cache search gcc
# apt-get isntall gcc-dev
-bash: apt-cache: command not found
[root@bogon src]# cd /
[root@bogon /]# apt-cache search gcc
-bash: apt-cache: command not found
[root@bogon /]# apt-get isntall gcc-dev
-bash: apt-get: command not found
[root@bogon /]# apt-get install gcc-dev
-bash: apt-get: command not found
[root@bogon /]#
好像不行
checking for getspnam... yes
checking for getspent... yes
checking for getsid... yes
checking for getwd... yes
checking for kill... yes
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes