+ -
当前位置:首页 → 问答吧 → blfs linux-pam编译问题

blfs linux-pam编译问题

时间:2009-10-11

来源:互联网

如题,貌似是doc/,可不可以略过?
试了n次
代码:
make[3]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/conf/pam_conv1' 
make[3]: Entering directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/conf' 
make[3]: Nothing to be done for `all-am'. 
make[3]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/conf' 
make[2]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/conf' 
Making all in doc 
make[2]: Entering directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc' 
Making all in man 
make[3]: Entering directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc/man' 
make[3]: Nothing to be done for `all'. 
make[3]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc/man' 
Making all in specs 
make[3]: Entering directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc/specs' 
flex ./parse.lex 
bison -y parse.y 
conflicts: 2 shift/reduce, 8 reduce/reduce 
parse.y:96.3-122.1: warning: rule useless in parser due to conflicts: doc: doc stuff RIGHT stuff RIGHT stuff NEWLINE 
if test -f y.tab.h; then \ 
 to=`echo "parse_H" | sed \ 
 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 
 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ 
 sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|parse.h|" \ 
 y.tab.h >parse.ht; \ 
 rm -f y.tab.h; \ 
 if cmp -s parse.ht parse.h; then \ 
 rm -f parse.ht ;\ 
 else \ 
 mv parse.ht parse.h; \ 
 fi; \ 
 fi 
if test -f y.output; then \ 
 mv y.output parse.output; \ 
 fi 
sed '/^#/ s|y\.tab\.c|parse.c|' y.tab.c >parse.ct && mv parse.ct parse.c 
rm -f y.tab.c 
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT parse.o -MD -MP -MF ".deps/parse.Tpo" -c -o parse.o parse.c; \ 
 then mv -f ".deps/parse.Tpo" ".deps/parse.Po"; else rm -f ".deps/parse.Tpo"; exit 1; fi 
In file included from parse.y:20: 
./parse.lex: 在函数‘yylex’中: 
./parse.lex:3: 错误:‘NEW_COUNTER’未声明(在此函数内第一次使用) 
./parse.lex:3: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其 
./parse.lex:3: 错误:所在的函数内也只报告一次。) 
In file included from parse.y:20: 
./parse.lex:4: 错误:‘LABEL’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
./parse.lex:5: 错误:‘NO_INDENT’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
./parse.lex:6: 错误:‘RIGHT’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
./parse.lex:7: 错误:‘HASH’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
./parse.lex:8: 错误:‘CHAR’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
./parse.lex:9: 错误:‘NEWLINE’未声明(在此函数内第一次使用) 
In file included from parse.y:20: 
lex.yy.c: 在函数‘yy_get_next_buffer’中: 
lex.yy.c:999: 警告:在有符号和无符号整数表达式间比较 
parse.y:229:13: 警告:三元符 ??> 被忽略,请使用 -trigraphs 来启用 
parse.y:242:19: 警告:三元符 ??> 被忽略,请使用 -trigraphs 来启用 
make[3]: *** [parse.o] 错误 1 
make[3]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc/specs' 
make[2]: *** [all-recursive] 错误 1 
make[2]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0/doc' 
make[1]: *** [all-recursive] 错误 1 
make[1]: Leaving directory `/blfs-sources/01xorg/Linux-PAM-0.99.4.0' 
make: *** [all] 错误 2
貌似库装上去了?
代码:
<< ls /usr/lib/libpam*
/usr/lib/libpamc.la /usr/lib/libpamc.so.0.81.0 /usr/lib/libpam_misc.so /usr/lib/libpam.so
/usr/lib/libpamc.so /usr/lib/libpam.la /usr/lib/libpam_misc.so.0 /usr/lib/libpam.so.0
/usr/lib/libpamc.so.0 /usr/lib/libpam_misc.la /usr/lib/libpam_misc.so.0.81.2 /usr/lib/libpam.so.0.81.3
代码:
mv {,.}doc
mkdir -pv doc
cat > doc/Makefile << '!EOF!'
install :
!EOF!
make install
可以安装
不知道会不会缺东西?

作者: tusooa   发布时间: 2009-10-11

doc目录下通常是文档,不会影响系统的运行,只是没文档可看了。

不过你的系统中存在问题,下次编译另外的软件包还会出现不能生成文档的问题,所以最好还是找到问题后加以解决为好。

作者: linux001   发布时间: 2009-10-11

热门下载

更多