MinGW + MSYS是否有任何软件包管理系统? [英] Is there any package management system for MinGW+MSYS?

查看:451
本文介绍了MinGW + MSYS是否有任何软件包管理系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在MinGW + MSYS中编译一些开源库.在configure阶段,我一直看到缺少一些第三方库.

I am trying to compile some open source libraries in MinGW+MSYS. During the configure phase, I kept seeing some 3rd party libraries are missing.

目前,我的解决方案是下载缺少的库的源代码,并按照GNU构建过程进行编译并将其安装到我的MinGW环境中.

For now, my solution is to download the source of the missing libraries and follow the GNU build process to compile and install them into my MinGW environment.

是否有MinGW + MSYS的软件包管理系统可轻松安装软件包?就像apt-get.

Is there any package management system for MinGW+MSYS to install packages easily? Just like apt-get.

我尝试了mingw-get来寻找缺少的包裹.但是它在下面报告了错误.

I tried the mingw-get for the missing package. But it reports the error below.

推荐答案

mingw-get 是MinGW和MSYS的(最接近apt-get的)程序包管理器.但是,它只能管理MinGW和/或MSYS实际上可用的程序包(因为MinGW开发人员已构建并打包它们,或者是MinGW用户社区的成员提供了它们).

mingw-get is the (closest equivalent to apt-get) package manager for MinGW and MSYS. However, it can only manage packages which are actually available for MinGW and/or MSYS, (either because a MinGW developer has built and packaged them, or a member of the MinGW user community has contributed them).

任意猜测可能有哪些软件包,甚至可能有正确的软件包名称,也不太可能产生效果.在其GUI模式下运行mingw-get(如果已正确安装,则只需在不带参数的情况下运行mingw-get即可在此模式下启动它),以查看实际可用的软件包列表;如果您没有找到想要的任何候选对象,则表明该候选对象还不存在.在这种情况下,您将需要找到非MinGW替代版本,或者从源代码自己构建. (如果选择后一个选项,并且构建成功,那么您不妨考虑将其贡献给MinGW.org.)

Arbitrarily guessing what packages may be available, and even what their correct package names may be, is unlikely to be productive. Run mingw-get in its GUI mode, (if it's properly installed, just running mingw-get without arguments should start it in this mode), to see a list of packages which are actually available; if you don't see any likely candidates for what you are looking for, then it doesn't (yet) exist. In that case, you will need to either find a non-MinGW alternative build, or build it yourself, from source. (If you choose the latter option, and your build is successful, then you may wish to consider contributing it to MinGW.org).

这篇关于MinGW + MSYS是否有任何软件包管理系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