On Mon, Dec 9, 2019 at 4:54 PM Dima Pasechnik <dimp...@gmail.com> wrote: > > > > On Mon, 9 Dec 2019, 15:52 Dima Pasechnik, <dimp...@gmail.com> wrote: >> >> 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. > > > http://savannah.gnu.org/bugs/?712
Indeed, spaces in filenames are a problem for a number of UNIX programs, but it's not a problem for Cygwin itself by any means. The only problem here is that by default your PATH includes the default PATH for Windows as well, and if you don't have a program in one of /bin:/usr/bin:/usr/local/bin or any other Cygwin paths on your PATH, and there *happens* to be some random program (in this case the same program but an incompatible build thereof) on your Windows PATH you'll still end up using that one. This should obviously be avoided. When working with Cygwin you should generally avoid using anything outside the Cygwin root filesystem except by explicit intent (e.g. I do use a few programs outside of Cygwin such as the Microsoft compilers and related tools). >> 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/CAAWYfq298mjAhviDVWEa%3DJJ%3DYZ0-MV8%2BQCFpkfxy7je8deoLmA%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/CAOTD34Y3T-T9CnQvQ2SiSCz-hNTBFrVDkw8vjjYs6zEot57oFw%40mail.gmail.com.