- 论坛徽章:
- 0
|
编译 RRDTool 时 出现以下错误.
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
[root@88 rrdtool-1.3.4]#
据说要安装 cgilib
于是下载了 0.5版的 cgilib , make && make install 报错如下.
[root@88 cgilib-0.5]# make && make install
cc -I. -Wall -O2 -g -c -o cgi.o cgi.c
cc -I. -Wall -O2 -g -c -o cookies.o cookies.c
ar rc libcgi.a cgi.o cookies.o
cc -I. -Wall -O2 -g -c -o cgitest.o cgitest.c
cgitest.c: In function 'main':
cgitest.c:108: warning: implicit declaration of function 'strcmp'
cgitest.c:116: error: expected ')' before 'Library'
cgitest.c:129: warning: implicit declaration of function 'strlen'
cgitest.c:129: warning: incompatible implicit declaration of built-in function 'strlen'
make: *** [cgitest.o] Error 1
[root@88 cgilib-0.5]#
请教解决方法,谢谢. |
|