Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any package management system for MinGW+MSYS?

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.

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.

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

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

enter image description here

like image 878
smwikipedia Avatar asked May 05 '15 07:05

smwikipedia


People also ask

What is MSYS in MinGW?

In addition, a component of MinGW known as MSYS (minimal system) provides Windows ports of a lightweight Unix-like shell environment including rxvt and a selection of POSIX tools sufficient to enable autoconf scripts to run, but it does not provide a C compiler or a case-sensitive file system.

What is the difference between MSYS and MinGW?

MINGW refers to executables that are compiled using the MINGW GCC Compiler and target the Win32 API. MSYS2 refers to executables that are compiled by MSYS2 GCC Compiler and make use of a POSIX emulation layer.

How many packages are there in MinGW?

2437 packages (mingw64)


1 Answers

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).

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).

like image 148
Keith Marshall Avatar answered Sep 27 '22 20:09

Keith Marshall