求救.有谁知道.如果系统在安装的时候没有装gcc 等开发包.编译出错..

范堡 发布于 2009/05/07 22:18
阅读 1K+
收藏 0
GCC

系统在安装的时候没有装 gcc 编译器跟开发工具包...

随后用rpm方式把安装碟上的包逐一装回上去...但

编译安装 Nginx  configure的时候还是报错...

checking for inttypes.h ... found
checking for limits.h ... not found
checking for sys/filio.h ... not found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for sendfile() ... not found
checking for sendfile64() ... not found
checking for sys/prctl.h ... not found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for PCRE library ... found
checking for zlib library ... found
checking for int size ...
./configure: error: can not detect int size

 

最后出错的地方是 int size ... 我刮遍了大东南北都找不到究竟是缺少那个包...哎..有哪朋友有试过类似经验的..分享分享..

 

################## 最后还是由柄哥帮托搞定了....

把这东西 kernel-headers xxxx .rpm 装上... 就在安装盘的rpm堆里头.

哎.真是.读万卷书.不如走万里路...走万里路.不如高人指路..Cool

 

加载中
0
红薯
红薯

哇哈呵呵呵,考验你的时候到了

0
范堡
范堡

Embarassed 这次真晕了...~...再狠点我就把整个 As5 安装盘的 rpm 都上传上去装!!~

0
黄平俊
黄平俊

把碟放进去(或把映射文件挂上去),把GCC安装包勾上,Next就OK了吧!~~~

0
范堡
范堡

哎呀.服务器不在本地~~~~你说惨不惨~~~~

如果服务器在本地!!我直接格掉再装现在已经跑着都行了~~~Sealed

返回顶部
顶部