Closed ejzhang closed 7 years ago
$ ./BUILD_IT.sh
configure: loading site script /etc/config.site
/etc/config.site: line 30: config.site:30: default prefix set to /usr: No such file or directory
checking for x86_64-w64-mingw32-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc accepts the -mthreads option... yes
checking whether gcc accepts the -mtune=pentium3 option... yes
checking for x86_64-w64-mingw32-lib... no
checking for lib... no
configure: creating ./config.status
config.status: creating Makefile
gcc -mthreads -mtune=pentium3 -O3 -ffunction-sections -fdata-sections -I . -c -o regex.o regex.c
gcc -mthreads -mtune=pentium3 -O3 -ffunction-sections -fdata-sections -I . -shared -o libgnurx-0.dll -Wl,--enable-auto-image-base -Wl,--out-implib,libgnurx.dll.a regex.o
gcc -mthreads -mtune=pentium3 -O3 -ffunction-sections -fdata-sections -I . -shared -o libgnurx-0.dll -Wl,--enable-auto-image-base -Wl,--out-implib,libgnurx.dll.a regex.o
ar -rcus libgnurx.a regex.o
ranlib libgnurx.a
configure: loading site script /etc/config.site
/etc/config.site: line 30: config.site:30: default prefix set to /usr: No such file or directory
checking for egrep... grep -E
Configuring NCURSES 6.0 ABI 6 (Fri Feb 17 19:18:07 CST 2017)
checking for package version... 6.0
checking for package patch date... 20150808
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
Configuring for mingw32
checking for prefix... /usr
checking for x86_64-w64-mingw32-gcc... no
checking for x86_64-w64-mingw32-cc... no
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking version of gcc... .
checking for gcc option to accept ANSI C... none needed
checking $CC variable... ok
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether gcc understands -c and -o together... yes
checking for ldconfig... no
checking if you want to ensure bool is consistent with C++... yes
checking for x86_64-w64-mingw32-g++... no
checking for x86_64-w64-mingw32-c++... no
checking for x86_64-w64-mingw32-gpp... no
checking for x86_64-w64-mingw32-aCC... no
checking for x86_64-w64-mingw32-CC... no
checking for x86_64-w64-mingw32-cxx... no
checking for x86_64-w64-mingw32-cc++... no
checking for x86_64-w64-mingw32-cl... no
checking for x86_64-w64-mingw32-FCC... no
checking for x86_64-w64-mingw32-KCC... no
checking for x86_64-w64-mingw32-RCC... no
checking for x86_64-w64-mingw32-xlC_r... no
checking for x86_64-w64-mingw32-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if g++ works... yes
checking for g++... /mingw32/bin/g++
checking version of /mingw32/bin/g++... .
checking if you want to build C++ binding and demo... no
checking if you want to build with Ada95... no
checking if you want to install terminal database... yes
checking if you want to install manpages... yes
checking if you want to build programs such as tic... yes
checking if you want to build test-programs... yes
checking if you wish to install curses.h... yes
checking for mawk... mawk
checking for egrep... (cached) grep -E
checking for a BSD compatible install... /usr/bin/install -c
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for splint... no
checking for lclint... no
checking whether ln -s works... yes
checking if ln -s -f options work... yes
checking for long file names... yes
checking if you want to use pkg-config... yes
checking for x86_64-w64-mingw32-pkg-config... no
checking for pkg-config... none
configure: WARNING: pkg-config is not installed
checking if we should install .pc files... no
checking if we should assume mixed-case filenames... auto
checking if filesystem supports mixed-case filenames... no
checking whether make sets ${MAKE}... yes
checking for exctags... no
checking for ctags... no
checking for exetags... no
checking for etags... no
checking for ctags... no
checking for makeflags variable...
checking for x86_64-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking for x86_64-w64-mingw32-ld... no
checking for ld... ld
checking for x86_64-w64-mingw32-ar... no
checking for ar... ar
checking for x86_64-w64-mingw32-nm... no
checking for nm... nm
checking for x86_64-w64-mingw32-ar... ar
checking for options to update archives... -curv
checking if you have specified an install-prefix...
checking if libtool -version-number should be used... yes
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... no
checking if you want to build static libraries... yes
checking if you want to build debug libraries... yes
checking if you want to build profiling libraries... no
checking for specified models... normal debug
checking for default model... normal
checking if you want to have a library-prefix... auto
checking for PATH separator... :
checking if you want to build a separate terminfo library... no
checking if you want to build a separate tic library... no
checking if you want to link with the GPM mouse library... maybe
checking for gpm.h... no
checking for default loader flags...
checking for an rpath option...
checking if release/abi version should be used for shared libs... auto
checking which gcc option to use... -fPIC
checking if you want to disable library suffixes... no
checking if you wish to append extra suffix to header/library paths...
checking if you wish to install ncurses overwriting curses... yes
checking if external terminfo-database is used... yes
checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src
checking whether to use hashed database instead of directory/tree... no
checking for list of fallback descriptions...
checking if you want modern xterm or antique... xterm-new
checking if xterm backspace sends BS or DEL... BS
checking for list of terminfo directories... /usr/share/terminfo
checking for default terminfo directory... /usr/share/terminfo
checking if big-core option selected... yes
checking if big-strings option selected... yes
checking if you want termcap-fallback support... yes
checking for list of termcap files... /etc/termcap:/usr/share/misc/termcap
checking if fast termcap-loader is needed... no
checking if translated termcaps will be cached in ~/.terminfo... no
checking if ~/.terminfo is wanted... no
checking if you want to use restricted environment when running as root... yes
checking for remove... yes
checking for unlink... yes
checking if link/symlink functions work... no
checking if tic should use hard links... no
checking if you want broken-linker support code... no
checking if tputs should process BSD-style prefix padding... no
checking if we should define _XOPEN_SOURCE... 500
checking if we should define _POSIX_C_SOURCE... -D_POSIX_C_SOURCE=199506L
checking if SIGWINCH is defined... no
checking for nl_langinfo and CODESET... no
checking if you want wide-character code... no
checking whether to enable _LP64 definition in curses.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking if you want tparm not to use X/Open fixed-parameter list... yes
checking for type of bool... auto
checking for alternate terminal capabilities file... Caps
checking for type of chtype... uint32_t
checking for type of ospeed... short
checking for type of mmask_t... uint32_t
checking for size CCHARW_MAX... 5
checking for type of tparm args... intptr_t
checking if RCS identifiers should be compiled-in... no
checking format of man-pages... gzip
checking for manpage renaming... no
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes
checking for manpage tbl... no
checking if you want to build with function extensions... yes
checking if you want to build with SCREEN extensions... yes
checking if you want to build with terminal-driver... yes
checking for extended use of const keyword... yes
checking if you want to use extended colors... yes
configure: WARNING: This option applies only to wide-character library
checking if you want to use extended mouse encoding... yes
checking if you want to use extended putwin/screendump... yes
checking if you want $NCURSES_NO_PADDING code... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for signed char... yes
checking size of signed char... 1
checking if you want to use signed Boolean array in term.h... no
checking if you want SIGWINCH handler... yes
checking if you want user-definable terminal capabilities like termcap... yes
checking if you want all development code... no
checking if you want hard-tabs code... no
checking if you want limited support for xmc... no
checking if you do not want to assume colors are white-on-black... yes
checking if you want hashmap scrolling-optimization code... yes
checking if you want colorfgbg code... no
checking if you want interop bindings... yes
checking if you want to link with the pthread library... no
checking if you want reentrant code... yes
checking for prefix used to wrap public variables... _nc_
checking if you want experimental safe-sprintf code... no
checking if you want wgetch-events code... no
checking if you want to see long compiling messages... yes
checking if you want to see compiler warnings... yes
checking if this is really Clang C compiler... no
configure: checking for gcc warning options...
... -W
... -Wall
... -Wbad-function-cast
... -Wcast-align
... -Wcast-qual
... -Wdeclaration-after-statement
... -Wextra
... -Winline
... -Wmissing-declarations
... -Wmissing-prototypes
... -Wnested-externs
... -Wpointer-arith
... -Wshadow
... -Wstrict-prototypes
... -Wundef
... -Wignored-qualifiers
... -Wlogical-op
... -Wvarargs
... -Wwrite-strings
... -Wno-unknown-pragmas
... -Wswitch-enum
checking if this is really Clang C++ compiler... no
configure: checking for /mingw32/bin/g++ warning options...
... no -Wabi
... no -fabi-version=0
... no -Wextra
... no -Wignored-qualifiers
... no -Wlogical-op
... no -Woverloaded-virtual
... no -Wsign-promo
... no -Wsynth
... no -Wold-style-cast
... no -Wcast-align
... no -Wcast-qual
... no -Wpointer-arith
... no -Wshadow
... no -Wundef
... no -Wwrite-strings
... no -Weffc++
... no -Wno-unused
configure: checking for gcc __attribute__ directives...
... scanf
... printf
... unused
... noreturn
checking if you want to work around bogus compiler/loader warnings... no
checking if you want to enable runtime assertions... no
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
checking whether to add trace feature to all models... no
checking if we want to use GNAT projects... yes
checking if -lm needed for math functions... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for regcomp... no
checking for regcomp in -lgnurx... yes
checking for regular-expression headers... regex.h
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for math.h... yes
checking for poll.h... no
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... no
checking for sys/param.h... yes
checking for sys/poll.h... no
checking for sys/select.h... no
checking for sys/time.h... yes
checking for sys/times.h... no
checking for ttyent.h... no
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for header declaring getopt variables... unistd.h
checking if sys/time.h works with sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if gcc supports options to tune inlining... yes
checking for signal global datatype... volatile sig_atomic_t
checking if unsigned literals are legal... yes
checking if external errno is declared... yes
checking if external errno exists... no
checking if data-only library module links... yes
checking for getcwd... yes
checking for getegid... no
checking for geteuid... no
checking for getopt... yes
checking for getttynam... no
checking for issetugid... no
checking for poll... no
checking for putenv... yes
checking for remove... (cached) yes
checking for select... no
checking for setbuf... yes
checking for setbuffer... no
checking for setenv... no
checking for setvbuf... yes
checking for sigaction... no
checking for sigvec... no
checking for strdup... yes
checking for strstr... yes
checking for tcgetpgrp... no
checking for times... no
checking for vsnprintf... yes
checking for isascii... yes
checking if nanosleep really works... no
checking for termio.h... no
checking for termios.h... no
checking for unistd.h... (cached) yes
checking for tcgetattr... no
checking for vsscanf function or workaround... vsscanf
checking for working mkstemp... no
checking whether setvbuf arguments are reversed... no
checking for intptr_t... yes
checking for ssize_t... yes
checking for type sigaction_t... no
checking declaration of size-change... no
checking for memmove... yes
checking if poll really works... no
checking for va_copy... yes
checking for __va_copy... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for openpty in -lutil... no
checking for openpty header... no
checking if we should include stdbool.h... yes
checking for builtin bool type... no
checking for library stdc++... no
checking whether /mingw32/bin/g++ understands -c and -o together... yes
checking how to run the C++ preprocessor... /mingw32/bin/g++ -E
checking for typeinfo... yes
checking for iostream... yes
checking if iostream uses std-namespace... yes
checking if we should include stdbool.h... (cached) yes
checking for builtin bool type... yes
checking for size of bool... unsigned char
checking for special defines needed for etip.h...
checking if /mingw32/bin/g++ accepts parameter initialization... no
checking if /mingw32/bin/g++ accepts static_cast... yes
checking for library subsets... ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs
checking default library suffix... t
checking default library-dependency suffix... t.a
checking default object directory... objects
checking c++ library-dependency suffix... t.a
checking if linker supports switching between static/dynamic... yes
checking where we will install curses.h... ${prefix}/include
checking for src modules... ncurses progs panel menu form
checking for tic... /usr/bin/tic
checking for defines to add to ncursest6-config script... -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L
package: ncursest
configure: creating ./config.status
config.status: creating include/MKterm.h.awk
config.status: creating include/curses.head
config.status: creating include/ncurses_dll.h
config.status: creating include/termcap.h
config.status: creating include/unctrl.h
config.status: creating man/Makefile
config.status: creating include/Makefile
config.status: creating ncurses/Makefile
config.status: creating progs/Makefile
config.status: creating panel/Makefile
config.status: creating menu/Makefile
config.status: creating form/Makefile
config.status: creating test/Makefile
config.status: creating misc/Makefile
config.status: creating misc/run_tic.sh
config.status: creating misc/ncurses-config
config.status: creating man/ncursest6-config.1
config.status: creating Makefile
config.status: creating include/ncurses_cfg.h
Appending rules for normal model (ncurses: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (ncurses: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for normal model (progs: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (progs: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for normal model (panel: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (panel: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for normal model (menu: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (menu: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for normal model (form: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (form: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for normal model (test: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
Appending rules for debug model (test: ticlib+termlib+ext_tinfo+base+port_drivers+port_tinfo+port_win32con+ext_funcs)
creating headers.sh
** Configuration summary for NCURSES 6.0 20150808:
extended funcs: yes
xterm terminfo: xterm-new
bin directory: /usr/bin
lib directory: /usr/lib
include directory: /usr/include
man directory: /usr/share/man
terminfo directory: /usr/share/terminfo
cd man && D:/MSYS64/mingw32/bin/make DESTDIR="" RPATH_LIST="/usr/lib" all
make[1]: Entering directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/man'
D:/MSYS64/usr/bin/sh.exe ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5
make[1]: Leaving directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/man'
cd include && D:/MSYS64/mingw32/bin/make DESTDIR="" RPATH_LIST="/usr/lib" all
make[1]: Entering directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/include'
cat curses.head >curses.h
mawk -f MKterm.h.awk ./Caps > term.h
AWK=mawk D:/MSYS64/usr/bin/sh.exe ./MKkey_defs.sh ./Caps >>curses.h
D:/MSYS64/usr/bin/sh.exe ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR 0
** edit: HAVE_TERMIOS_H 0
** edit: HAVE_TERMIO_H 0
D:/MSYS64/usr/bin/sh.exe -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi'
cat ./curses.tail >>curses.h
** edit: BROKEN_LINKER 0
make[1]: Leaving directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/include'
cd ncurses && D:/MSYS64/mingw32/bin/make DESTDIR="" RPATH_LIST="/usr/lib" all
make[1]: Entering directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/ncurses'
gcc -o make_hash.exe -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum ./tinfo/make_hash.c -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -O3 -static -Wl,-s,--gc-sections -lgnurx -lpsapi
D:/MSYS64/usr/bin/sh.exe -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER" "mawk" generated <../include/curses.h >lib_gen.c
D:/MSYS64/usr/bin/sh.exe -e ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER" "mawk" implemented <../include/curses.h >link_test.c
gcc -o make_keys.exe -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum ./tinfo/make_keys.c -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -O3 -static -Wl,-s,--gc-sections -lgnurx -lpsapi
gcc -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -c ../ncurses/./tty/hardscroll.c -o ../objects/hardscroll.o
gcc -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -c ../ncurses/./tty/hashmap.c -o ../objects/hashmap.o
gcc -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -c ../ncurses/./base/lib_addch.c -o ../objects/lib_addch.o
gcc -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum -c ../ncurses/./base/lib_addstr.c -o ../objects/lib_addstr.o
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgnurx
collect2.exe: error: ld returned 1 exit status
Makefile:238: recipe for target 'make_hash.exe' failed
make[1]: *** [make_hash.exe] Error 1
make[1]: *** Waiting for unfinished jobs....
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgnurx
collect2.exe: error: ld returned 1 exit status
Makefile:233: recipe for target 'make_keys.exe' failed
make[1]: *** [make_keys.exe] Error 1
.. adding -P option to work around gcc 6.3.0
.. adding -P option to work around gcc 6.3.0
make[1]: Leaving directory 'C:/users/administrator/desktop/nano-win/ncurses-6.0/ncurses'
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
It seems that this line:
gcc -o make_hash.exe -DHAVE_CONFIG_H -DUSE_BUILD_CC -I../ncurses -I. -I../include -I./../include -DHAVE_CONFIG_H -I. -I../include -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -D_FILE_OFFSET_BITS=64 -DXTSTRINGDEFINES -DNDEBUG -DWINVER=0x0501 -DUSE_WIN32CON_DRIVER -O3 -ffunction-sections -fdata-sections --param max-inline-insns-single=1200 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -Wextra -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wignored-qualifiers -Wlogical-op -Wvarargs -Wwrite-strings -Wno-unknown-pragmas -Wswitch-enum ./tinfo/make_hash.c -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -O3 -static -Wl,-s,--gc-sections -lgnurx -lpsapi
resulted in an undefined reference. However in previous logslibgnurx
was detected by configure
. You can try running the command line above, removing options gradually to find out why libgnurx.a
isn't found.
I suggest you download and compile official ncurses here to see whether you get the same errors. The only file in ncurses that I have modified is ncurses-6.0/ncurses/base/lib_initscr.c
and I don't think it is the modification that is the cause.
(All changes of these code are clearly marked by LH_Mouse
with a date stamp.)
I jump compiling of ncurses, but got an error not found configure. where is the configure?
./BUILD_IT.sh: line 29: ./configure: No such file or directory
The configure
script for nano must be generated using
./autogen.sh
.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU nano configure 2.7.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-mouse --enable-nanorc --enable-color --disable-justify --disable-utf8 --disable-speller --build= --host=
## --------- ##
## Platform. ##
## --------- ##
hostname = PC-2876
uname -m = x86_64
uname -r = 2.7.0(0.306/5/3)
uname -s = MSYS_NT-10.0
uname -v = 2017-02-14 08:57
/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: /usr/bin
PATH: /bin
PATH: /opt/bin
PATH: /mingw32/bin
PATH: /usr/bin/core_perl
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2163: 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
|
| # Use correct config.site even if CONFIG_SITE is not set
| if test "x$MSYSTEM" = "xMINGW64"; then
| if test -r "${MINGW_PREFIX-/mingw64}/etc/config.site"; then
| . "${MINGW_PREFIX-/mingw64}/etc/config.site"
| fi
| elif test "x$MSYSTEM" = "xMINGW32"; then
| if test -r "${MINGW_PREFIX-/mingw32}/etc/config.site"; then
| . "${MINGW_PREFIX-/mingw32}/etc/config.site"
| fi
| else
| # Defaults for MSys2-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_CARCH-x86_64}-pc-msys" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default build_alias set to $build_alias" >&5
| fi
|
| # Set default 'prefix' to "/usr"
| if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \
| ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then
| prefix="${MSYSTEM_PREFIX-/usr}" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default prefix set to $prefix" >&5
| fi
|
| fi
config.site:23: default build_alias set to x86_64-pc-msys
config.site:30: default prefix set to /usr
configure:2293: checking build system type
configure:2307: result: x86_64-pc-msys
configure:2327: checking host system type
configure:2340: result: x86_64-pc-msys
configure:2376: checking for a BSD-compatible install
configure:2444: result: /usr/bin/install -c
configure:2455: checking whether build environment is sane
configure:2510: result: yes
configure:2661: checking for a thread-safe mkdir -p
configure:2700: result: /usr/bin/mkdir -p
configure:2707: checking for gawk
configure:2723: found /usr/bin/gawk
configure:2734: result: gawk
configure:2745: checking whether make sets $(MAKE)
configure:2767: result: yes
configure:2796: checking whether make supports nested variables
configure:2813: result: yes
configure:2958: checking for style of include used by make
configure:2986: result: GNU
configure:3057: checking for gcc
configure:3073: found /mingw32/bin/gcc
configure:3084: result: gcc
configure:3313: checking for C compiler version
configure:3322: gcc --version >&5
gcc.exe (i686-win32-dwarf-rev1, Built by MinGW-W64 project) 6.3.0
Copyright (C) 2016 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:3333: $? = 0
configure:3322: gcc -v >&5
Using built-in specs.
COLLECT_GCC=D:\MSYS64\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=D:/MSYS64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/6.3.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-6.3.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-win32-dwarf-rev1, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/lib -L/c/mingw630/prerequisites/i686-zlib-static/lib -L/c/mingw630/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: win32
gcc version 6.3.0 (i686-win32-dwarf-rev1, Built by MinGW-W64 project)
configure:3333: $? = 0
configure:3322: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3333: $? = 1
configure:3322: 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:3333: $? = 1
configure:3353: checking whether the C compiler works
configure:3375: gcc -O3 -ffunction-sections -fdata-sections -I/mingw-libgnurx-2.5.1 -I/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/mingw-libgnurx-2.5.1 -L/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgnurx
collect2.exe: error: ld returned 1 exit status
configure:3379: $? = 1
configure:3417: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3422: error: in `/c/users/administrator/desktop/nano-win':
configure:3424: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-msys
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O3 -ffunction-sections -fdata-sections'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/mingw-libgnurx-2.5.1 -I/ncurses-6.0/include -std=c99'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/mingw64/lib/binutils -L/mingw-libgnurx-2.5.1 -L/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-liberty -lgnurx -lws2_32'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-msys
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} /c/users/administrator/desktop/nano-win/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /c/users/administrator/desktop/nano-win/missing autoconf'
AUTOHEADER='${SHELL} /c/users/administrator/desktop/nano-win/missing autoheader'
AUTOMAKE='${SHELL} /c/users/administrator/desktop/nano-win/missing automake-1.15'
AWK='gawk'
BUILDING_FROM_GIT_FALSE=''
BUILDING_FROM_GIT_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-O3 -ffunction-sections -fdata-sections'
CPP=''
CPPFLAGS='-I/mingw-libgnurx-2.5.1 -I/ncurses-6.0/include -std=c99'
CURSES_LIB=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GLIB_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_LIBS=''
GLIB_MKENUMS=''
GMSGFMT=''
GOBJECT_QUERY=''
GREP=''
GROFF_HTML_FALSE=''
GROFF_HTML_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
LDFLAGS='-L/mingw64/lib/binutils -L/mingw-libgnurx-2.5.1 -L/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS='-liberty -lgnurx -lws2_32'
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /c/users/administrator/desktop/nano-win/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
MKINSTALLDIRS=''
MSGFMT=''
MSGMERGE=''
NCURSESW_CONFIG=''
OBJEXT=''
PACKAGE='nano'
PACKAGE_BUGREPORT='nano-devel@gnu.org'
PACKAGE_NAME='GNU nano'
PACKAGE_STRING='GNU nano 2.7.4'
PACKAGE_TARNAME='nano'
PACKAGE_URL='http://www.gnu.org/software/nano/'
PACKAGE_VERSION='2.7.4'
PATH_SEPARATOR=':'
PKGDATADIR=''
PKG_CONFIG=''
POSUB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_COLOR_FALSE=''
USE_COLOR_TRUE=''
USE_NANORC_FALSE=''
USE_NANORC_TRUE=''
USE_NLS=''
USE_NLS_FALSE=''
USE_NLS_TRUE=''
VERSION='2.7.4'
XGETTEXT=''
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-msys'
build_alias='x86_64-pc-msys'
build_cpu='x86_64'
build_os='msys'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-msys'
host_alias=''
host_cpu='x86_64'
host_os='msys'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/users/administrator/desktop/nano-win/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='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "GNU nano"
#define PACKAGE_TARNAME "nano"
#define PACKAGE_VERSION "2.7.4"
#define PACKAGE_STRING "GNU nano 2.7.4"
#define PACKAGE_BUGREPORT "nano-devel@gnu.org"
#define PACKAGE_URL "http://www.gnu.org/software/nano/"
#define PACKAGE "nano"
#define VERSION "2.7.4"
configure: exit 77
configure
failed due to inability to find libgnurx.a
, apparently.
I couldn't find that error in the last output, and there is the libgnurx.a in project.
$ ls -la ./mingw-libgnurx-2.5.1/libgnurx.a
-rw-r--r-- 1 Master None 88396 2月 19 01:10 ./mingw-libgnurx-2.5.1/libgnurx.a
That path isn't one of the default library search directories and has to be specified explicitly:
LDFLAGS='-Lpath/to/additional/libraries' ./configure --some-options
./configure: line 8376: syntax error near unexpected token NCURSESW,' ./configure: line 8376:
PKG_CHECK_MODULES(NCURSESW, ncursesw,'
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 GNU nano configure 2.7.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-mouse --enable-nanorc --enable-color --disable-justify --disable-utf8 --disable-speller --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
## --------- ##
## Platform. ##
## --------- ##
hostname = PC-2876
uname -m = x86_64
uname -r = 2.7.0(0.306/5/3)
uname -s = MSYS_NT-10.0
uname -v = 2017-02-14 08:57
/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: /usr/bin
PATH: /bin
PATH: /mingw32/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2163: 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
|
| # Use correct config.site even if CONFIG_SITE is not set
| if test "x$MSYSTEM" = "xMINGW64"; then
| if test -r "${MINGW_PREFIX-/mingw64}/etc/config.site"; then
| . "${MINGW_PREFIX-/mingw64}/etc/config.site"
| fi
| elif test "x$MSYSTEM" = "xMINGW32"; then
| if test -r "${MINGW_PREFIX-/mingw32}/etc/config.site"; then
| . "${MINGW_PREFIX-/mingw32}/etc/config.site"
| fi
| else
| # Defaults for MSys2-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_CARCH-x86_64}-pc-msys" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default build_alias set to $build_alias" >&5
| fi
|
| # Set default 'prefix' to "/usr"
| if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \
| ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then
| prefix="${MSYSTEM_PREFIX-/usr}" && \
| $as_echo "$config_site_me:${as_lineno-$LINENO}: default prefix set to $prefix" >&5
| fi
|
| fi
config.site:30: default prefix set to /usr
configure:2293: checking build system type
configure:2307: result: x86_64-w64-mingw32
configure:2327: checking host system type
configure:2340: result: x86_64-w64-mingw32
configure:2376: checking for a BSD-compatible install
configure:2444: result: /usr/bin/install -c
configure:2455: checking whether build environment is sane
configure:2510: result: yes
configure:2661: checking for a thread-safe mkdir -p
configure:2700: result: /usr/bin/mkdir -p
configure:2707: checking for gawk
configure:2723: found /usr/bin/gawk
configure:2734: result: gawk
configure:2745: checking whether make sets $(MAKE)
configure:2767: result: yes
configure:2796: checking whether make supports nested variables
configure:2813: result: yes
configure:2958: checking for style of include used by make
configure:2986: result: GNU
configure:3017: checking for x86_64-w64-mingw32-gcc
configure:3047: result: no
configure:3057: checking for gcc
configure:3073: found /mingw32/bin/gcc
configure:3084: result: gcc
configure:3313: checking for C compiler version
configure:3322: gcc --version >&5
gcc.exe (i686-win32-dwarf-rev1, Built by MinGW-W64 project) 6.3.0
Copyright (C) 2016 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:3333: $? = 0
configure:3322: gcc -v >&5
Using built-in specs.
COLLECT_GCC=D:\MSYS64\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=D:/MSYS64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/6.3.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-6.3.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-win32-dwarf-rev1, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/lib -L/c/mingw630/prerequisites/i686-zlib-static/lib -L/c/mingw630/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: win32
gcc version 6.3.0 (i686-win32-dwarf-rev1, Built by MinGW-W64 project)
configure:3333: $? = 0
configure:3322: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3333: $? = 1
configure:3322: 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:3333: $? = 1
configure:3353: checking whether the C compiler works
configure:3375: gcc -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:3379: $? = 0
configure:3427: result: yes
configure:3430: checking for C compiler default output file name
configure:3432: result: a.exe
configure:3438: checking for suffix of executables
configure:3445: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:3449: $? = 0
configure:3471: result: .exe
configure:3493: checking whether we are cross compiling
configure:3501: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:3505: $? = 0
configure:3512: ./conftest.exe
configure:3516: $? = 0
configure:3531: result: no
configure:3536: checking for suffix of object files
configure:3558: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:3562: $? = 0
configure:3583: result: o
configure:3587: checking whether we are using the GNU C compiler
configure:3606: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:3606: $? = 0
configure:3615: result: yes
configure:3624: checking whether gcc accepts -g
configure:3644: gcc -c -g -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:3644: $? = 0
configure:3685: result: yes
configure:3702: checking for gcc option to accept ISO C89
configure:3765: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:3765: $? = 0
configure:3778: result: none needed
configure:3803: checking whether gcc understands -c and -o together
configure:3825: gcc -c conftest.c -o conftest2.o
configure:3828: $? = 0
configure:3825: gcc -c conftest.c -o conftest2.o
configure:3828: $? = 0
configure:3840: result: yes
configure:3859: checking dependency style of gcc
configure:3970: result: gcc3
configure:3991: checking how to run the C preprocessor
configure:4022: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:4022: $? = 0
configure:4036: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4036: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4061: result: gcc -E
configure:4081: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:4081: $? = 0
configure:4095: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4095: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4124: checking for grep that handles long lines and -e
configure:4182: result: /usr/bin/grep
configure:4187: checking for egrep
configure:4249: result: /usr/bin/grep -E
configure:4254: checking for ANSI C header files
configure:4274: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4274: $? = 0
configure:4347: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:4347: $? = 0
configure:4347: ./conftest.exe
configure:4347: $? = 0
configure:4358: result: yes
configure:4371: checking for sys/types.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for sys/stat.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for stdlib.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for string.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for memory.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for strings.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for inttypes.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for stdint.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4371: checking for unistd.h
configure:4371: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4371: $? = 0
configure:4371: result: yes
configure:4384: checking minix/config.h usability
configure:4384: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^
compilation terminated.
configure:4384: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4384: result: no
configure:4384: checking minix/config.h presence
configure:4384: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^
compilation terminated.
configure:4384: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <minix/config.h>
configure:4384: result: no
configure:4384: checking for minix/config.h
configure:4384: result: no
configure:4405: checking whether it is safe to define __EXTENSIONS__
configure:4423: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:4423: $? = 0
configure:4430: result: yes
configure:4453: checking for x86_64-w64-mingw32-gcc
configure:4480: result: gcc
configure:4749: checking for C compiler version
configure:4758: gcc --version >&5
gcc.exe (i686-win32-dwarf-rev1, Built by MinGW-W64 project) 6.3.0
Copyright (C) 2016 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:4769: $? = 0
configure:4758: gcc -v >&5
Using built-in specs.
COLLECT_GCC=D:\MSYS64\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=D:/MSYS64/mingw32/bin/../libexec/gcc/i686-w64-mingw32/6.3.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-6.3.0/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sjlj-exceptions --with-dwarf2 --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw630/prerequisites/i686-w64-mingw32-static --with-pkgversion='i686-win32-dwarf-rev1, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw630/prerequisites/i686-zlib-static/include -I/c/mingw630/prerequisites/i686-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/opt/lib -L/c/mingw630/prerequisites/i686-zlib-static/lib -L/c/mingw630/prerequisites/i686-w64-mingw32-static/lib -Wl,--large-address-aware'
Thread model: win32
gcc version 6.3.0 (i686-win32-dwarf-rev1, Built by MinGW-W64 project)
configure:4769: $? = 0
configure:4758: gcc -V >&5
gcc.exe: error: unrecognized command line option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:4769: $? = 1
configure:4758: 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:4769: $? = 1
configure:4773: checking whether we are using the GNU C compiler
configure:4801: result: yes
configure:4810: checking whether gcc accepts -g
configure:4871: result: yes
configure:4888: checking for gcc option to accept ISO C89
configure:4964: result: none needed
configure:4989: checking whether gcc understands -c and -o together
configure:5026: result: yes
configure:5045: checking dependency style of gcc
configure:5156: result: gcc3
configure:5171: checking whether ln -s works
configure:5178: result: no, using cp -pR
configure:5183: checking for strerror in -lcposix
configure:5208: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -lcposix -liberty -lgnurx -lws2_32 >&5
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lcposix
collect2.exe: error: ld returned 1 exit status
configure:5208: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strerror ();
| int
| main ()
| {
| return strerror ();
| ;
| return 0;
| }
configure:5217: result: no
configure:5232: checking for special C compiler options needed for large files
configure:5277: result: no
configure:5283: checking for _FILE_OFFSET_BITS value needed for large files
configure:5308: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
conftest.c:31:33: warning: left shift count >= width of type [-Wshift-count-overflow]
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
^
conftest.c:32:23: note: in expansion of macro 'LARGE_OFF_T'
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^~~~~~~~~~~
conftest.c:31:57: warning: left shift count >= width of type [-Wshift-count-overflow]
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
^
conftest.c:32:23: note: in expansion of macro 'LARGE_OFF_T'
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^~~~~~~~~~~
conftest.c:31:33: warning: left shift count >= width of type [-Wshift-count-overflow]
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
^
conftest.c:33:13: note: in expansion of macro 'LARGE_OFF_T'
&& LARGE_OFF_T % 2147483647 == 1)
^~~~~~~~~~~
conftest.c:31:57: warning: left shift count >= width of type [-Wshift-count-overflow]
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
^
conftest.c:33:13: note: in expansion of macro 'LARGE_OFF_T'
&& LARGE_OFF_T % 2147483647 == 1)
^~~~~~~~~~~
conftest.c:32:7: error: variably modified 'off_t_is_large' at file scope
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^~~~~~~~~~~~~~
configure:5308: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h. */
| #include <sys/types.h>
| /* Check that off_t can represent 2**63 - 1 correctly.
| We can't simply define LARGE_OFF_T to be 9223372036854775807,
| since some C++ compilers masquerading as C compilers
| incorrectly reject 9223372036854775807. */
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5332: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:5332: $? = 0
configure:5340: result: 64
configure:5444: checking for msgfmt
configure:5472: result: /usr/bin/msgfmt
configure:5481: checking for gmsgfmt
configure:5512: result: /usr/bin/msgfmt
configure:5523: checking for xgettext
configure:5551: result: /usr/bin/xgettext
configure:5562: checking for msgmerge
configure:5589: result: /usr/bin/msgmerge
configure:5651: checking for ld used by GCC
configure:5714: result: D:/MSYS64/mingw32/i686-w64-mingw32/bin/ld.exe
configure:5721: checking if the linker (D:/MSYS64/mingw32/i686-w64-mingw32/bin/ld.exe) is GNU ld
GNU ld (GNU Binutils) 2.27
configure:5733: result: yes
configure:5739: checking for shared library run path origin
configure:5752: result: done
configure:6169: checking whether NLS is requested
configure:6178: result: yes
configure:6195: checking for GNU gettext in libc
configure:6214: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
conftest.c:27:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>
^
compilation terminated.
configure:6214: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h. */
| #include <libintl.h>
| extern int _nl_msg_cat_cntr;
| extern int *_nl_domain_bindings;
| int
| main ()
| {
| bindtextdomain ("", "");
| return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
| ;
| return 0;
| }
configure:6222: result: no
configure:6256: checking for iconv
configure:6278: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib\libiconv.a(localcharset.o):localcharset.c:(.text+0x8): undefined reference to `_imp__GetACP@0'
collect2.exe: error: ld returned 1 exit status
configure:6278: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <iconv.h>
| int
| main ()
| {
| iconv_t cd = iconv_open("","");
| iconv(cd,NULL,NULL,NULL,NULL);
| iconv_close(cd);
| ;
| return 0;
| }
configure:6300: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 /usr/lib/libiconv.a >&5
D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib\libiconv.a(localcharset.o):localcharset.c:(.text+0x8): undefined reference to `_imp__GetACP@0'
collect2.exe: error: ld returned 1 exit status
configure:6300: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <iconv.h>
| int
| main ()
| {
| iconv_t cd = iconv_open("","");
| iconv(cd,NULL,NULL,NULL,NULL);
| iconv_close(cd);
| ;
| return 0;
| }
configure:6310: result: no, consider installing GNU libiconv
configure:6709: checking for GNU gettext in libintl
configure:6736: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 /usr/lib/libintl.a >&5
conftest.c:27:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>
^
compilation terminated.
configure:6736: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| /* end confdefs.h. */
| #include <libintl.h>
| extern int _nl_msg_cat_cntr;
| extern
| #ifdef __cplusplus
| "C"
| #endif
| const char *_nl_expand_alias ();
| int
| main ()
| {
| bindtextdomain ("", "");
| return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
| ;
| return 0;
| }
configure:6775: result: no
configure:6887: checking getopt.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking getopt.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for getopt.h
configure:6887: result: yes
configure:6887: checking libintl.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
conftest.c:62:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>
^
compilation terminated.
configure:6887: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libintl.h>
configure:6887: result: no
configure:6887: checking libintl.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
conftest.c:29:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>
^
compilation terminated.
configure:6887: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| /* end confdefs.h. */
| #include <libintl.h>
configure:6887: result: no
configure:6887: checking for libintl.h
configure:6887: result: no
configure:6887: checking limits.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking limits.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for limits.h
configure:6887: result: yes
configure:6887: checking regex.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking regex.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for regex.h
configure:6887: result: yes
configure:6887: checking sys/param.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking sys/param.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for sys/param.h
configure:6887: result: yes
configure:6887: checking wchar.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking wchar.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for wchar.h
configure:6887: result: yes
configure:6887: checking wctype.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking wctype.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for wctype.h
configure:6887: result: yes
configure:6887: checking stdarg.h usability
configure:6887: gcc -c -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking stdarg.h presence
configure:6887: gcc -E -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c
configure:6887: $? = 0
configure:6887: result: yes
configure:6887: checking for stdarg.h
configure:6887: result: yes
configure:7253: checking whether to enable UTF-8 support
configure:7260: result: no
configure:7276: checking whether to use slang
configure:7667: result: no
configure:7677: checking for getdelim
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:\MSYS64\tmp\ccuME40A.o:conftest.c:(.text.startup.main+0xc): undefined reference to `getdelim'
collect2.exe: error: ld returned 1 exit status
configure:7677: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_STDARG_H 1
| #define ENABLE_COMMENT 1
| #define DISABLE_JUSTIFY 1
| #define ENABLE_LINENUMBERS 1
| #define DISABLE_MOUSE 1
| #define DISABLE_SPELLER 1
| #define ENABLE_WORDCOMPLETION 1
| #define NDEBUG 1
| /* end confdefs.h. */
| /* Define getdelim to an innocuous variant, in case <limits.h> declares getdelim.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getdelim innocuous_getdelim
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getdelim (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getdelim
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getdelim ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_getdelim || defined __stub___getdelim
| choke me
| #endif
|
| int
| main ()
| {
| return getdelim ();
| ;
| return 0;
| }
configure:7677: result: no
configure:7677: checking for getline
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:\MSYS64\tmp\cco7f0vF.o:conftest.c:(.text.startup.main+0xc): undefined reference to `getline'
collect2.exe: error: ld returned 1 exit status
configure:7677: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_STDARG_H 1
| #define ENABLE_COMMENT 1
| #define DISABLE_JUSTIFY 1
| #define ENABLE_LINENUMBERS 1
| #define DISABLE_MOUSE 1
| #define DISABLE_SPELLER 1
| #define ENABLE_WORDCOMPLETION 1
| #define NDEBUG 1
| /* end confdefs.h. */
| /* Define getline to an innocuous variant, in case <limits.h> declares getline.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getline innocuous_getline
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getline (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getline
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getline ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_getline || defined __stub___getline
| choke me
| #endif
|
| int
| main ()
| {
| return getline ();
| ;
| return 0;
| }
configure:7677: result: no
configure:7677: checking for isblank
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
conftest.c:65:6: warning: conflicting types for built-in function 'isblank'
char isblank ();
^~~~~~~
configure:7677: $? = 0
configure:7677: result: yes
configure:7677: checking for strcasecmp
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:7677: $? = 0
configure:7677: result: yes
configure:7677: checking for strcasestr
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:\MSYS64\tmp\cccYchsk.o:conftest.c:(.text.startup.main+0xc): undefined reference to `strcasestr'
collect2.exe: error: ld returned 1 exit status
configure:7677: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_STDARG_H 1
| #define ENABLE_COMMENT 1
| #define DISABLE_JUSTIFY 1
| #define ENABLE_LINENUMBERS 1
| #define DISABLE_MOUSE 1
| #define DISABLE_SPELLER 1
| #define ENABLE_WORDCOMPLETION 1
| #define NDEBUG 1
| #define HAVE_ISBLANK 1
| #define HAVE_STRCASECMP 1
| /* end confdefs.h. */
| /* Define strcasestr to an innocuous variant, in case <limits.h> declares strcasestr.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strcasestr innocuous_strcasestr
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strcasestr (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strcasestr
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strcasestr ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_strcasestr || defined __stub___strcasestr
| choke me
| #endif
|
| int
| main ()
| {
| return strcasestr ();
| ;
| return 0;
| }
configure:7677: result: no
configure:7677: checking for strncasecmp
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:7677: $? = 0
configure:7677: result: yes
configure:7677: checking for strnlen
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:7677: $? = 0
configure:7677: result: yes
configure:7677: checking for snprintf
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
conftest.c:69:6: warning: conflicting types for built-in function 'snprintf'
char snprintf ();
^~~~~~~~
configure:7677: $? = 0
configure:7677: result: yes
configure:7677: checking for vsnprintf
configure:7677: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
conftest.c:70:6: warning: conflicting types for built-in function 'vsnprintf'
char vsnprintf ();
^~~~~~~~~
configure:7677: $? = 0
configure:7677: result: yes
configure:8272: checking whether C compiler accepts -Wall
configure:8291: gcc -c -O3 -ffunction-sections -fdata-sections -Wall -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
configure:8291: $? = 0
configure:8299: result: yes
configure:8309: checking return type of signal handlers
configure:8327: gcc -c -O3 -ffunction-sections -fdata-sections -Wall -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 conftest.c >&5
conftest.c: In function 'main':
conftest.c:54:10: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
~^~~~~~~~~~~~~~~~~~
configure:8327: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_STDARG_H 1
| #define ENABLE_COMMENT 1
| #define DISABLE_JUSTIFY 1
| #define ENABLE_LINENUMBERS 1
| #define DISABLE_MOUSE 1
| #define DISABLE_SPELLER 1
| #define ENABLE_WORDCOMPLETION 1
| #define NDEBUG 1
| #define HAVE_ISBLANK 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:8334: result: void
configure:8344: checking for vprintf
configure:8344: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -Wall -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
conftest.c:72:6: warning: conflicting types for built-in function 'vprintf'
char vprintf ();
^~~~~~~
configure:8344: $? = 0
configure:8344: result: yes
configure:8350: checking for _doprnt
configure:8350: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -Wall -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
D:\MSYS64\tmp\ccUtEThm.o:conftest.c:(.text.startup.main+0xc): undefined reference to `_doprnt'
collect2.exe: error: ld returned 1 exit status
configure:8350: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU nano"
| #define PACKAGE_TARNAME "nano"
| #define PACKAGE_VERSION "2.7.4"
| #define PACKAGE_STRING "GNU nano 2.7.4"
| #define PACKAGE_BUGREPORT "nano-devel@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/nano/"
| #define PACKAGE "nano"
| #define VERSION "2.7.4"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _FILE_OFFSET_BITS 64
| #define PKGDATADIR "/usr/share/nano"
| #define HAVE_GETOPT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_STDARG_H 1
| #define ENABLE_COMMENT 1
| #define DISABLE_JUSTIFY 1
| #define ENABLE_LINENUMBERS 1
| #define DISABLE_MOUSE 1
| #define DISABLE_SPELLER 1
| #define ENABLE_WORDCOMPLETION 1
| #define NDEBUG 1
| #define HAVE_ISBLANK 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define RETSIGTYPE void
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _doprnt
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub__doprnt || defined __stub____doprnt
| choke me
| #endif
|
| int
| main ()
| {
| return _doprnt ();
| ;
| return 0;
| }
configure:8350: result: no
configure:8363: checking for getopt_long
configure:8363: gcc -o conftest.exe -O3 -ffunction-sections -fdata-sections -Wall -I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99 -L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections conftest.c -liberty -lgnurx -lws2_32 >&5
configure:8363: $? = 0
configure:8363: result: yes
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-w64-mingw32
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O3 -ffunction-sections -fdata-sections'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-liberty -lgnurx -lws2_32'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-w64-mingw32
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-w64-mingw32
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func__doprnt=no
ac_cv_func_getdelim=no
ac_cv_func_getline=no
ac_cv_func_getopt_long=yes
ac_cv_func_isblank=yes
ac_cv_func_snprintf=yes
ac_cv_func_strcasecmp=yes
ac_cv_func_strcasestr=no
ac_cv_func_strncasecmp=yes
ac_cv_func_strnlen=yes
ac_cv_func_vprintf=yes
ac_cv_func_vsnprintf=yes
ac_cv_header_getopt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libintl_h=no
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_regex_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_header_wctype_h=yes
ac_cv_host=x86_64-w64-mingw32
ac_cv_lib_cposix_strerror=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_sys_file_offset_bits=64
ac_cv_sys_largefile_CC=no
ac_cv_type_signal=void
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=D:/MSYS64/mingw32/i686-w64-mingw32/bin/ld.exe
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=dll
acl_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib'
acl_cv_sys_lib_search_path_spec=' =D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/ D:/MSYS64/mingw32/bin/../lib/gcc/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/i686-w64-mingw32/6.3.0/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/../lib/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../i686-w64-mingw32/6.3.0/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../lib/ C:/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/mingw/lib/i686-w64-mingw32/6.3.0/ C:/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/mingw/lib/../lib/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../../i686-w64-mingw32/lib/ D:/MSYS64/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.3.0/../../../ C:/mingw630/i686-630-win32-dwarf-rt_v5-rev1/mingw32/mingw/lib/'
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_func_iconv='no, consider installing GNU libiconv'
am_cv_lib_iconv=no
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_check_cflags___Wall=yes
gt_cv_func_gnugettext2_libc=no
gt_cv_func_gnugettext2_libintl=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /c/users/administrator/desktop/nano-win/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /c/users/administrator/desktop/nano-win/missing autoconf'
AUTOHEADER='${SHELL} /c/users/administrator/desktop/nano-win/missing autoheader'
AUTOMAKE='${SHELL} /c/users/administrator/desktop/nano-win/missing automake-1.15'
AWK='gawk'
BUILDING_FROM_GIT_FALSE=''
BUILDING_FROM_GIT_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O3 -ffunction-sections -fdata-sections -Wall'
CPP='gcc -E'
CPPFLAGS='-I/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -I/c/users/administrator/desktop/nano-win/ncurses-6.0/include -std=c99'
CURSES_LIB=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT='.exe'
GLIB_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_LIBS=''
GLIB_MKENUMS=''
GMSGFMT='/usr/bin/msgfmt'
GOBJECT_QUERY=''
GREP='/usr/bin/grep'
GROFF_HTML_FALSE=''
GROFF_HTML_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
LDFLAGS='-L/mingw64/lib/binutils -L/c/users/administrator/desktop/nano-win/mingw-libgnurx-2.5.1 -L/c/users/administrator/desktop/nano-win/ncurses-6.0/lib -O3 -static -Wl,-s,--gc-sections'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS='-liberty -lgnurx -lws2_32'
LN_S='cp -pR'
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /c/users/administrator/desktop/nano-win/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
MKINSTALLDIRS='./mkinstalldirs'
MSGFMT='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
NCURSESW_CONFIG=''
OBJEXT='o'
PACKAGE='nano'
PACKAGE_BUGREPORT='nano-devel@gnu.org'
PACKAGE_NAME='GNU nano'
PACKAGE_STRING='GNU nano 2.7.4'
PACKAGE_TARNAME='nano'
PACKAGE_URL='http://www.gnu.org/software/nano/'
PACKAGE_VERSION='2.7.4'
PATH_SEPARATOR=':'
PKGDATADIR='/usr/share/nano'
PKG_CONFIG=''
POSUB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_COLOR_FALSE='#'
USE_COLOR_TRUE=''
USE_NANORC_FALSE='#'
USE_NANORC_TRUE=''
USE_NLS='no'
USE_NLS_FALSE=''
USE_NLS_TRUE='#'
VERSION='2.7.4'
XGETTEXT='/usr/bin/xgettext'
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-w64-mingw32'
build_alias='x86_64-w64-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='w64'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-w64-mingw32'
host_alias='x86_64-w64-mingw32'
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/users/administrator/desktop/nano-win/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='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "GNU nano"
#define PACKAGE_TARNAME "nano"
#define PACKAGE_VERSION "2.7.4"
#define PACKAGE_STRING "GNU nano 2.7.4"
#define PACKAGE_BUGREPORT "nano-devel@gnu.org"
#define PACKAGE_URL "http://www.gnu.org/software/nano/"
#define PACKAGE "nano"
#define VERSION "2.7.4"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define PKGDATADIR "/usr/share/nano"
#define HAVE_GETOPT_H 1
#define HAVE_LIMITS_H 1
#define HAVE_REGEX_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_WCHAR_H 1
#define HAVE_WCTYPE_H 1
#define HAVE_STDARG_H 1
#define ENABLE_COMMENT 1
#define DISABLE_JUSTIFY 1
#define ENABLE_LINENUMBERS 1
#define DISABLE_MOUSE 1
#define DISABLE_SPELLER 1
#define ENABLE_WORDCOMPLETION 1
#define NDEBUG 1
#define HAVE_ISBLANK 1
#define HAVE_STRCASECMP 1
#define HAVE_STRNCASECMP 1
#define HAVE_STRNLEN 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define RETSIGTYPE void
#define HAVE_VPRINTF 1
#define HAVE_GETOPT_LONG 1
configure: exit 2
Try installing all packages in base-devel
and try again:
pacman -S base-devel
Not found libiberty/libiberty.h in color.c, It's ok after copy the libiberty to folder src. Thans very much!
It print an error when exit: Error reading D:/MSYS64/usr/etc/nanorc: Permission denied I found the string "D:/MSYS64" hardcode in files nano.exe and rcfile.o, how to remove it?
I don't think anybody has hardcoded the path. I don't think that file should be read by nano either since the nanorc path is ~/.nanorc
(note the dot in the filename). You might want to get gdb and set a breakpoint on open()
and see where it is used.
The rcfile.o in vim hex mode.
I don't know how it compiled in rcfile.o.
See line 1301 of rcfile.c:
nanorc = mallocstrcpy(nanorc, SYSCONFDIR "/nanorc");
, where SYSCONFDIR
is a macro introduced by configure
.
Well, personally I would like that system-wide nanorc
file to be located in %ALLUSERSPROFILE%
or %WINDIR%
. Either requires a little work.
nano should read the global configuration file from %HOMEDRIVE%%HOMEPATH%/../All Users/nanorc
now.
Do you still have problems building nano? If not please close this issue. We have been off-topic since long ago.
I try to build the nano-win 2.7.5, that's ok! but i found another problem.
When i ssh in Bitvise SSH Server and run nano, it broken the ssh connection.
That might have something to do with ncurses. You can try MSYS2 nano and see whether it has the same issue.
pacman -S nano
The nano in MSYS2 is running normally
You may try reverting this. However it would make nano unable to start in cmd.
I reverted that code and rebuild it, but it broken ssh connection still.
Then have a look at patches for MSYS2 here and diff the code. Note that MSYS2 nano depends on the MSYS2 runtime, while nano-win depends on only Windows native DLLs. If that is the cause there is no way to fix this issue.
I compared orginal edition and nano-win edition of the ncurses 6.0, well i found two differents: the first is lib_initsrc.c in base, and the second is vt100 in misc/tabset. I tried to reverting the lib_initsrc.c and rebuild it, but the problem is still exist. i guess that might have something to do with vt100?
No idea. Have fun discovering it! :joy:
I build it by MinGW-w64, What is the reason? thank you very much!