my prefix=/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/built, make install do not work.
me@DOOR UCRT64 /e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make $ make install Making install in gllib make[1]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make install-recursive make[2]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[3]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[4]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[3]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[2]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' make[1]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gllib' Making install in glm4 make[1]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/glm4' make[2]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/glm4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/glm4' make[1]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/glm4' Making install in gltests make[1]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make install-recursive make[2]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' Making install in . make[3]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[4]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[3]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[2]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[1]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make/gltests' make[1]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make' make[2]: Entering directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make' make[1]: Leaving directory '/e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make' me@DOOR UCRT64 /e/workspace/github.com/gnu/gnulib/my-gnulib/me/build/make $ ls Makefile config.h config.log config.status gllib glm4 gltests stamp-h1 On Fri, Jul 5, 2024 at 11:33 AM anlex N <an0291...@gmail.com> wrote: > However, it can create in the /tmp folder, but can not build, so crazy: > > hello@world UCRT64 /tmp/my-testdir2 > $ MSYS2_ENV_CONV_EXCL=* > LDFLAGS=/e/workspace/github.com/gnu/ncurses/build/make/built/lib ./configure > configure: loading site script /etc/config.site > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a race-free mkdir -p... /usr/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in '/tmp/my-testdir2': > configure: error: C compiler cannot create executables > See 'config.log' for more details > hello@world UCRT64 /tmp/my-testdir2 > $ cat config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by dummy configure 0, which was > generated by GNU Autoconf 2.72. Invocation command line was > > $ ./configure > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = DOOR > uname -m = x86_64 > uname -r = 3.5.3.x86_64 > uname -s = MINGW64_NT-10.0-22631 > uname -v = 2024-06-03 06:22 UTC > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = x86_64 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > /usr/bin/hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /ucrt64/bin/ > PATH: /usr/local/bin/ > PATH: /usr/bin/ > PATH: /bin/ > PATH: /c/Windows/System32/ > PATH: /c/Windows/ > PATH: /c/Windows/System32/Wbem/ > PATH: /c/Windows/System32/WindowsPowerShell/v1.0/ > PATH: /usr/bin/site_perl/ > PATH: /usr/bin/vendor_perl/ > PATH: /usr/bin/core_perl/ > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:2904: loading site script /etc/config.site > | # This file is in public domain. > | # Original author: Karlson2k (Evgeny Grin) > | # Written for MSys2 to help running 'configure' scripts > | > | # Defaults for MSys2/MinGW64-targeted programs > | > | # Set proper selfname on bash and fallback to default name on other shells > | test -n "${BASH_SOURCE}" 2>/dev/null && > config_site_me="${BASH_SOURCE[0]##*/}" || config_site_me=config.site > | > | # Set default 'host' to speedup configure > | if test -z "$build_alias"; then > | build_alias="${MSYSTEM_CHOST}" && \ > | ${as_echo-echo} "$config_site_me:${as_lineno-$LINENO}: default > build_alias set to $build_alias" >&5 > | fi > | > | # Set default 'prefix' > | if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \ > | ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then > | prefix="${MSYSTEM_PREFIX}" && \ > | ${as_echo-echo} "$config_site_me:${as_lineno-$LINENO}: default prefix > set to $prefix" >&5 > | fi > config.site:13: default build_alias set to x86_64-w64-mingw32 > config.site:20: default prefix set to /ucrt64 > configure:3287: looking for aux files: config.rpath config.guess config.sub > compile missing install-sh > configure:3300: trying ./build-aux/ > configure:3329: ./build-aux/config.rpath found > configure:3329: ./build-aux/config.guess found > configure:3329: ./build-aux/config.sub found > configure:3329: ./build-aux/compile found > configure:3329: ./build-aux/missing found > configure:3311: ./build-aux/install-sh found > configure:3460: checking for a BSD-compatible install > configure:3534: result: /usr/bin/install -c > configure:3545: checking whether build environment is sane > configure:3600: result: yes > configure:3761: checking for a race-free mkdir -p > configure:3804: result: /usr/bin/mkdir -p > configure:3811: checking for gawk > configure:3832: found /usr/bin/gawk > configure:3844: result: gawk > configure:3855: checking whether make sets $(MAKE) > configure:3879: result: yes > configure:3909: checking whether make supports nested variables > configure:3928: result: yes > configure:4131: checking for gcc > configure:4152: found /ucrt64/bin/gcc > configure:4164: result: gcc > configure:4523: checking for C compiler version > configure:4532: gcc --version >&5 > gcc.exe (Rev3, Built by MSYS2 project) 14.1.0 > Copyright (C) 2024 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:4543: $? = 0 > configure:4532: gcc -v >&5 > Using built-in specs. > COLLECT_GCC=E:\software\msys2\ucrt64\bin\gcc.exe > COLLECT_LTO_WRAPPER=E:/software/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/lto-wrapper.exe > Target: x86_64-w64-mingw32 > Configured with: ../gcc-14.1.0/configure --prefix=/ucrt64 > --with-local-prefix=/ucrt64/local --build=x86_64-w64-mingw32 > --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 > --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib > --enable-bootstrap --enable-checking=release --with-arch=nocona > --with-tune=generic > --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,rust,jit > --enable-shared --enable-static --enable-libatomic --enable-threads=posix > --enable-graphite --enable-fully-dynamic-string > --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time > --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp > --disable-multilib --disable-rpath --disable-win32-registry --disable-nls > --disable-werror --disable-symvers --with-libiconv --with-system-zlib > --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 > --with-pkgversion='Rev3, Built by MSYS2 project' > --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as > --with-gnu-ld --disable-libstdcxx-debug --enable-plugin > --with-boot-ldflags=-static-libstdc++ --with-stage1-ldflags=-static-libstdc++ > Thread model: posix > Supported LTO compression algorithms: zlib zstd > gcc version 14.1.0 (Rev3, Built by MSYS2 project) > configure:4543: $? = 0 > configure:4532: gcc -V >&5 > gcc.exe: error: unrecognized command-line option '-V' > gcc.exe: fatal error: no input files > compilation terminated. > configure:4543: $? = 1 > configure:4532: gcc -qversion >&5 > gcc.exe: error: unrecognized command-line option '-qversion'; did you mean > '--version'? > gcc.exe: fatal error: no input files > compilation terminated. > configure:4543: $? = 1 > configure:4532: gcc -version >&5 > gcc.exe: error: unrecognized command-line option '-version' > gcc.exe: fatal error: no input files > compilation terminated. > configure:4543: $? = 1 > configure:4563: checking whether the C compiler works > configure:4585: gcc > /e/workspace/github.com/gnu/ncurses/build/make/built/lib conftest.c >&5 > E:/software/msys2/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/14.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: > cannot find E:/workspace/github.com/gnu/ncurses/build/make/built/lib: > Permission denied > collect2.exe: error: ld returned 1 exit status > configure:4589: $? = 1 > configure:4630: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "dummy" > | #define PACKAGE_TARNAME "dummy" > | #define PACKAGE_VERSION "0" > | #define PACKAGE_STRING "dummy 0" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | #define PACKAGE "dummy" > | #define VERSION "0" > | /* end confdefs.h. */ > | > | int > | main (void) > | { > | > | ; > | return 0; > | } > configure:4635: error: in '/tmp/my-testdir2': > configure:4637: error: C compiler cannot create executables > See 'config.log' for more details > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_env_CC_set= > ac_cv_env_CC_value= > ac_cv_env_CFLAGS_set= > ac_cv_env_CFLAGS_value= > ac_cv_env_CPPFLAGS_set= > ac_cv_env_CPPFLAGS_value= > ac_cv_env_CPP_set= > ac_cv_env_CPP_value= > ac_cv_env_LDFLAGS_set=set > ac_cv_env_LDFLAGS_value=/e/workspace/github.com/gnu/ncurses/build/make/built/lib > ac_cv_env_LIBS_set= > ac_cv_env_LIBS_value= > ac_cv_env_build_alias_set= > ac_cv_env_build_alias_value= > ac_cv_env_host_alias_set= > ac_cv_env_host_alias_value= > ac_cv_env_target_alias_set= > ac_cv_env_target_alias_value= > ac_cv_path_install='/usr/bin/install -c' > ac_cv_path_mkdir=/usr/bin/mkdir > ac_cv_prog_AWK=gawk > ac_cv_prog_ac_ct_CC=gcc > ac_cv_prog_make_make_set=yes > am_cv_make_support_nested_variables=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > ACLOCAL='${SHELL} '\''/tmp/my-testdir2/build-aux/missing'\'' aclocal-1.16' > AMDEPBACKSLASH='' > AMDEP_FALSE='' > AMDEP_TRUE='' > AMTAR='$${TAR-tar}' > AM_BACKSLASH='\' > AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' > AM_DEFAULT_VERBOSITY='1' > AM_V='$(V)' > APPLE_UNIVERSAL_BUILD='' > AR='' > ARFLAGS='' > ASSERT_H='' > AUTOCONF='${SHELL} '\''/tmp/my-testdir2/build-aux/missing'\'' autoconf' > AUTOHEADER='${SHELL} '\''/tmp/my-testdir2/build-aux/missing'\'' autoheader' > AUTOMAKE='${SHELL} '\''/tmp/my-testdir2/build-aux/missing'\'' automake-1.16' > AWK='gawk' > BITSIZEOF_PTRDIFF_T='' > BITSIZEOF_SIG_ATOMIC_T='' > BITSIZEOF_SIZE_T='' > BITSIZEOF_WCHAR_T='' > BITSIZEOF_WINT_T='' > CC='gcc' > CCDEPMODE='' > CFLAGS='' > CPP='' > CPPFLAGS='' > CSCOPE='cscope' > CTAGS='ctags' > CYGPATH_W='cygpath -w' > DEFS='' > DEPDIR='' > ECHO_C='' > ECHO_N='-n' > ECHO_T='' > ETAGS='etags' > EXEEXT='' > GL_COND_LIBTOOL_FALSE='' > GL_COND_LIBTOOL_TRUE='' > GL_COND_OBJ_ISBLANK_FALSE='' > GL_COND_OBJ_ISBLANK_TRUE='' > GL_GENERATE_ASSERT_H_FALSE='' > GL_GENERATE_ASSERT_H_TRUE='' > GL_GENERATE_LIMITS_H_FALSE='' > GL_GENERATE_LIMITS_H_TRUE='' > GL_GENERATE_STDDEF_H_FALSE='' > GL_GENERATE_STDDEF_H_TRUE='' > GL_GENERATE_STDINT_H_FALSE='' > GL_GENERATE_STDINT_H_TRUE='' > GL_GNULIB_ABORT_DEBUG='' > GL_GNULIB_ACCESS='' > GL_GNULIB_ALIGNED_ALLOC='' > GL_GNULIB_ATOLL='' > GL_GNULIB_BTOWC='' > GL_GNULIB_CALLOC_GNU='' > GL_GNULIB_CALLOC_POSIX='' > GL_GNULIB_CANONICALIZE_FILE_NAME='' > GL_GNULIB_CHDIR='' > GL_GNULIB_CHOWN='' > GL_GNULIB_CLOSE='' > GL_GNULIB_COPY_FILE_RANGE='' > GL_GNULIB_DUP2='' > GL_GNULIB_DUP3='' > GL_GNULIB_DUP='' > GL_GNULIB_ENVIRON='' > GL_GNULIB_EUIDACCESS='' > GL_GNULIB_EXECL='' > GL_GNULIB_EXECLE='' > GL_GNULIB_EXECLP='' > GL_GNULIB_EXECV='' > GL_GNULIB_EXECVE='' > GL_GNULIB_EXECVP='' > GL_GNULIB_EXECVPE='' > GL_GNULIB_FACCESSAT='' > GL_GNULIB_FCHDIR='' > GL_GNULIB_FCHOWNAT='' > GL_GNULIB_FDATASYNC='' > GL_GNULIB_FREE_POSIX='' > GL_GNULIB_FSYNC='' > GL_GNULIB_FTRUNCATE='' > GL_GNULIB_GETCWD='' > GL_GNULIB_GETDOMAINNAME='' > GL_GNULIB_GETDTABLESIZE='' > GL_GNULIB_GETENTROPY='' > GL_GNULIB_GETGROUPS='' > GL_GNULIB_GETHOSTNAME='' > GL_GNULIB_GETLOADAVG='' > GL_GNULIB_GETLOGIN='' > GL_GNULIB_GETLOGIN_R='' > GL_GNULIB_GETOPT_POSIX='' > GL_GNULIB_GETPAGESIZE='' > GL_GNULIB_GETPASS='' > GL_GNULIB_GETPASS_GNU='' > GL_GNULIB_GETPROGNAME='' > GL_GNULIB_GETSUBOPT='' > GL_GNULIB_GETUSERSHELL='' > GL_GNULIB_GRANTPT='' > GL_GNULIB_GROUP_MEMBER='' > GL_GNULIB_IMAXABS='' > GL_GNULIB_IMAXDIV='' > GL_GNULIB_ISATTY='' > GL_GNULIB_ISBLANK='' > GL_GNULIB_LCHOWN='' > GL_GNULIB_LINK='' > GL_GNULIB_LINKAT='' > GL_GNULIB_LSEEK='' > GL_GNULIB_MALLOC_GNU='' > GL_GNULIB_MALLOC_POSIX='' > GL_GNULIB_MBRLEN='' > GL_GNULIB_MBRTOWC='' > GL_GNULIB_MBSINIT='' > GL_GNULIB_MBSNRTOWCS='' > GL_GNULIB_MBSRTOWCS='' > GL_GNULIB_MBSTOWCS='' > GL_GNULIB_MBSZERO='' > GL_GNULIB_MBTOWC='' > GL_GNULIB_MDA_ACCESS='' > GL_GNULIB_MDA_CHDIR='' > GL_GNULIB_MDA_CLOSE='' > GL_GNULIB_MDA_DUP2='' > GL_GNULIB_MDA_DUP='' > GL_GNULIB_MDA_ECVT='' > GL_GNULIB_MDA_EXECL='' > GL_GNULIB_MDA_EXECLE='' > GL_GNULIB_MDA_EXECLP='' > GL_GNULIB_MDA_EXECV='' > GL_GNULIB_MDA_EXECVE='' > GL_GNULIB_MDA_EXECVP='' > GL_GNULIB_MDA_EXECVPE='' > GL_GNULIB_MDA_FCVT='' > GL_GNULIB_MDA_GCVT='' > GL_GNULIB_MDA_GETCWD='' > GL_GNULIB_MDA_GETPID='' > GL_GNULIB_MDA_ISATTY='' > GL_GNULIB_MDA_LSEEK='' > GL_GNULIB_MDA_MKTEMP='' > GL_GNULIB_MDA_PUTENV='' > GL_GNULIB_MDA_READ='' > GL_GNULIB_MDA_RMDIR='' > GL_GNULIB_MDA_SWAB='' > GL_GNULIB_MDA_UNLINK='' > GL_GNULIB_MDA_WCSDUP='' > GL_GNULIB_MDA_WRITE='' > GL_GNULIB_MKDTEMP='' > GL_GNULIB_MKOSTEMP='' > GL_GNULIB_MKOSTEMPS='' > GL_GNULIB_MKSTEMP='' > GL_GNULIB_MKSTEMPS='' > GL_GNULIB_PIPE2='' > GL_GNULIB_PIPE='' > GL_GNULIB_POSIX_MEMALIGN='' > GL_GNULIB_POSIX_OPENPT='' > GL_GNULIB_PREAD='' > GL_GNULIB_PTSNAME='' > GL_GNULIB_PTSNAME_R='' > GL_GNULIB_PUTENV='' > GL_GNULIB_PWRITE='' > GL_GNULIB_QSORT_R='' > GL_GNULIB_RAND='' > GL_GNULIB_RANDOM='' > GL_GNULIB_RANDOM_R='' > GL_GNULIB_READ='' > GL_GNULIB_READLINK='' > GL_GNULIB_READLINKAT='' > GL_GNULIB_REALLOCARRAY='' > GL_GNULIB_REALLOC_GNU='' > GL_GNULIB_REALLOC_POSIX='' > GL_GNULIB_REALPATH='' > GL_GNULIB_RMDIR='' > GL_GNULIB_RPMATCH='' > GL_GNULIB_SECURE_GETENV='' > GL_GNULIB_SETENV='' > GL_GNULIB_SETHOSTNAME='' > GL_GNULIB_SLEEP='' > GL_GNULIB_STRTOD='' > GL_GNULIB_STRTOF='' > GL_GNULIB_STRTOIMAX='' > GL_GNULIB_STRTOL='' > GL_GNULIB_STRTOLD='' > GL_GNULIB_STRTOLL='' > GL_GNULIB_STRTOUL='' > GL_GNULIB_STRTOULL='' > GL_GNULIB_STRTOUMAX='' > GL_GNULIB_SYMLINK='' > GL_GNULIB_SYMLINKAT='' > GL_GNULIB_SYSTEM_POSIX='' > GL_GNULIB_TRUNCATE='' > GL_GNULIB_TTYNAME_R='' > GL_GNULIB_UNISTD_H_GETOPT='' > GL_GNULIB_UNISTD_H_NONBLOCKING='' > GL_GNULIB_UNISTD_H_SIGPIPE='' > GL_GNULIB_UNLINK='' > GL_GNULIB_UNLINKAT='' > GL_GNULIB_UNLOCKPT='' > GL_GNULIB_UNSETENV='' > GL_GNULIB_USLEEP='' > GL_GNULIB_WCPCPY='' > GL_GNULIB_WCPNCPY='' > GL_GNULIB_WCRTOMB='' > GL_GNULIB_WCSCASECMP='' > GL_GNULIB_WCSCAT='' > GL_GNULIB_WCSCHR='' > GL_GNULIB_WCSCMP='' > GL_GNULIB_WCSCOLL='' > GL_GNULIB_WCSCPY='' > GL_GNULIB_WCSCSPN='' > GL_GNULIB_WCSDUP='' > GL_GNULIB_WCSFTIME='' > GL_GNULIB_WCSLEN='' > GL_GNULIB_WCSNCASECMP='' > GL_GNULIB_WCSNCAT='' > GL_GNULIB_WCSNCMP='' > GL_GNULIB_WCSNCPY='' > GL_GNULIB_WCSNLEN='' > GL_GNULIB_WCSNRTOMBS='' > GL_GNULIB_WCSPBRK='' > GL_GNULIB_WCSRCHR='' > GL_GNULIB_WCSRTOMBS='' > GL_GNULIB_WCSSPN='' > GL_GNULIB_WCSSTR='' > GL_GNULIB_WCSTOK='' > GL_GNULIB_WCSWIDTH='' > GL_GNULIB_WCSXFRM='' > GL_GNULIB_WCTOB='' > GL_GNULIB_WCTOMB='' > GL_GNULIB_WCWIDTH='' > GL_GNULIB_WGETCWD='' > GL_GNULIB_WMEMCHR='' > GL_GNULIB_WMEMCMP='' > GL_GNULIB_WMEMCPY='' > GL_GNULIB_WMEMMOVE='' > GL_GNULIB_WMEMPCPY='' > GL_GNULIB_WMEMSET='' > GL_GNULIB_WRITE='' > GL_GNULIB__EXIT='' > GNULIBHEADERS_OVERRIDE_WINT_T='' > HAVE_ALIGNED_ALLOC='' > HAVE_ATOLL='' > HAVE_BTOWC='' > HAVE_C99_STDINT_H='' > HAVE_CANONICALIZE_FILE_NAME='' > HAVE_CHOWN='' > HAVE_COPY_FILE_RANGE='' > HAVE_CRTDEFS_H='' > HAVE_DECL_ECVT='' > HAVE_DECL_ENVIRON='' > HAVE_DECL_EXECVPE='' > HAVE_DECL_FCHDIR='' > HAVE_DECL_FCVT='' > HAVE_DECL_FDATASYNC='' > HAVE_DECL_GCVT='' > HAVE_DECL_GETDOMAINNAME='' > HAVE_DECL_GETLOADAVG='' > HAVE_DECL_GETLOGIN='' > HAVE_DECL_GETLOGIN_R='' > HAVE_DECL_GETPAGESIZE='' > HAVE_DECL_GETUSERSHELL='' > HAVE_DECL_IMAXABS='' > HAVE_DECL_IMAXDIV='' > HAVE_DECL_INITSTATE='' > HAVE_DECL_PROGRAM_INVOCATION_NAME='' > HAVE_DECL_SETENV='' > HAVE_DECL_SETHOSTNAME='' > HAVE_DECL_SETSTATE='' > HAVE_DECL_STRTOIMAX='' > HAVE_DECL_STRTOUMAX='' > HAVE_DECL_TRUNCATE='' > HAVE_DECL_TTYNAME_R='' > HAVE_DECL_UNSETENV='' > HAVE_DECL_WCSDUP='' > HAVE_DECL_WCTOB='' > HAVE_DECL_WCWIDTH='' > HAVE_DUP3='' > HAVE_EUIDACCESS='' > HAVE_EXECVPE='' > HAVE_FACCESSAT='' > HAVE_FCHDIR='' > HAVE_FCHOWNAT='' > HAVE_FDATASYNC='' > HAVE_FEATURES_H='' > HAVE_FSYNC='' > HAVE_FTRUNCATE='' > HAVE_GETDTABLESIZE='' > HAVE_GETENTROPY='' > HAVE_GETGROUPS='' > HAVE_GETHOSTNAME='' > HAVE_GETLOGIN='' > HAVE_GETPAGESIZE='' > HAVE_GETPASS='' > HAVE_GETPROGNAME='' > HAVE_GETSUBOPT='' > HAVE_GRANTPT='' > HAVE_GROUP_MEMBER='' > HAVE_IMAXABS='' > HAVE_IMAXDIV='' > HAVE_IMAXDIV_T='' > HAVE_INITSTATE='' > HAVE_INTTYPES_H='' > HAVE_ISBLANK='' > HAVE_LCHOWN='' > HAVE_LINK='' > HAVE_LINKAT='' > HAVE_MAX_ALIGN_T='' > HAVE_MBRLEN='' > HAVE_MBRTOWC='' > HAVE_MBSINIT='' > HAVE_MBSNRTOWCS='' > HAVE_MBSRTOWCS='' > HAVE_MBTOWC='' > HAVE_MKDTEMP='' > HAVE_MKOSTEMP='' > HAVE_MKOSTEMPS='' > HAVE_MKSTEMP='' > HAVE_MKSTEMPS='' > HAVE_OFF64_T='' > HAVE_OS_H='' > HAVE_PIPE2='' > HAVE_PIPE='' > HAVE_POSIX_MEMALIGN='' > HAVE_POSIX_OPENPT='' > HAVE_PREAD='' > HAVE_PTSNAME='' > HAVE_PTSNAME_R='' > HAVE_PWRITE='' > HAVE_QSORT_R='' > HAVE_RANDOM='' > HAVE_RANDOM_H='' > HAVE_RANDOM_R='' > HAVE_READLINK='' > HAVE_READLINKAT='' > HAVE_REALLOCARRAY='' > HAVE_REALPATH='' > HAVE_RPMATCH='' > HAVE_SECURE_GETENV='' > HAVE_SETENV='' > HAVE_SETHOSTNAME='' > HAVE_SETSTATE='' > HAVE_SIGNED_SIG_ATOMIC_T='' > HAVE_SIGNED_WCHAR_T='' > HAVE_SIGNED_WINT_T='' > HAVE_SLEEP='' > HAVE_STDINT_H='' > HAVE_STRTOD='' > HAVE_STRTOF='' > HAVE_STRTOL='' > HAVE_STRTOLD='' > HAVE_STRTOLL='' > HAVE_STRTOUL='' > HAVE_STRTOULL='' > HAVE_STRUCT_RANDOM_DATA='' > HAVE_SYMLINK='' > HAVE_SYMLINKAT='' > HAVE_SYS_BITYPES_H='' > HAVE_SYS_INTTYPES_H='' > HAVE_SYS_LOADAVG_H='' > HAVE_SYS_PARAM_H='' > HAVE_SYS_TYPES_H='' > HAVE_UNISTD_H='' > HAVE_UNLINKAT='' > HAVE_UNLOCKPT='' > HAVE_USLEEP='' > HAVE_WCHAR_H='' > HAVE_WCHAR_T='' > HAVE_WCPCPY='' > HAVE_WCPNCPY='' > HAVE_WCRTOMB='' > HAVE_WCSCASECMP='' > HAVE_WCSCAT='' > HAVE_WCSCHR='' > HAVE_WCSCMP='' > HAVE_WCSCOLL='' > HAVE_WCSCPY='' > HAVE_WCSCSPN='' > HAVE_WCSDUP='' > HAVE_WCSFTIME='' > HAVE_WCSLEN='' > HAVE_WCSNCASECMP='' > HAVE_WCSNCAT='' > HAVE_WCSNCMP='' > HAVE_WCSNCPY='' > HAVE_WCSNLEN='' > HAVE_WCSNRTOMBS='' > HAVE_WCSPBRK='' > HAVE_WCSRCHR='' > HAVE_WCSRTOMBS='' > HAVE_WCSSPN='' > HAVE_WCSSTR='' > HAVE_WCSTOK='' > HAVE_WCSWIDTH='' > HAVE_WCSXFRM='' > HAVE_WINT_T='' > HAVE_WMEMCHR='' > HAVE_WMEMCMP='' > HAVE_WMEMCPY='' > HAVE_WMEMMOVE='' > HAVE_WMEMPCPY='' > HAVE_WMEMSET='' > HAVE__EXIT='' > INCLUDE_NEXT='' > INCLUDE_NEXT_AS_FIRST_DIRECTIVE='' > INCTERMINFO='' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' > INT32_MAX_LT_INTMAX_MAX='' > INT64_MAX_EQ_LONG_MAX='' > LC_COLLATE_IMPLEMENTED='' > LC_MONETARY_IMPLEMENTED='' > LC_NUMERIC_IMPLEMENTED='' > LC_TIME_IMPLEMENTED='' > LDFLAGS='/e/workspace/github.com/gnu/ncurses/build/make/built/lib' > LIBGNU_LIBDEPS='' > LIBGNU_LTLIBDEPS='' > LIBOBJS='' > LIBS='' > LIBTERMINFO='' > LIMITS_H='' > LOCALE_FR_UTF8='' > LTLIBOBJS='' > LTLIBTERMINFO='' > MAKEINFO='${SHELL} '\''/tmp/my-testdir2/build-aux/missing'\'' makeinfo' > MKDIR_P='/usr/bin/mkdir -p' > NEXT_ASSERT_H='' > NEXT_AS_FIRST_DIRECTIVE_ASSERT_H='' > NEXT_AS_FIRST_DIRECTIVE_CTYPE_H='' > NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H='' > NEXT_AS_FIRST_DIRECTIVE_LIMITS_H='' > NEXT_AS_FIRST_DIRECTIVE_STDDEF_H='' > NEXT_AS_FIRST_DIRECTIVE_STDINT_H='' > NEXT_AS_FIRST_DIRECTIVE_STDLIB_H='' > NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H='' > NEXT_AS_FIRST_DIRECTIVE_UNISTD_H='' > NEXT_AS_FIRST_DIRECTIVE_WCHAR_H='' > NEXT_CTYPE_H='' > NEXT_INTTYPES_H='' > NEXT_LIMITS_H='' > NEXT_STDDEF_H='' > NEXT_STDINT_H='' > NEXT_STDLIB_H='' > NEXT_SYS_TYPES_H='' > NEXT_UNISTD_H='' > NEXT_WCHAR_H='' > NULLPTR_T_NEEDS_STDDEF='' > OBJEXT='' > PACKAGE='dummy' > PACKAGE_BUGREPORT='' > PACKAGE_NAME='dummy' > PACKAGE_STRING='dummy 0' > PACKAGE_TARNAME='dummy' > PACKAGE_URL='' > PACKAGE_VERSION='0' > PATH_SEPARATOR=':' > PRAGMA_COLUMNS='' > PRAGMA_SYSTEM_HEADER='' > PRIPTR_PREFIX='' > PTRDIFF_T_SUFFIX='' > RANLIB='' > REPLACE_ABORT='' > REPLACE_ACCESS='' > REPLACE_ALIGNED_ALLOC='' > REPLACE_BTOWC='' > REPLACE_CALLOC_FOR_CALLOC_GNU='' > REPLACE_CALLOC_FOR_CALLOC_POSIX='' > REPLACE_CANONICALIZE_FILE_NAME='' > REPLACE_CHOWN='' > REPLACE_CLOSE='' > REPLACE_COPY_FILE_RANGE='' > REPLACE_DUP2='' > REPLACE_DUP3='' > REPLACE_DUP='' > REPLACE_EXECL='' > REPLACE_EXECLE='' > REPLACE_EXECLP='' > REPLACE_EXECV='' > REPLACE_EXECVE='' > REPLACE_EXECVP='' > REPLACE_EXECVPE='' > REPLACE_FACCESSAT='' > REPLACE_FCHDIR='' > REPLACE_FCHOWNAT='' > REPLACE_FDATASYNC='' > REPLACE_FREE='' > REPLACE_FTRUNCATE='' > REPLACE_GETCWD='' > REPLACE_GETDOMAINNAME='' > REPLACE_GETDTABLESIZE='' > REPLACE_GETENTROPY='' > REPLACE_GETGROUPS='' > REPLACE_GETLOADAVG='' > REPLACE_GETLOGIN_R='' > REPLACE_GETPAGESIZE='' > REPLACE_GETPASS='' > REPLACE_GETPASS_FOR_GETPASS_GNU='' > REPLACE_GETPROGNAME='' > REPLACE_GETSUBOPT='' > REPLACE_GETUSERSHELL='' > REPLACE_IMAXABS='' > REPLACE_IMAXDIV='' > REPLACE_INITSTATE='' > REPLACE_ISATTY='' > REPLACE_LCHOWN='' > REPLACE_LINK='' > REPLACE_LINKAT='' > REPLACE_LSEEK='' > REPLACE_MALLOC_FOR_MALLOC_GNU='' > REPLACE_MALLOC_FOR_MALLOC_POSIX='' > REPLACE_MBRLEN='' > REPLACE_MBRTOWC='' > REPLACE_MBSINIT='' > REPLACE_MBSNRTOWCS='' > REPLACE_MBSRTOWCS='' > REPLACE_MBSTATE_T='' > REPLACE_MBSTOWCS='' > REPLACE_MBTOWC='' > REPLACE_MB_CUR_MAX='' > REPLACE_MKOSTEMP='' > REPLACE_MKOSTEMPS='' > REPLACE_MKSTEMP='' > REPLACE_NULL='' > REPLACE_PIPE2='' > REPLACE_POSIX_MEMALIGN='' > REPLACE_POSIX_OPENPT='' > REPLACE_PREAD='' > REPLACE_PTSNAME='' > REPLACE_PTSNAME_R='' > REPLACE_PUTENV='' > REPLACE_PWRITE='' > REPLACE_QSORT_R='' > REPLACE_RAND='' > REPLACE_RANDOM='' > REPLACE_RANDOM_R='' > REPLACE_READ='' > REPLACE_READLINK='' > REPLACE_READLINKAT='' > REPLACE_REALLOCARRAY='' > REPLACE_REALLOC_FOR_REALLOC_GNU='' > REPLACE_REALLOC_FOR_REALLOC_POSIX='' > REPLACE_REALPATH='' > REPLACE_RMDIR='' > REPLACE_SETENV='' > REPLACE_SETHOSTNAME='' > REPLACE_SETSTATE='' > REPLACE_SLEEP='' > REPLACE_STRTOD='' > REPLACE_STRTOF='' > REPLACE_STRTOIMAX='' > REPLACE_STRTOL='' > REPLACE_STRTOLD='' > REPLACE_STRTOLL='' > REPLACE_STRTOUL='' > REPLACE_STRTOULL='' > REPLACE_STRTOUMAX='' > REPLACE_SYMLINK='' > REPLACE_SYMLINKAT='' > REPLACE_TRUNCATE='' > REPLACE_TTYNAME_R='' > REPLACE_UNLINK='' > REPLACE_UNLINKAT='' > REPLACE_UNSETENV='' > REPLACE_USLEEP='' > REPLACE_WCRTOMB='' > REPLACE_WCSCMP='' > REPLACE_WCSFTIME='' > REPLACE_WCSNCMP='' > REPLACE_WCSNRTOMBS='' > REPLACE_WCSRTOMBS='' > REPLACE_WCSSTR='' > REPLACE_WCSTOK='' > REPLACE_WCSWIDTH='' > REPLACE_WCTOB='' > REPLACE_WCTOMB='' > REPLACE_WCWIDTH='' > REPLACE_WMEMCMP='' > REPLACE_WMEMPCPY='' > REPLACE_WRITE='' > REPLACE__EXIT='' > SET_MAKE='' > SHELL='/bin/sh' > SIG_ATOMIC_T_SUFFIX='' > SIZE_T_SUFFIX='' > STDDEF_H='' > STDDEF_NOT_IDEMPOTENT='' > STDINT_H='' > STRIP='' > UINT32_MAX_LT_UINTMAX_MAX='' > UINT64_MAX_EQ_ULONG_MAX='' > UNISTD_H_HAVE_SYS_RANDOM_H='' > UNISTD_H_HAVE_WINSOCK2_H='' > UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS='' > VERSION='0' > WCHAR_T_SUFFIX='' > WINDOWS_64_BIT_OFF_T='' > WINDOWS_STAT_INODES='' > WINT_T_SUFFIX='' > ac_ct_CC='gcc' > am__EXEEXT_FALSE='' > am__EXEEXT_TRUE='' > am__fastdepCC_FALSE='' > am__fastdepCC_TRUE='' > am__include='' > am__isrc='' > am__leading_dot='.' > am__nodep='' > am__quote='' > am__tar='$${TAR-tar} chof - "$$tardir"' > am__untar='$${TAR-tar} xf -' > bindir='${exec_prefix}/bin' > build='' > build_alias='x86_64-w64-mingw32' > build_cpu='' > build_os='' > build_vendor='' > datadir='${datarootdir}' > datarootdir='${prefix}/share' > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' > dvidir='${docdir}' > exec_prefix='NONE' > gl_LIBOBJDEPS='' > gl_LIBOBJS='' > gl_LTLIBOBJS='' > host='' > host_alias='' > host_cpu='' > host_os='' > host_vendor='' > htmldir='${docdir}' > includedir='${prefix}/include' > infodir='${datarootdir}/info' > install_sh='${SHELL} /tmp/my-testdir2/build-aux/install-sh' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localedir='${datarootdir}/locale' > localstatedir='${prefix}/var' > mandir='${datarootdir}/man' > mkdir_p='$(MKDIR_P)' > oldincludedir='/usr/include' > pdfdir='${docdir}' > prefix='/ucrt64' > program_transform_name='s,x,x,' > psdir='${docdir}' > runstatedir='${localstatedir}/run' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > subdirs='' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > /* confdefs.h */ > #define PACKAGE_NAME "dummy" > #define PACKAGE_TARNAME "dummy" > #define PACKAGE_VERSION "0" > #define PACKAGE_STRING "dummy 0" > #define PACKAGE_BUGREPORT "" > #define PACKAGE_URL "" > #define PACKAGE "dummy" > #define VERSION "0" > > configure: exit 77 > > cannot find E:/workspace/github.com/gnu/ncurses/build/make/built/lib: > Permission denied, what’s wrong? > > On Fri, Jul 5, 2024 at 10:28 AM Collin Funk <collin.fu...@gmail.com> > wrote: > >> Bruno Haible <br...@clisp.org> writes: >> >> >> But only /tmp folder can be run, or “not overwriting destination >> directory” >> >> error still occurs, why? >> > >> > Permission problems on Windows are hard to understand: The permissions >> > depend not only on the owner and permissions of the particular >> directory, >> > but also of all the ancestor directories of that directory. >> >> I don't think this is a permission issue. That error is expected when >> passed a directory that already exists: >> >> $ ./gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo >> >> If the option passed to '--dir' exists then there will be an error. >> Using that example: >> >> $ gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo >> $ gnulib-tool --create-testdir --dir=/tmp/my-testdir terminfo >> /home/collin/.local/src/gnulib/gnulib-tool.py: *** not overwriting >> destination directory: /tmp/my-testdir >> /home/collin/.local/src/gnulib/gnulib-tool.py: *** Stop. >> >> This was a change we agreed upon a while ago since running >> --create-testdir on an already existing testdir would break things, >> IIRC. >> >> > I'd suggest to try Cygwin or WSL. They emulate a POSIX environment much >> > better than MSYS2; therefore you are much more likely to have positive >> > experiences with GNU software in these two environments. >> >> I have had good experiences with Cygwin, +1. >> >> Collin >> >