make test不通过不要紧的。直接sudo make install吧。除非你把所有东西都编译进去,否则总是有一些test case不能通过。我的编译选项比你多得多,但是还是依然有几个测试用例不能passed。

解决方案 »

  1.   

    问题是
    这种情况下
    make install运行到一半会停下来
    然后也不报错
      

  2.   

    把make install最后的输出贴出来。
      

  3.   

    [code=BatchFile]
    [root@localhost php-5.2.8]# make install
    Installing PHP SAPI module:       apache2handler
    /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
    /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
    cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
    cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
    libtool: install: warning: remember to run `libtool --finish /root/Desktop/php-5.2.8/libs'
    chmod 755 /usr/local/apache2/modules/libphp5.so
    [activating module `php5' in /usr/local/apache2/conf/httpd.conf]
    Installing PHP CLI binary:        /usr/local/php5/bin/
    Installing PHP CLI man page:      /usr/local/php5/man/man1/
    Installing build environment:     /usr/local/php5/lib/php/build/
    Installing header files:          /usr/local/php5/include/php/
    Installing helper programs:       /usr/local/php5/bin/
      program: phpize
      program: php-config
    Installing man pages:             /usr/local/php5/man/man1/
      page: phpize.1
      page: php-config.1
    Installing PEAR environment:      /usr/local/php5/lib/php/
    [PEAR] Console_Getopt - installed: 1.2.3
    [PEAR] Archive_Tar    - installed: 1.3.2
    [PEAR] Structures_Graph- installed: 1.0.2
    pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
    [PEAR] PEAR           - installed: 1.7.2
    Wrote PEAR system config file at: /usr/local/php5/etc/pear.conf
    You may want to add: /usr/local/php5/lib/php to your php.ini include_path
    Installing PDO headers:          /usr/local/php5/include/php/ext/pdo/
    [root@localhost php-5.2.8]# 
    [/code]
      

  4.   

    你已经安装成功了,并不是安装到一半停下来。你为什么会认为是安装到一半?cli安装了,header装了,需要的pear也装了,man也装了,mod for apache也装了。你还想装什么?