I thought I had to identical boxes but it builds on 1, but not on the other
This is what I get on FreeBSD:
Code:xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser' xml/apr_xml.c: In function 'cleanup_parser': xml/apr_xml.c:364: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:365: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c: At top level: xml/apr_xml.c:384: error: expected ';', ',' or ')' before '*' token xml/apr_xml.c: In function 'apr_xml_parser_create': xml/apr_xml.c:401: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:402: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:410: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:411: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:412: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:424: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:424: error: 'default_handler' undeclared (first use in this function) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: error: for each function it appears in.) xml/apr_xml.c: In function 'do_parse': xml/apr_xml.c:434: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:438: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp_err' xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c: In function 'apr_xml_parser_geterror': xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err' xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err' *** Error code 1 gcc -E -DHAVE_CONFIG_H -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include/private -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp 1 error *** Error code 1 1 error *** Error code 1 1 error *** Error code 1 1 error
Try:
Code:
pkg install expat