Get SQL.H -Fehler auf MacOS 12 (Monterey) SQSRV und PDO_SQSRV -Laufwerk InstallationPhp

PHP-Programmierer chatten hier
Anonymous
 Get SQL.H -Fehler auf MacOS 12 (Monterey) SQSRV und PDO_SQSRV -Laufwerk Installation

Post by Anonymous »

Ich habe macOS 12 Monterey, Php 7.4. Ich möchte SQLSRV und PDO_SQLSRV -Laufwerke installieren. Ich habe jedoch den folgenden Fehler erhalten. < /P>

Code: Select all

g++ -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/ext -std=c++11 -I. -I/private/tmp/pear/temp/pdo_sqlsrv -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootbnJKua/pdo_sqlsrv-5.9.0/include -I/private/tmp/pear/temp/pear-build-rootbnJKua/pdo_sqlsrv-5.9.0/main -I/private/tmp/pear/temp/pdo_sqlsrv -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.27/include/php/ext/date/lib -I/private/tmp/pear/temp/pdo_sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /private/tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp  -fno-common -DPIC -o .libs/pdo_dbh.o
In file included from /private/tmp/pear/temp/pdo_sqlsrv/pdo_dbh.cpp:24:
In file included from /private/tmp/pear/temp/pdo_sqlsrv/php_pdo_sqlsrv_int.h:23:
In file included from /private/tmp/pear/temp/pdo_sqlsrv/shared/core_sqlsrv.h:41:
In file included from /private/tmp/pear/temp/pdo_sqlsrv/shared/FormattedPrint.h:24:
In file included from /private/tmp/pear/temp/pdo_sqlsrv/shared/xplat_winnls.h:24:
In file included from /private/tmp/pear/temp/pdo_sqlsrv/shared/typedefs_for_linux.h:23:
/private/tmp/pear/temp/pdo_sqlsrv/shared/xplat.h:30:10: fatal error: 'sql.h' file not found
#include 
^~~~~~~
1 error generated.
make: *** [pdo_dbh.lo] Error 1
ERROR: `make' failed
Ich versuche auch 5.10.0-beta2 (Pre-Release)
[1]: https://github.com/microsoft/mSphpsql/releases/. Aber ich bekomme immer noch den gleichen Fehler. Habe ich irgendwelche Schritte verpasst oder die Veröffentlichung ist nicht bereit für macOS 12. Danke

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post