Skip to content

Error of Installation httpd-2.4.27 failed #24

@justwjx

Description

@justwjx

OS: Cent OS 6.x
error occurred when run lamp.sh

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’ make[3]: *** [xml/apr_xml.lo] Error 1 make[3]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib'
make: *** [all-recursive] Error 1
make: *** empty string invalid as file name. Stop.

+------------------+
| ERROR DETECTED |
+------------------+
Installation httpd-2.4.27 failed.
The Full Log is available at /root/lamp-master/lamp.log
Please visit website: https://lamp.sh/faq.html for help
4.4.7-18) (GCC) ) #1 SMP Tue Jun 20 01:26:55 UTC 2017
Memery:
total used free shared buffers cached
Mem: 1700 594 1105 0 25 392
-/+ buffers/cache: 176 1523
Swap: 0 0 0
Disk:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.8G 1.6G 7.8G 17% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 851M 0 851M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
PHP Version: php-5.6.31
PHP compile parameter: --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php/etc --with-config-file-scan-dir=/usr/local/php/php.d --with-pcre-dir=/usr/local/pcre --with-imap=/usr/local/imap --with-imap-ssl --with-libxml-dir --with-openssl --with-snmp --with-libdir=lib64 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-gd --with-vpx-dir --with-jpeg-dir --with-png-dir --with-xpm-dir --with-freetype-dir --with-zlib --with-bz2 --with-curl=/usr --with-gettext --with-gmp --with-mhash --with-icu-dir=/usr --with-ldap --with-ldap-sasl --with-libmbfl --with-onig --with-mcrypt --with-unixODBC --with-pspell=/usr --with-enchant=/usr --with-readline --with-tidy=/usr --with-xmlrpc --with-xsl --without-pear --enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-ftp --enable-gd-native-ttf --enable-gd-jis-conv --enable-intl --enable-mbstring --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-wddx --enable-zip --enable-mysqlnd
Issue:failed to install httpd-2.4.27`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions