-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
无法编译使用bzip2 #5355
Comments
Title: Cannot compile using bzip2 |
本地 Ubuntu 无法复现,可能是包仓库文件有缺失。用 |
It cannot be reproduced on local Ubuntu. It may be that the package warehouse file is missing. Use |
[Docker] ❯ xmake show The information of project: learn /workspaces/learn via 🌙 ⬢ [Docker] ❯ xmake -vD error: Invalid option: --enable_tools=true => install bzip2 1.0.8 .. failed stack traceback: |
这个好像和重新指定XMAKE_GLOBALDIR位置有关(通过环境变量将XMAKE_GLOBALDIR设置为当前目录.deps)。还原XMAKE_GLOBALDIR,这个“error: Invalid option: --enable_tools=true”错误消失了 |
不要指向当前目录。 |
Do not point to the current directory. The xmake.lua port build in |
之前是指向当前目录的子目录(XMAKE_GLOBALDIR=.deps),如果这也不行的话,XMAKE_GLOBALDIR岂不是没有存在的意义 @waruqi |
It used to point to a subdirectory of the current directory (XMAKE_GLOBALDIR=.deps). If this doesn't work, wouldn't XMAKE_GLOBALDIR have no meaning? @waruqi |
Xmake 版本
xmake v2.9.5+20240925
操作系统版本和架构
Ubuntu 24.04.1 LTS
描述问题
无法编译使用bzip2库
期待的结果
正常编译使用bzip2库
工程配置
xmake.lua配置
源代码
附加信息和错误日志
The text was updated successfully, but these errors were encountered: