[root@localhost apr-util]# ./configure --prefix=/usr/local/apr-tuil --with-apr=/usr/local/apr/
我安装了两个apache依赖,第一个apr包没问题。第二个包apr-util老是卡在这里,查了很多资料不知道是什么意思 centos5.5环境
checking old Debian-packaged expat... no
checking old FreeBSD-packaged expat... no
checking Expat 1.0/1.1... no
setting LDFLAGS to "-L/usr/local/lib"
adding "-I/usr/local/include" to CPPFLAGS
checking Expat 1.95.x in /usr/local... no
nulling LDFLAGS
removed "-I/usr/local/include" from CPPFLAGS
configuring package in xml/expat now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
/root/httpd-2.3.8/srclib/apr-util/xml/expat/configure: line 2417: syntax error near unexpected token `lt_decl_varnames,'
/root/httpd-2.3.8/srclib/apr-util/xml/expat/configure: line 2417: `lt_if_append_uniq(lt_decl_varnames, SHELL, , ,'
configure failed for xml/expat
[root@localhost apr-util]# rpm -qa expat
expat-1.95.8-8.3.el5_4.2
下载地址和依赖包http://httpd.apache.org/download.cgi#apache23
Apache HTTP Server 2.3.8-alpha 2010-08-31
The Apache HTTP Server Project is pleased to announce the release of Apache HTTP Server, version 2.3.8-alpha. This version of httpd is principally an alpha release to test new technology and features that are incompatible or too large for the stable 2.2.x branch. This alpha release should not be presumed to be compatible with binaries built against any prior or future version.
This release is expected to be the last alpha release; subsequent releases will be beta releases as we move towards 2.4.0-GA.
For details see the Official Announcement and the CHANGES_2.3 lists
* Unix Source: httpd-2.3.8.tar.bz2 [PGP] [MD5] [SHA1]
* Unix dependencies Source: httpd-2.3.8-deps.tar.bz2 [PGP] [MD5] [SHA1]
* Other files
hyf320481 于 2010-12-13 16:14:35发表:
把我的贴子删了吧 官方提供的apr-util没用。要下载最新的