【问题标题】:How to set variables with ./configure如何使用 ./configure 设置变量
【发布时间】:2015-02-11 05:39:34
【问题描述】:

我正在尝试在现有的 pthreads 旁边编译和安装一个新的 PHP 版本。

运行./configure,该进程正在使用我的默认系统PHP变量, 不是我所在的:

checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20100525
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no

如何将其更改为使用/usr/local/src/php-5.6.5/ext

【问题讨论】:

    标签: php c compilation configure


    【解决方案1】:

    这样就完成了:

    ./configure --prefix=/usr/local/src/php-5.6.5
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-02-04
      • 2021-12-29
      • 2021-05-16
      • 2019-11-30
      • 2018-01-01
      • 1970-01-01
      • 2011-12-29
      相关资源
      最近更新 更多