We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Banging my head. Is there a config that changes the unsigned integer to something that compiles?
sudo pecl install sqlsrv
errors out with:
g++ -std=c++11 -I. -I/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZ76h5K/sqlsrv-5.6.1/include -I/tmp/pear/temp/pear-build-rootZ76h5K/sqlsrv-5.6.1/main -I/tmp/pear/temp/sqlsrv -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -I/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /tmp/pear/temp/sqlsrv/shared/core_stream.cpp -fPIC -DPIC -o shared/.libs/core_stream.o /tmp/pear/temp/sqlsrv/shared/core_stream.cpp:209:1: error: invalid conversion from ‘size_t ()(php_stream, char*, size_t) {aka long unsigned int ()(_php_stream, char*, long unsigned int)}’ to ‘ssize_t ()(php_stream, char*, size_t) {aka long int ()(_php_stream, char*, long unsigned int)}’ [-fpermissive] }; ^ Makefile:204: recipe for target 'shared/core_stream.lo' failed make: *** [shared/core_stream.lo] Error 1 ERROR: `make' failed yeh@linux1:/etc/php/7.4$ sudo update-alternatives --set phpize /usr/bin/phpize7.1 update-alternatives: error: alternative /usr/bin/phpize7.1 for phpize not registered; not setting yeh@linux1:/etc/php/7.4$ ^C
php -v Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.1, Copyright (c), by Zend Technologies
The text was updated successfully, but these errors were encountered:
@sqlAllAround v5.6.1 do not support 7.4. Please do sudo pecl install sqlsrv-5.7.1preview or wait for the next stable release.
sudo pecl install sqlsrv-5.7.1preview
Sorry, something went wrong.
@yitam Thank you. I was able to install.
pdo_sqlsrv can be made with:
sudo pecl install pdo_sqlsrv-5.7.1preview
Thanks @miurabo for the confirmation
@sqlAllAround we are going to close this issue due to inactivity. Please feel free to reopen if necessary.
No branches or pull requests
Banging my head. Is there a config that changes the unsigned integer to something that compiles?
sudo pecl install sqlsrv
errors out with:
g++ -std=c++11 -I. -I/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootZ76h5K/sqlsrv-5.6.1/include -I/tmp/pear/temp/pear-build-rootZ76h5K/sqlsrv-5.6.1/main -I/tmp/pear/temp/sqlsrv -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -I/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /tmp/pear/temp/sqlsrv/shared/core_stream.cpp -fPIC -DPIC -o shared/.libs/core_stream.o
/tmp/pear/temp/sqlsrv/shared/core_stream.cpp:209:1: error: invalid conversion from ‘size_t ()(php_stream, char*, size_t) {aka long unsigned int ()(_php_stream, char*, long unsigned int)}’ to ‘ssize_t ()(php_stream, char*, size_t) {aka long int ()(_php_stream, char*, long unsigned int)}’ [-fpermissive]
};
^
Makefile:204: recipe for target 'shared/core_stream.lo' failed
make: *** [shared/core_stream.lo] Error 1
ERROR: `make' failed
yeh@linux1:/etc/php/7.4$ sudo update-alternatives --set phpize /usr/bin/phpize7.1
update-alternatives: error: alternative /usr/bin/phpize7.1 for phpize not registered; not setting
yeh@linux1:/etc/php/7.4$ ^C
php -v
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.1, Copyright (c), by Zend Technologies
The text was updated successfully, but these errors were encountered: