Chinaunix首页 | 论坛 | 博客
  • 博客访问: 150232
  • 博文数量: 37
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 395
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-07 20:06
文章分类
文章存档

2011年(1)

2009年(1)

2008年(1)

2007年(34)

我的朋友

分类: LINUX

2007-07-24 11:27:40

请先选择您的ERROR!!!

<1>: ERROR: checking for C compiler default output... configure: error:
C compiler cannot create executables

$sudo apt-get install libc6-dev
 
<2>: ERROR: configure: error: C++ preprocessor "/lib/cpp" fails sanity check

$sudo apt-get install cpp g++
 
<3>: ERROR: checking for termcap functions library... configure: error:
 No curses/termcap library found

$sudo apt-get install termcap-compat

$sudo apt-get install gcc cpp g++ libncurses5-dev

$sudo apt-get install make autoconf automake libtool

 <4>: ERROR: This is a linux system and Linuxthreads was not

found. On linux Linuxthreads should be used.  Please install Linuxthreads

(or a new glibc) and try again

#echo '/* Linuxthreads */' >> /usr/include/pthread.h
(注意上面的ERROR<4>可以看出系统缺少线程库,

没有线程,Linux当然不行,既然没有linuxthread那用什么代替呢?

是新型的NPTL,因为NPTL(native posix thread library)与
LinuxThreads 相比,NPTL 具有更多 的优点,
只不过我们这里先不讨论他的优点,呵呵~~~~~)

阅读(1084) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~