- 积分
- 36
- 威望
-
- 金钱
-
- 注册时间
- 2010-4-4
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
因环境需要php支持sybase连接,教程按照:https://www.vpser.net/manage/lnmp-php-install-ext.html 进行安装。
环境 :Ubuntu 14 LTS
过程:
- #cd /lnmp1.1-full/php-5.2.17/ext/sybase_ct
复制代码
- #/usr/local/php/bin/phpize
复制代码
返回结果:
- PHP Api Version: 20041225Zend Module Api No: 20060613Zend Extension Api No: 220060519configure.in:3: warning: prefer named diversionsconfigure.in:3: warning: prefer named diversions
复制代码
执行:
- ./configure --with-php-config=/usr/local/php/bin/php-config
复制代码
返回结果:
- checking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for PHP prefix... /usr/local/phpchecking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/libchecking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613checking for PHP installed headers prefix... /usr/local/php/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... re2cchecking for re2c version... 0.13.5 (ok)checking for gawk... gawkchecking for Sybase-CT support... yes, sharedconfigure: error: ctpublic.h missing!
复制代码
执行:
返回结果:
- make: *** 没有指明目标并且找不到 makefile。 停止。
复制代码 |
|