Menu

Problema when there are spaces in the install path

Biowep
2015-07-10
2015-11-17
  • Biowep

    Biowep - 2015-07-10

    Hi, I installed MSYS2 in "C:\Program Files\msys64" but when I try to launch, it says it can't find "C:\Program"
    I think you missed the quotation marks.

     
  • Alexx83

    Alexx83 - 2015-07-10

    Do not install MSYS2 in folders that have spaces

     
    • Biowep

      Biowep - 2015-07-10

      This is not a reasonable limitation

       
  • Ray Donnelly

    Ray Donnelly - 2015-07-10

    Fine, then don't use MSYS2.

     
  • Ray Donnelly

    Ray Donnelly - 2015-07-10

    As an explanation, MSYS2 presents a Unix software and software development environment. Unix-y software will not work when the root folder has spaces in it (just try that with GNU make for example).

    We could attempt to fix each space related issue we encounter but it would be an unending task involving patching many bits of software and we'd rather spend our time doing useful work than constantly updating such patches.

    Again, you are welcome to use some other software if you think our stance unreasonable.

     
    • Biowep

      Biowep - 2015-07-10

      I thought it would be easier to fix.
      No intention to offend anyone. I just wanted to report a (non) bug.

      Maybe a warning message in the installation window would be usefull for non experienced users like me. (I mean a warning message to install the program in a path without spaces)

       

      Last edit: Biowep 2015-07-10
  • Ray Donnelly

    Ray Donnelly - 2015-07-10

    No offence was taken on my part. MSYS2 is a large project in scope and many people only want to use a small part of that so sometimes don't see the whole picture. We also must be sensible with how we spend our time. Most features and bug fixes comes with a cost and those must be weighed up carefully.

    I agree that prohibiting the user from entering a path with spaces in the installer would be a good feature. Feel free to make a bug over at https://github.com/Alexpux/MSYS2-packages/issues

    Thanks!

     
  • DanAaronGoldman

    DanAaronGoldman - 2015-10-26

    Just my two bits. I can't imagine ever putting spaces in a file or directory name. There is no point. Spaces causes many obvious problems. Use hyphen or underscore. I would vote to spend time developing or fixing other things, and not cater to / encourage bad practices like spaces.

     
    • David Macek

      David Macek - 2015-11-17

      I don't like spaces either, but if you're creating software for a system that supports spaces in paths, you should support them. Not only there are people who use them (or have to use them because of badly named stuff like Program Files), but ignoring the possibility of spaces sounds like a recipe for security holes.