grep-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-3.5 released [stable]


From: Dennis Clarke
Subject: Re: grep-3.5 released [stable]
Date: Mon, 28 Sep 2020 11:19:32 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.0.1

On 9/28/20 4:08 AM, Paul Eggert wrote:
> On 9/27/20 10:10 PM, Dennis Clarke wrote:
>> This instantly baffles me on Solaris 10 :
>>
>> alpha$ ./configure --prefix=/opt/bw --disable-silent-rules \
>>> --enable-dependency-tracking --enable-threads=posix --without-gnu-ld \
>>> --with-libsigsegv-prefix=/opt/bw --with-libiconv-prefix=/opt/bw \
>>> --with-libintl-prefix=/opt/bw
>> configure: error: no working 'grep' found
> 
> On my Solaris 10 box, it says:
> 
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> 
> My PATH is
> '/usr/bin:/usr/ccs/bin:/r/share1/src/developerstudio12.6/bin';
> 'configure' automatically looks in /usr/xpg4/bin if none of the grep's
> found in the PATH suffice. /usr/bin/grep does not suffice.

For reasons unknown that doesn't work here.  At all.

I did try to change the first line of configure script to use bash and
not just /bin/sh and that seemed to make no difference. I think there is
another email here somewhere from you mentioning egrep. Well I have GNU
grep and GNU egrep in my path at /usr/local/bin *first* before the good
old /usr/xpg4/bin/grep.  No idea why it doesn't fly here. Nope. No clue
at all. Like I said.  Baffled.  I did look to the east and I did go and
try to get a black cat but alas it was not a full moon last night. I can
tell you that configure ( once I removed those offending lines checking
for grep which I have in multiple flavours ) would report this neatly :

