...数也不行 php 5.2.13 [root@zjx phpext]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 [root@zjx phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php/bin/php-config...
...以下): /usr/local/php/bin/phpize --clean /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/bin/php-config make make install 这时 .so 可能会安装到默认的 /usr/local/php/lib/extensions/no-debug ... 拷到你需要的位置,以这个方式编译出来的 scws.so ...
.../usr/bin/nm -B output from gcc object... ok checking for sysroot... no ./configure: line 6707: /usr/bin/file: No such file or directory checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checkin...
从 Git 源码仓库安装后,./configure后报libevent版本过低的错误,重新安装libevent2.0.20并指定--with-libevent后仍然报错。。。用自动安装的方式安装没问题,求解!
你编译的SCWS.SO和所用的PHP不是同一个版本。。。重新用对应配套的 phpize php-config 吧,如果你的系统有默认装的早先的php 请在 ./configure 中明确的用 --with-php-config=.... 指定真正在用的PHP-CONFIG
在phpext目录./configure之前做一下 export CFLAGS="-O2 -DZTS=1" 不知为什么会检测到 zts off,而实际上 zts 是 on,或许是编译脚本太旧?
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS PHP Fatal error: Uncaught [XSException] data/api/xs/lib/XS.php(819): Missing field of type ID thrown in /xxxxx/data/api/xs/lib/XS.php on line 819 帮忙看下 谢谢
...king: Command not found. checking for scws_new in -lscws... no gateway2# configure: error: scws_new() NOT found in libscws, please check it first. checking for any prototype needed for pread... none required checking: Command not found. gateway2# checking for pwrite... yes checking: Command no...
你看一看 /usr/include/zlib.h 是否存在呢?还有,要重新configure
...PER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4....