-
Notifications
You must be signed in to change notification settings - Fork 36
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
cygwin 编译预览--编译swoole-cli一次 耗时 30分钟左右 #108
Comments
jingjingxyk
changed the title
cygwin 编译预览--编译一次 耗时 30分钟左右
cygwin 编译预览--编译swoole-cli一次 耗时 30分钟左右
Apr 1, 2023
如果选择 msys2 提供的cygwin 环境 , msys2提供了这些包 pacman -Sy --noconfirm wget tar libtool re2c bison gcc autoconf automake openssl
pacman -Sy --noconfirm pcre2-devel openssl-devel libcurl-devel libxml2-devel libxslt-devel gmp-devel libsqlite-devel zlib-devel libbz2-devel \
liblz4-devel liblzma-devel icu-devel libcares-devel libyaml-devel libzstd-devel brotli-devel libreadline-devel libintl \
libssh2-devel libidn2-devel gettext-devel coreutils
pacman -Sy --noconfirm zip gzip lzip p7zip zlib bzip2 unzip
存在如下的问题
导致一些扩展并不能启用 ,比如 gd2 freetype magick 最好还是选择 cygwin 提供的环境 |
windows下 使用swoole-cli 调用shell_exec不成功, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
缘由: 反复尝试 github action windows-latest 环境,发现编译始终不通过
解决办法: 用一台全新的服务器来编译测试 ,找到问题所在。
发现问题所在: 因github runner 已经内置了
msys
环境,cygwin
如果不安装make
,默认引用的是mingw-make
。需要cygwin
安装make
解决问题 。另外还有需要创建目录mkdir -p bin/.libs
mkdir -p bin/.libs
The text was updated successfully, but these errors were encountered: