LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 610|回复: 3

安装5.1.1 第五章 procinfo-18时出错

[复制链接]
发表于 2004-12-7 15:49:13 | 显示全部楼层 |阅读模式
lfs:/mnt/lfs/sources/procinfo-18$ make LDLIBS=-lncurses
gcc -Wall -Wstrict-prototypes -O2   -c -o procinfo.o procinfo.c
procinfo.c: In function `main':
procinfo.c:872: warning: `%c' yields only last 2 digits of year in some locales
procinfo.c: At top level:
procinfo.c:19: warning: `rcsid' defined but not used
gcc -Wall -Wstrict-prototypes -O2   -c -o routines.o routines.c
routines.c:19: warning: `rcsid' defined but not used
gcc -Wall -Wstrict-prototypes -s  procinfo.o routines.o  -lncurses -o procinfo
lfs:/mnt/lfs/sources/procinfo-18$ make install
mkdir -p /usr/bin
install procinfo /usr/bin/procinfo
install: cannot create regular file `/usr/bin/procinfo': Permission denied
make: *** [install] Error 1
发表于 2004-12-7 16:41:57 | 显示全部楼层
check时有没有preifx=PATH啊,怎么装到/usr/bin去了
发表于 2004-12-7 16:55:54 | 显示全部楼层
检查 ./configure 那句话。
 楼主| 发表于 2004-12-7 17:32:07 | 显示全部楼层
不好意思 是我搞错了 本该 第六章装的内容 搞到第五章装去了
@_@
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表