alpha$ ./configure --prefix=/opt/bw --disable-silent-rules \
--enable-dependency-tracking --enable-threads=posix
--without-gnu-ld --with-libsigsegv-prefix=/opt/bw
--with-libiconv-prefix=/opt/bw --with-libintl-prefix=/opt/bw
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /opt/bw/bin/gawk
checking whether /opt/bw/bin/gmake sets $(MAKE)... yes
checking whether /opt/bw/bin/gmake supports nested variables... yes
checking whether /opt/bw/bin/gmake supports nested variables... (cached) yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gawk... (cached) /opt/bw/bin/gawk
checking for gcc... /opt/developerstudio12.6/bin/cc -std=iso9899:2011
-m64 -xarch=sparc -g -errfmt=error -errshort=full -xstrconst -xildoff
-xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf
-errtags=yes -errwarn=%none -erroff=%none -L/opt/bw/lib -R/opt/bw/lib
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/developerstudio12.6/bin/cc -std=iso9899:2011 -m64
-xarch=sparc -g -errfmt=error -errshort=full -xstrconst -xildoff
-xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf
-errtags=yes -errwarn=%none -erroff=%none -L/opt/bw/lib -R/opt/bw/lib
accepts -g... yes
checking for /opt/developerstudio12.6/bin/cc -std=iso9899:2011 -m64
-xarch=sparc -g -errfmt=error -errshort=full -xstrconst -xildoff
-xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf
-errtags=yes -errwarn=%none -erroff=%none -L/opt/bw/lib -R/opt/bw/lib
option to enable C11 features... none needed
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether /opt/bw/bin/gmake supports the include directive... yes
(GNU style)
checking dependency style of /opt/developerstudio12.6/bin/cc
-std=iso9899:2011 -m64 -xarch=sparc -g -errfmt=error -errshort=full
-xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl
-xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs
-xdebugformat=dwarf -errtags=yes -errwarn=%none -erroff=%none
-L/opt/bw/lib -R/opt/bw/lib... dashXmstdout
checking how to run the C preprocessor...
/opt/developerstudio12.6/bin/cc -std=iso9899:2011 -m64 -xarch=sparc -g
-errfmt=error -errshort=full -xstrconst -xildoff -xmemalign=8s
-xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none
-xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes
-errwarn=%none -erroff=%none -L/opt/bw/lib -R/opt/bw/lib -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... /usr/ccs/bin/ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ranlib... (cached) ranlib
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for setrlimit... yes
checking for sigaltstack... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fcntl... yes
checking for symlink... yes
checking for fdopendir... yes
checking for mempcpy... no
checking for fnmatch... yes
checking for mbsrtowcs... yes
checking for fstatat... yes
checking for openat... yes
checking for fstatfs... yes
checking for getdtablesize... yes
checking for getprogname... no
checking for getexecname... yes
checking for isblank... yes
checking for iswcntrl... yes
checking for iswblank... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mbrlen... yes
checking for mbslen... no
checking for mprotect... yes
checking for nl_langinfo... yes
checking for iswctype... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for strtoimax... yes
checking for strtoumax... yes
checking for pipe... yes
checking for wcrtomb... yes
checking for wctob... yes
checking for wcwidth... yes
checking for wmempcpy... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for duplocale... no
checking for newlocale... no
checking for uselocale... no
checking for freelocale... no
checking for pthread_sigmask... yes
checking for setenv... yes
checking for sleep... yes
checking for snprintf... yes
checking for catgets... yes
checking for shutdown... no
checking for vasnprintf... no
checking for isascii... yes
checking for setlocale... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR
checking for ucontext.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for fnmatch.h... yes
checking for stdio_ext.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/vfs.h... yes
checking for getopt.h... yes
checking for sys/cdefs.h... no
checking for threads.h... no
checking for iconv.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for langinfo.h... yes
checking for xlocale.h... no
checking for sys/mman.h... yes
checking for malloc.h... yes
checking for sys/time.h... yes
checking for features.h... no
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for sys/select.h... yes
checking for pthread.h... yes
checking for sys/wait.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for working C stack overflow detection... yes
checking for correct stack_t interpretation... yes
checking for precise C stack overflow detection... yes
checking for ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for ELF binary format... no
checking for the common suffixes of directories in the library search
path... lib,lib/64,lib/sparcv9
checking for libsigsegv... yes
checking how to link with libsigsegv... /opt/bw/lib/libsigsegv.so -lc
-R/opt/bw/lib
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking for inline... inline
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking whether fchdir is declared... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for pid_t... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking for mbstate_t... yes
checking whether stat file-mode macros are broken... no
checking for C/C++ restrict keyword... __restrict
checking for nlink_t... yes
checking whether lstat correctly handles trailing slash... yes
checking for O_CLOEXEC... no
checking whether getcwd (NULL, 0) allocates memory for result... no
checking for getcwd with POSIX signature... yes
checking whether getdtablesize is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking whether POSIX threads API is available... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes
checking whether setlocale (category, NULL) is multithread-safe... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /opt/bw/lib/libiconv.so -R/opt/bw/lib
checking whether iconv is compatible with its POSIX signature... no
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a french Unicode locale... fr_FR.UTF-8
checking for a transitional chinese locale... zh_CN.GB18030
checking for wchar_t... yes
checking for good max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking whether locale.h defines locale_t... no
checking whether imported symbols can be declared weak... yes
checking for multithread API to use... posix
checking for a sed that does not truncate output... /opt/bw/bin/sed
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for GNU libc compatible malloc... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... no
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc stores incomplete characters... no
checking whether mbrtowc works on empty input... (cached) assume yes
checking whether the C locale is free of encoding errors... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memrchr is declared... no
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... no
checking for sigset_t... yes
checking whether alarm is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether strdup is declared... yes
checking whether strerror(0) succeeds... yes
checking for strerror_r with POSIX signature... yes
checking whether strerror_r works... no
checking whether strnlen is declared... no
checking whether strstr works... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether <sys/socket.h> is self-contained... yes
checking for shutdown... (cached) no
checking for struct sockaddr_storage... yes
checking for sa_family_t... yes
checking for struct sockaddr_storage.ss_family... yes
checking if environ is properly declared... no
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking for off_t... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking whether <sys/select.h> is self-contained... no
checking for library containing setsockopt... -lsocket
checking whether select supports a 0 argument... yes
checking whether select detects invalid fds... yes
checking whether strerror_r is declared... (cached) yes
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf is declared... yes
checking whether unsetenv is declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 0 bit 20
checking for snprintf... (cached) yes
checking for strnlen... no
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking for alloca as a compiler built-in... no
checking whether to enable assertions... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking for __builtin_expect... yes
checking whether sigaltstack is declared... yes
checking for stack_t... yes
checking whether this system supports file names of any length... no
checking for closedir... yes
checking for d_ino member in directory struct... yes
checking for d_type member in directory struct... no
checking for dirfd... no
checking whether dirfd is declared... no
checking whether dirfd is a macro... no
checking how to get the file descriptor associated with an open DIR*...
dd_fd
checking whether // is distinct from /... no
checking whether dup works... yes
checking whether dup2 works... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for flexible array member... yes
checking for working POSIX fnmatch... yes
checking whether fopen recognizes a trailing slash... yes
checking whether fopen supports the mode character 'x'... no
checking whether fopen supports the mode character 'e'... no
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for struct statfs.f_type... no
checking for fts_open... no
checking whether getdtablesize works... yes
checking for getpagesize... yes
checking whether getpagesize is declared... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries...
checking whether the compiler generally respects inline... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether iswblank is declared... yes
checking whether iswdigit is ISO C compliant... no
checking whether iswxdigit is ISO C compliant... no
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... no
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether the compiler supports the __inline keyword... yes
checking for libsigsegv... (cached) yes
checking how to link with libsigsegv... /opt/bw/lib/libsigsegv.so -lc
-R/opt/bw/lib
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking whether lseek detects pipes... yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles a NULL pwc argument... (cached) yes
checking whether mbrtowc handles a NULL string argument... (cached) yes
checking whether mbrtowc has a correct return value... (cached) no
checking whether mbrtowc returns 0 when parsing a NUL character...
(cached) yes
checking whether mbrtowc stores incomplete characters... (cached) no
checking whether mbrtowc works on empty input... (cached) assume yes
checking whether the C locale is free of encoding errors... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... no
checking for mbtowc... yes
checking for mempcpy... (cached) no
checking for memrchr... no
checking whether YESEXPR works... yes
checking for obstacks that work with any size object... no
checking whether open recognizes a trailing slash... yes
checking for opendir... yes
checking for perl5.005 or newer... yes
checking for raise... yes
checking for sigprocmask... yes
checking for rawmemchr... no
checking for readdir... yes
checking for GNU libc compatible realloc... yes
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe...
(cached) yes
checking whether setlocale (category, NULL) is multithread-safe...
(cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for sigprocmask... (cached) yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slashes on files... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... no
checking for va_copy... yes
checking for good max_align_t... (cached) no
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... no
checking for working strerror function... yes
checking whether strstr works in linear time... no
checking whether strstr works... (cached) yes
checking whether strtoimax works... yes
checking for strtoll... yes
checking for strtoull... yes
checking for nlink_t... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb works in the C locale... yes
checking whether wcrtomb return value is correct... no
checking whether wctob works... yes
checking whether wctob is declared... yes
checking whether iswcntrl works... (cached) yes
checking for towlower... (cached) yes
checking for wctype_t... (cached) yes
checking for wctrans_t... (cached) yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... no
checking for wmemchr... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional french locale... (cached) fr_FR
checking for a turkish Unicode locale... none
checking whether fdopen sets errno... yes
checking whether conversion from 'int' to 'long double' works... yes
checking for gettimeofday with POSIX signature... yes
checking for library containing inet_pton... -lnsl
checking whether inet_pton is declared... yes
checking whether byte ordering is bigendian... yes
checking for ioctl... yes
checking for ioctl with POSIX signature... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for a turkish Unicode locale... (cached) none
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for library containing nanosleep... none required
checking for working nanosleep... no (mishandles large arguments)
checking whether <netinet/in.h> is self-contained... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for pthread_t... yes
checking for pthread_spinlock_t... yes
checking for PTHREAD_CREATE_DETACHED... yes
checking for PTHREAD_MUTEX_RECURSIVE... yes
checking for PTHREAD_MUTEX_ROBUST... no
checking for PTHREAD_PROCESS_SHARED... yes
checking whether pthread_create exists as a global function... yes
checking whether pthread_sigmask is a macro... no
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking for putenv compatible with GNU and SVID... no
checking whether _putenv is declared... no
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for sched.h... yes
checking for struct sched_param... yes
checking whether select supports a 0 argument... (cached) yes
checking whether select detects invalid fds... (cached) yes
checking whether setenv validates arguments... yes
checking whether setlocale supports the C locale... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with
positions... yes
checking for socklen_t... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether symlink handles trailing slash correctly... yes
checking whether <sys/ioctl.h> declares ioctl... no
checking for pthread_atfork... yes
checking sys/single_threaded.h usability... no
checking sys/single_threaded.h presence... no
checking for sys/single_threaded.h... no
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... no
checking for ptrdiff_t... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for stdint.h... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... no
checking whether NLS is requested... yes
checking for msgfmt... /opt/bw/bin/msgfmt
checking for gmsgfmt... /bin/gmsgfmt
checking for xgettext... /opt/bw/bin/xgettext
checking for msgmerge... /opt/bw/bin/msgmerge
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyPreferredLanguages... (cached) no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... /opt/bw/lib/libiconv.so -R/opt/bw/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /opt/bw/lib/libintl.so
/opt/bw/lib/libiconv.so -R/opt/bw/lib
checking for PCRE... yes
checking for pcre_compile... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating gnulib-tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
alpha$

The env var for CC is a bit of a hack but I tried that first just to see
if I could get this process off the ground.  Of course I can, the code
is good code but the configure process is a total mystery looking for
grep which I have all over the place in various flavours.  Regardless I
have to intervene and do manual linkage with libsigsegv a few times and
of course the final link for grep itself needs this. The configure
script finds libsegsegv.so of course :

checking for libsigsegv... yes
checking how to link with libsigsegv... /opt/bw/lib/libsigsegv.so -lc
-R/opt/bw/lib

However the Makefile seems to just ignore that fact. In a few places.

Again, no idea why. Baffled.

So with a little help the whole lot does compile up neatly and then the
whole testsuite runs fine except for that gnulib nit which we can
ignore.  I did repeat the whole process from top to bottom a few times
and I did use C99 with strict CFLAGS and again I do need to remove the
offensive lines looking for grep. Even though I had previously installed
grep 3.5 in the very first component of my PATH!  That was hilarious. So
the whole show compiles up neatly after this :

--- configure_orig      Mon Sep 28 02:49:51 2020
+++ configure   Mon Sep 28 06:03:51 2020
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/opt/bw/bin/bash
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.69c for GNU grep 3.5.
 #
@@ -3713,16 +3713,6 @@
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu

-
-
-if test -n "$GREP" || test -n "$EGREP"; then
-  as_fn_error $? "no working 'grep' found
-  A working 'grep' command is needed to build GNU Grep.
-  This 'grep' should support -e and long lines.
-  On Solaris 10, install the package SUNWggrp or SUNWxcu4.
-  On Solaris 11, install the package text/gnu-grep or
system/xopen/xcu4." "$LINENO" 5
-fi
-
 ac_aux_dir=
 for ac_dir in build-aux "$srcdir"/build-aux
 do


When I say "neatly" here I mean to say that the final link fails in that
libsigsegv was forgotten. Again, baffled about that. Manual intervention
solves the problem and I need to do that once in the test suite.

However, all in all, a damn fine looking grep.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional















reply via email to

[Prev in Thread] Current Thread [Next in Thread]