安装apr-util报错

安装apr-util报错


xml/apr_xml.c:35:19: 错误:expat.h:没有那个文件或目录

xml/apr_xml.c:66: 错误:expected specifier-qualifier-list before ‘XML_Parser’

xml/apr_xml.c: 在函数‘cleanup_parser’中:

xml/apr_xml.c:364: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:365: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c: 在文件层:

xml/apr_xml.c:384: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

xml/apr_xml.c: 在函数‘apr_xml_parser_create’中:

xml/apr_xml.c:401: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:402: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:410: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:411: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:412: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:424: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:424: 错误:‘default_handler’未声明(在此函数内第一次使用)

xml/apr_xml.c:424: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其

xml/apr_xml.c:424: 错误:所在的函数内也只报告一次。)

xml/apr_xml.c: 在函数‘do_parse’中:

xml/apr_xml.c:434: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:438: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c:442: 错误:‘apr_xml_parser’没有名为‘xp_err’的成员

xml/apr_xml.c:442: 错误:‘apr_xml_parser’没有名为‘xp’的成员

xml/apr_xml.c: 在函数‘apr_xml_parser_geterror’中:

xml/apr_xml.c:500: 错误:‘apr_xml_parser’没有名为‘xp_err’的成员

xml/apr_xml.c:500: 错误:‘apr_xml_parser’没有名为‘xp_err’的成员

make[1]: *** [xml/apr_xml.lo] 错误 1

make[1]: Leaving directory `/home/apr-util-1.6.0'

make: *** [all-recursive] 错误 1



解决办法

安装  expat-devel

yum inatsll expat-devel -y

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章