Skip to content
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 openswoole in alpine (docker) #244

Open
FLasH3r opened this issue Nov 1, 2021 · 0 comments
Open

Unable to install openswoole in alpine (docker) #244

FLasH3r opened this issue Nov 1, 2021 · 0 comments

Comments

@FLasH3r
Copy link

FLasH3r commented Nov 1, 2021

Error:

Couldn't parse or find the version defined in the (?:PHP_)?OPENSWOOLE_(?:EXT_)?VERSION macro

installation of pickle worked:

bash-5.1# wget https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar
--2021-11-01 18:23:13--  https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.7/pickle.phar [following]
--2021-11-01 18:23:13--  https://github.com/FriendsOfPHP/pickle/releases/download/v0.7.7/pickle.phar
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/20719020/bcc4d118-6e68-4271-a245-567d8d6b9736?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211101%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211101T182313Z&X-Amz-Expires=300&X-Amz-Signature=2f3e583c0e3b7ace1e45693855a63fcc2da7be4f4a94d13e04bf2fe6e083d0bb&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=20719020&response-content-disposition=attachment%3B%20filename%3Dpickle.phar&response-content-type=application%2Foctet-stream [following]

then I run:

mv pickle.phar /usr/local/bin/pickle
chmod +x /usr/local/bin/pickle

pickle --version reports:

bash-5.1# pickle --version

 ██████╗ ██╗ ██████╗██╗  ██╗██╗     ███████╗
 ██╔══██╗██║██╔════╝██║ ██╔╝██║     ██╔════╝
 ██████╔╝██║██║     █████╔╝ ██║     █████╗
 ██╔═══╝ ██║██║     ██╔═██╗ ██║     ██╔══╝
 ██║     ██║╚██████╗██║  ██╗███████╗███████╗
 ╚═╝     ╚═╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝  v0.7.7

but this is the error I get when I try to install openswoole

bash-5.1# pickle install openswoole
  - Installing openswoole (latest-stable): Downloading (100%)         

In Version.php line 81:
                                                                                                
  Couldn't parse or find the version defined in the (?:PHP_)?OPENSWOOLE_(?:EXT_)?VERSION macro  
                                                                                                

install [--no-convert] [--defaults] [--source] [--with-configure-options WITH-CONFIGURE-OPTIONS] [--save-logs SAVE-LOGS] [--dry-run] [--php PHP] [--ini INI] [--tmp-dir TMP-DIR] [--version-override [VERSION-OVERRIDE]] [--] [<path>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant