Castaa
2011-Sep-20 20:29 UTC
[LLVMdev] ../llvm/configure fails in Cygwin with space character in path name?
config.status: executing projects/Makefile commands config.status: executing bindings/Makefile commands config.status: executing bindings/ocaml/Makefile.ocaml commands === configuring in projects/sample (/home/Jon Smith/cl/build/projects/sample ) configure: running /bin/sh ../../../llvm/projects/sample/configure --prefix=/usr/local --cache-file=/dev/null --srcdir=../../../llvm/projects/sample configure: error: cannot find install-sh or install.sh in /home/Jon Smith/cl/llvm/autoconf "../../../llvm/projects/sample"//home/Jon Smith/cl/llvm/autoc onf configure: error: ../../../llvm/projects/sample/configure failed for projects/sample ---------- Above is the snippet of the reported failure when executing ../llvm/configure found in using the basic setup steps described in http://clang.llvm.org/get_started.html I'm running the most up to date version of Cygwin. I can confirm that install-sh does exist in the "/home/Jon Smith/cl/llvm/autoconf" folder. I think there's an issue with the configure script and space character in my Cygwin home directory ("Jon Smith"). I moved the folder to path that doesn't contain a space the error went away. I'm sure if this is a bug or not. -- View this message in context: http://old.nabble.com/..-llvm-configure-fails-in-Cygwin-with-space-character-in-path-name--tp32501357p32501357.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
NAKAMURA Takumi
2011-Sep-21 10:51 UTC
[LLVMdev] ../llvm/configure fails in Cygwin with space character in path name?
I don't think autoconf build scripts would be tolerant of whitespace pathname. To build tools and liibs, I recommend you should build them on desired tree. Anyway, I think it might be a little problematic if built tools did not accept whitespace pathnames. Then, please file a bug. ...Takumi
Jim Grosbach
2011-Sep-21 17:31 UTC
[LLVMdev] ../llvm/configure fails in Cygwin with space character in path name?
Why shouldn't they accept paths with spaces in them? *nix supports that, generally. So long as the paths are properly escaped in any input, things should work. If they don't, it's a bug. On Sep 21, 2011, at 3:51 AM, NAKAMURA Takumi wrote:> I don't think autoconf build scripts would be tolerant of whitespace pathname. > To build tools and liibs, I recommend you should build them on desired tree. > > Anyway, I think it might be a little problematic if built tools did > not accept whitespace pathnames. Then, please file a bug. > > ...Takumi > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev