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

zlib安装时解压缩翻车 #289

Closed
fy0 opened this Issue Dec 12, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@fy0
Copy link
Contributor

fy0 commented Dec 12, 2018

checking for the cmake ... ok
note: try installing these packages (pass -y to skip confirm)?
  -> zlib 1.2.11
please input: y (y/n)

pinging for the host(downloads.sourceforge.net) ... 196 ms
pinging for the host(zlib.net) ... 226 ms
checking for the gzip ... no
checking for the 7z ... no
  => download https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz .. ok
error: cannot change directory D:\ProgramData\xmake\cache\packages\z\zlib\1.2.11\source, not found this directory syserror: not file or directory

手动解压缩:
image

编译成功

@waruqi

This comment has been minimized.

Copy link
Member

waruqi commented Dec 12, 2018

是由于你这装了git,自动检测到后,就不再去安装xmake内置的xmake-winenv环境包,里面内置了git/7z/gzip,所以你这缺少解压工具去解压gz源码包

这块我之后拆分成独立的三个依赖包,即可解决。。或者你可以自己装下7z等工具

@waruqi waruqi transferred this issue from xmake-io/xmake-repo Dec 13, 2018

@waruqi waruqi added this to the v2.2.4 milestone Dec 13, 2018

@waruqi

This comment has been minimized.

Copy link
Member

waruqi commented Dec 14, 2018

这个问题我修复了,你可以更新下试试:https://github.com/tboox/xmake/releases/download/v2.2.3/xmake-v2.2.4-dev.exe

@fy0

This comment has been minimized.

Copy link
Contributor Author

fy0 commented Dec 14, 2018

这个等一等,白天忘了试,要等下周4了可能

@fy0

This comment has been minimized.

Copy link
Contributor Author

fy0 commented Dec 20, 2018

image

看起来正确工作了

@fy0 fy0 closed this Dec 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.