help me out ,plz

C、C++和Java语言
回复
mathfrog
帖子: 5
注册时间: 2006-09-01 12:15
送出感谢: 0
接收感谢: 0

help me out ,plz

#1

帖子 mathfrog » 2006-09-01 12:24

i am new in ubuntu but not the whole linux world
i met a weird problem, and damn it
i typed a simle C code ,it is the silly hello,world program and use gcc to comiple it as we always do in common UNIX
platform . but ubuntu saids " command not found " or something .

i search the forum for the answer but it seems no answer solves my problem .
some one said should use 'ln' to link gcc -xxx with gcc , but when i switch to the director i just cannot find the gcc something .
and when i use "sudo apt-get install gcc " it said
----------------------------------------------------
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
---------------------------------------------------

in X-windows i open 'xin li de' it said i' d already installed the gcc and g++ and some stuff,library or something, involved with developing .

so anybody can help me out ~~~~~with my deepest thanks

头像
lysting
帖子: 41
注册时间: 2006-07-13 11:43
来自: 深圳
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 lysting » 2006-09-01 12:32

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
may be you update your system now.

stop update,and try :
#sudo aptitude install build-essential
回复

回到 “C/C++/Java”