-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
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
Unable to install using Pickle #1210
Comments
Thanks for bringing this to our attention @duncan3dc |
hi @duncan3dc thanks for your patience. I just tested it in Linux Ubuntu 18.04 and could reproduce this based on pickle readme. Note that 5.9.0preview1 is the latest PECL package, and this is what I see:
In trying to understand what changes are required, I found this manual. Does it mean Is there any other documentation to ease migration and/or support Pickle? |
There's two problems there, one is that yes the latest tag using the prefix "preview" isn't valid, the valid modifiers are:
But even if that was fixed, the second problem (the one this PR was raised for) is still an issue, these lines here: msphpsql/source/shared/version.h Lines 64 to 65 in d92cc3d
Should be:
or in the case of preview releases:
|
Thanks @duncan3dc. From my brief testing, changing the two versions from macros to plain strings work for a stable version (tested with the latest 5.8.1). However, installing the latest preview still failed in We plan to release another preview and will update the versions accordingly (replacing 'preview' with 'beta', for example). Please stay tuned. |
Just released 5.9.0-beta2. This will be the last preview before the stable release. We have changed to use the beta terminology and used simple strings instead of macros. |
That looks like a Pickle issue, I've raised it here: FriendsOfPHP/pickle#202 |
Was able to successfully install the drivers using Pickle in Ubuntu 18.04. Closing this issue now. Please feel free to reopen if necessary. |
Pickle expects to find a simple string containing the version number in the headers, however this extension is building the version string dynamically, so Pickle ends up with a version of
'PHP_SQLSRV_VERSION'
which leads the following error:Would it be possible to define these constants as simple strings instead?
msphpsql/source/shared/version.h
Lines 64 to 65 in d92cc3d
The text was updated successfully, but these errors were encountered: