如何在Windows上为Cassandra安装Datastax PHP驱动程序?
我正在尝试根据说明为Cassandra安装Datastax PHP驱动程序。如何在Windows上为Cassandra安装Datastax PHP驱动程序?,php,cassandra,installation,driver,datastax,Php,Cassandra,Installation,Driver,Datastax,我正在尝试根据说明为Cassandra安装Datastax PHP驱动程序。 到目前为止,我已经安装了这些依赖项:Bison、CMake、Git、ActiveState Perl和Python。但是,当我运行说明(vc_build.bat)中提到的批处理文件时,它会报告下一个错误: Update cpp-driver submodule ... FAILED See D:\php-driver-master\php-driver-master\ext\\build\log\cpp-driver
到目前为止,我已经安装了这些依赖项:Bison、CMake、Git、ActiveState Perl和Python。但是,当我运行说明(
vc_build.bat
)中提到的批处理文件时,它会报告下一个错误:
Update cpp-driver submodule ... FAILED
See D:\php-driver-master\php-driver-master\ext\\build\log\cpp-driver.log for more details
Bison Not Found in PATH: Bison is required to complete build
Ensure Bison is installed in C:\GnuWin32
另外,cpp driver.log
文件的内容是:
Update cpp-driver submodule
fatal: Not a git repository (or any of the parent directories): .git
问题是我已经通过添加在Path系统变量中添加了C:\GnuWin32
;C:\GnuWin32
到路径变量中关联的字符串
可能有什么问题?我认为vc_build.bat中的检查功能有问题。只需注释掉BISON签入该文件,如下所示,您就可以让它工作了
REM Ensure additional build dependencies are installed
REM SET "PATH=!PATH!;!SYSTEMDRIVE!\GnuWin32\bin"
REM CALL :GETFULLPATH "!BISON!" BISON_FOUND
REM IF NOT DEFINED BISON_FOUND (
REM ECHO Bison Not Found in PATH: Bison is required to complete build
REM ECHO Ensure Bison is installed in !SYSTEMDRIVE!\GnuWin32
REM ECHO.
REM ECHO !DOWNLOAD_URL_BISON!
REM CHOICE /N /T 15 /D N /M "Would you like to download Bison now?"
REM IF !ERRORLEVEL! EQU !YES! START !DOWNLOAD_URL_BISON!
REM EXIT /B !EXIT_CODE_MISSING_BUILD_DEPENDENCY!
REM )