well, I recall replacing "Program\ Files" with PROGRA~1 all over the place, in 1999 :-)
anyway it is a hassle, for e.g. GNU make is not too happy with paths with spaces, either. On Mon, 9 Dec 2019, 15:35 E. Madison Bray, <erik.m.b...@gmail.com> wrote: > On Mon, Dec 9, 2019 at 4:34 PM E. Madison Bray <erik.m.b...@gmail.com> > wrote: > > > > On Mon, Dec 9, 2019 at 8:42 AM Dima Pasechnik <dimp...@gmail.com> wrote: > > > > > > I don't think Cygwin supports paths with spaces in them. > > > > Of course it does. However, it looks like Samuel ran `make configure` > > which is trying to run the `bootstrap` script, which since > > https://trac.sagemath.org/ticket/27823 calls gettextize, but some of > > the uses of gettextize are not properly quoted. > > > > However, it looks like the gettext-devel package is not installed on > > his Cygwin, and it happens to be finding a gettextize that was > > including in Git for Windows which was also on his path. This is > > clearly no good. > > > > gettextize-devel should be added to the list of packages to install I > > guess (the default instructions assume you don't have autotools and > > all and will just download the configure tarball...) > > * Sorry, that should say "gettext-devel" > > > > On Mon, 9 Dec 2019, 03:53 Samuel Lelievre, <samuel.lelie...@gmail.com> > wrote: > > >> > > >> Dear Sage-devel, > > >> > > >> Recently I have a problem with Sage on Cygwin where > > >> running `make configure` runs into a problem with the > > >> space in the "Program Files" directory in Windows. > > >> > > >> Apparently there is an attempt to read > > >> > > >> /cygdrive/c/Program Files/Git/mingw64/bin/gettextize > > >> > > >> but the path gets split at the space into two parts, > > >> as if > > >> > > >> /cygdrive/c/Program > > >> > > >> and > > >> > > >> Files/Git/mingw64/bin/gettextize > > >> > > >> were two different paths, and this protest is issued: > > >> > > >> sed: unable to read > > >> /cygdrive/c/Program: > > >> No such file or directory > > >> > > >> sed: unable to read > > >> Files/Git/mingw64/bin/gettextize: > > >> No such file or directory > > >> > > >> See below with a French locale. > > >> > > >> Any advice on what to do? > > >> > > >> Samuel > > >> > > >> ----- output of make configure ----- > > >> ``` > > >> $ make configure > > >> ./bootstrap -d > > >> make[1] : on entre dans le répertoire « /home/lelievre/s/sage2 » > > >> rm -rf config configure build/make/Makefile-auto.in > > >> make[1] : on quitte le répertoire « /home/lelievre/s/sage2 » > > >> sed: impossible de lire /cygdrive/c/Program: No such file or directory > > >> sed: impossible de lire Files/Git/mingw64/bin/gettextize: No such > file or directory > > >> sed: impossible de lire /cygdrive/c/Program: No such file or directory > > >> sed: impossible de lire Files/Git/mingw64/bin/gettextize: No such > file or directory > > >> sed: impossible de lire /cygdrive/c/Program: No such file or directory > > >> sed: impossible de lire Files/Git/mingw64/bin/gettextize: No such > file or directory > > >> sed: impossible de lire /cygdrive/c/Program: No such file or directory > > >> sed: impossible de lire Files/Git/mingw64/bin/gettextize: No such > file or directory > > >> Failed to read the gettext_datadir directory from /cygdrive/c/Program > Files/Git/mingw64/bin/gettextize > > >> The config.rpath file must manually be copied into config/ > > >> This file is installed with gettext typically in /usr/share/gettext > > >> Bootstrap failed, downloading required files instead. > > >> Attempting to download package > configure-b4df16c19ab9b47303b7f3eaf78bb6c1b1c89679.tar.gz from mirrors > > >> Downloading the Sage mirror list > > >> ``` > > >> > > >> -- > > >> You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > >> To unsubscribe from this group and stop receiving emails from it, > send an email to sage-devel+unsubscr...@googlegroups.com. > > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/9fcf423f-ff7a-47ed-ac55-7f66bd1e90cb%40googlegroups.com > . > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+unsubscr...@googlegroups.com. > > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAAWYfq3qGbu9eo4eM1-sv-D%3Dx-UBb_C_t%3D-JgvdViOTe9xzkPQ%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAOTD34ZLu086Br22RS0cKZuxPbLxviZ%3D3D4VVjh5CtwYnpDtvA%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq115noEwEQZtjJgAFZKqAcP9ER4B7%3D_3O88DxBdDZp22A%40mail.gmail.com.