You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with debug output on.
/usr/lib
Called from: [2] /home/vagrant/workspace/zendapidevel/cmake/modules/DetectPhpInfo.cmake
[1] /home/vagrant/workspace/zendapidevel/CMakeLists.txt
CMake Error at cmake/modules/DetectPhpInfo.cmake:34 (message):
php library is not found automatic, maybe your php is not in system
standard path you can specify ZAPI_OPT_PHPCFG_PATH and try again, good
luck!
Call Stack (most recent call first):
CMakeLists.txt:138 (include)
Called from: [2] /home/vagrant/workspace/zendapidevel/cmake/modules/DetectPhpInfo.cmake
[1] /home/vagrant/workspace/zendapidevel/CMakeLists.txt
-- Configuring incomplete, errors occurred!
See also "/home/vagrant/workspace/build-zendapi/CMakeFiles/CMakeOutput.log".
See also "/home/vagrant/workspace/build-zendapi/CMakeFiles/CMakeError.log".
if (NOT ZAPI_LIBPHP_PATH)
message(FATAL_ERROR "php library is not found automatic, maybe your php is not in system standard path "
"you can specify ZAPI_OPT_PHPCFG_PATH and try again, good luck!")
endif()
我在macosx和ubuntu都尝试了编译,都卡在了这里,我设置了
ZAPI_OPT_PHPCFG_PATH
变量,但是find_library
总是找不到库,不清楚是什么原因,我message(${ZAPI_PHP_LIB_PATH})
打印是正常指定到了lib
目录,手动ll
了下lib
目录下是有php
目录的The text was updated successfully, but these errors were encountered: