• Apache HTTPD compile/configure problem

    From Patrick Spillane@21:1/5 to All on Thu Sep 14 20:44:14 2017
    Hello, could someone please help with an issue I am having while trying to compile apache HTTPD on a sparc solaris 10 server.

    When I run "configure" I get to this point:

    "checking if fcntl returns EACCESS when F_SETLK is already held..."

    and then it just hangs. I have waited over 20 minutes and it never continues. I have tried versions 2.4.24 & 2.4.27 and the issue is the same.

    The actual output is below.

    Any help I could receive would be greatly appreciated.

    Thanks,
    Patrick

    server1:/install/httpd-source/httpd-2.4.23 $ ./configure --enable-so \
    --enable-mods-shared="all" \
    --prefix="/opt/apache24" \
    --with-included-apr \
    --enable-ssl \
    --with-pcre="/net/iitpspil/install/pcre/bin/pcre-config" \ --enable-mpms-shared=all \
    CC="gcc -m64"
    checking for chosen layout... Apache
    checking for working mkdir -p... yes
    checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
    checking for egrep... /usr/sfw/bin/ggrep -E
    checking build system type... sparc-sun-solaris2.10
    checking host system type... sparc-sun-solaris2.10
    checking target system type... sparc-sun-solaris2.10
    configure:
    configure: Configuring Apache Portable Runtime library...
    configure:
    configuring package in srclib/apr now
    checking build system type... sparc-sun-solaris2.10
    checking host system type... sparc-sun-solaris2.10
    checking target system type... sparc-sun-solaris2.10
    Configuring APR library
    Platform: sparc-sun-solaris2.10
    checking for working mkdir -p... yes
    APR Version: 1.5.2
    checking for chosen layout... apr
    checking for gcc... gcc -m64
    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... yes
    checking whether gcc -m64 accepts -g... yes
    checking for gcc -m64 option to accept ISO C89... none needed
    checking for a sed that does not truncate output... /usr/bin/sed
    Applying APR hints file rules for sparc-sun-solaris2.10
    setting CPPFLAGS to "-DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
    setting apr_lock_method to "USE_PROC_PTHREAD_SERIALIZE"
    setting ac_cv_func_readdir64_r to "no"
    (Default will be unix)
    checking whether make sets $(MAKE)... yes
    checking how to run the C preprocessor... gcc -m64 -E
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether ln -s works... yes
    checking for ranlib... ranlib
    checking for a BSD-compatible install... build/install.sh -c
    checking for rm... rm
    checking for as... as
    checking for cpp... cpp
    checking for ar... ar
    checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
    checking for egrep... /usr/sfw/bin/ggrep -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 for library containing strerror... none required
    checking whether system uses EBCDIC... no
    performing libtool configuration...
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/sfw/bin/ggrep -F
    checking for ld used by gcc -m64... /usr/ccs/bin/ld
    checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
    checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
    checking the maximum length of command line arguments... 786240
    checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop
    checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop
    checking for /usr/ccs/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... dlltool
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver @FILE support... no
    checking for strip... strip
    checking for ranlib... (cached) ranlib
    checking command to parse /usr/ccs/bin/nm -p output from gcc -m64 object... ok checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -m64 supports -fno-rtti -fno-exceptions... no
    checking for gcc -m64 option to produce PIC... -fPIC -DPIC
    checking if gcc -m64 PIC flag -fPIC -DPIC works... yes
    checking if gcc -m64 static flag -static works... no
    checking if gcc -m64 supports -c -o file.o... conftest*: No such file or directory
    yes
    checking if gcc -m64 supports -c -o file.o... (cached) yes
    checking whether the gcc -m64 linker (/usr/ccs/bin/ld -64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... conftest*: No such file or directory
    yes
    checking dynamic linker characteristics... solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes

    Check for compiler flags...
    checking whether the compiler provides atomic builtins... no
    checking whether to enable -D_LARGEFILE64_SOURCE... no

    Checking for libraries...
    checking for library containing gethostbyname... -lnsl
    checking for library containing gethostname... none required
    checking for library containing socket... -lsocket
    checking for library containing crypt... none required
    checking for main in -ltruerand... no
    checking for library containing modf... none required

    Checking for Threads...
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for CFLAGS needed for pthreads... none
    checking for LIBS needed for pthreads... -lpthread
    adding "-lpthread" to LIBS
    checking for pthread.h... (cached) yes
    checking whether pthread_getspecific takes two arguments... no
    checking whether pthread_attr_getdetachstate takes one argument... no
    checking for recursive mutex support... yes
    checking for pthread_key_delete... yes
    checking for pthread_rwlock_init... yes
    checking for pthread_attr_setguardsize... yes
    checking for pthread_yield... no
    checking for pthread_rwlock_t... yes
    checking sched.h usability... yes
    checking sched.h presence... yes
    checking for sched.h... yes
    checking for sched_yield... no
    APR will use threads
    checking for readdir in -lc_r... no
    checking for gethostbyname in -lc_r... no
    checking for gethostbyaddr in -lc_r... no
    checking for getservbyname in -lc_r... no
    checking for gethostbyname_r... yes
    checking for gethostbyaddr_r... yes
    checking for getservbyname_r... yes
    checking for sigsuspend... yes
    checking for sigwait... yes
    checking for poll... yes
    checking for kqueue... no
    checking for port_create... yes
    checking for epoll support... no
    checking for epoll_create1 support... no
    checking for dup3 support... no
    checking for accept4 support... no
    checking for SOCK_CLOEXEC support... no
    checking for fdatasync... yes
    checking for epoll_create1 support... (cached) no
    checking for asio -> message queue support... no
    checking for dup3 support... (cached) no
    checking for accept4 support... (cached) no
    checking for SOCK_CLOEXEC support... (cached) no
    checking for getpwnam_r... yes
    checking for getpwuid_r... yes
    checking for getgrnam_r... yes
    checking for getgrgid_r... yes

    Checking for Shared Memory Support...
    checking for library containing shm_open... -lrt
    checking for sys/types.h... (cached) yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking sys/ipc.h usability... yes
    checking sys/ipc.h presence... yes
    checking for sys/ipc.h... yes
    checking sys/mutex.h usability... yes
    checking sys/mutex.h presence... yes
    checking for sys/mutex.h... yes
    checking sys/shm.h usability... yes
    checking sys/shm.h presence... yes
    checking for sys/shm.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking kernel/OS.h usability... no
    checking kernel/OS.h presence... no
    checking for kernel/OS.h... no
    checking os2.h usability... no
    checking os2.h presence... no
    checking for os2.h... no
    checking windows.h usability... no
    checking windows.h presence... no
    checking for windows.h... no
    checking for mmap... yes
    checking for munmap... yes
    checking for shm_open... yes
    checking for shm_unlink... yes
    checking for shmget... yes
    checking for shmat... yes
    checking for shmdt... yes
    checking for shmctl... yes
    checking for create_area... no
    checking for MAP_ANON in sys/mman.h... yes
    checking for /dev/zero... yes
    checking for mmap that can map /dev/zero... yes
    decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
    decision on namebased memory allocation method... SysV IPC shmget()
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for calloc... yes
    checking for setsid... yes
    checking for isinf... no
    checking for isnan... yes
    checking for getenv... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for unsetenv... yes
    checking for writev... yes
    checking for getifaddrs... no
    checking for utime... yes
    checking for utimes... yes
    checking for setrlimit... yes
    checking for getrlimit... yes
    checking for sendfilev in -lsendfile... yes
    checking for sendfile... yes
    checking for send_file... no
    checking for sendfilev... yes
    checking for sigaction... yes
    checking whether sys_siglist is declared... no
    checking for fork... yes
    checking for inet_addr... yes
    checking for inet_network... yes
    checking for _getch... no
    checking for strerror_r... yes
    checking for type of return code from strerror_r... int
    checking for mmap... (cached) yes
    checking for memmove... yes
    checking for getpass... yes
    checking for getpassphrase... yes
    checking for gmtime_r... yes
    checking for localtime_r... yes
    checking for mkstemp... yes
    checking whether sigwait takes one argument... no
    checking for ANSI C header files... (cached) yes
    checking ByteOrder.h usability... no
    checking ByteOrder.h presence... no
    checking for ByteOrder.h... no
    checking conio.h usability... no
    checking conio.h presence... no
    checking for conio.h... no
    checking crypt.h usability... yes
    checking crypt.h presence... yes
    checking for crypt.h... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking dir.h usability... no
    checking dir.h presence... no
    checking for dir.h... no
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking dl.h usability... no
    checking dl.h presence... no
    checking for dl.h... no
    checking for dlfcn.h... (cached) yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking grp.h usability... yes
    checking grp.h presence... yes
    checking for grp.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking mach-o/dyld.h usability... no
    checking mach-o/dyld.h presence... no
    checking for mach-o/dyld.h... no
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for memory.h... (cached) yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking osreldate.h usability... no
    checking osreldate.h presence... no
    checking for osreldate.h... no
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking process.h usability... no
    checking process.h presence... no
    checking for process.h... no
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking semaphore.h usability... yes
    checking semaphore.h presence... yes
    checking for semaphore.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking sysapi.h usability... no
    checking sysapi.h presence... no
    checking for sysapi.h... no
    checking sysgtime.h usability... no
    checking sysgtime.h presence... no
    checking for sysgtime.h... no
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking tpfeq.h usability... no
    checking tpfeq.h presence... no
    checking for tpfeq.h... no
    checking tpfio.h usability... no
    checking tpfio.h presence... no
    checking for tpfio.h... no
    checking for unistd.h... (cached) yes
    checking unix.h usability... no
    checking unix.h presence... no
    checking for unix.h... no
    checking for windows.h... (cached) no
    checking winsock2.h usability... no
    checking winsock2.h presence... no
    checking for winsock2.h... no
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for kernel/OS.h... (cached) no
    checking net/errno.h usability... no
    checking net/errno.h presence... no
    checking for net/errno.h... no
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netinet/sctp.h usability... no
    checking netinet/sctp.h presence... yes
    configure: WARNING: netinet/sctp.h: present but cannot be compiled
    configure: WARNING: netinet/sctp.h: check for missing prerequisite headers? configure: WARNING: netinet/sctp.h: see the Autoconf documentation
    configure: WARNING: netinet/sctp.h: section "Present But Cannot Be Compiled"
    configure: WARNING: netinet/sctp.h: proceeding with the compiler's result checking for netinet/sctp.h... no
    checking netinet/sctp_uio.h usability... no
    checking netinet/sctp_uio.h presence... no
    checking for netinet/sctp_uio.h... no
    checking for sys/file.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking for sys/mman.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/sem.h usability... yes
    checking sys/sem.h presence... yes
    checking for sys/sem.h... yes
    checking sys/sendfile.h usability... yes
    checking sys/sendfile.h presence... yes
    checking for sys/sendfile.h... yes
    checking sys/signal.h usability... yes
    checking sys/signal.h presence... yes
    checking for sys/signal.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/sockio.h usability... yes
    checking sys/sockio.h presence... yes
    checking for sys/sockio.h... yes
    checking for sys/stat.h... (cached) yes
    checking sys/sysctl.h usability... no
    checking sys/sysctl.h presence... no
    checking for sys/sysctl.h... no
    checking sys/syslimits.h usability... no
    checking sys/syslimits.h presence... no
    checking for sys/syslimits.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/uio.h usability... yes
    checking sys/uio.h presence... yes
    checking for sys/uio.h... yes
    checking sys/un.h usability... yes
    checking sys/un.h presence... yes
    checking for sys/un.h... yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking for netinet/tcp.h... yes
    checking for h_errno in netdb.h... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... (cached) yes
    checking for uid_t in sys/types.h... yes
    checking for ssize_t... yes
    checking for inline... inline
    checking for an ANSI C-conforming const... yes
    checking whether setpgrp takes no argument... yes
    checking for socklen_t... yes
    checking size of void*... 8
    checking size of char... 1
    checking size of int... 4
    checking size of long... 8
    checking size of short... 2
    checking size of long long... 8
    checking for INT64_C... yes
    checking size of pid_t... 4
    checking whether ssize_t and int are the same... no
    checking whether ssize_t and long are the same... yes
    checking whether size_t and unsigned int are the same... no
    checking whether size_t and unsigned long are the same... yes
    checking size of ssize_t... 8
    checking which format to use for apr_ssize_t... %ld
    checking size of size_t... 8
    checking which format to use for apr_size_t... %lu
    checking size of off_t... 8
    checking which type to use for apr_off_t... off_t
    checking size of ino_t... 8
    configure: using ino_t for ino_t
    checking whether byte ordering is bigendian... yes
    checking size of struct iovec... 16
    checking for strnicmp... no
    checking for strncasecmp... yes
    checking for stricmp... no
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strstr... yes
    checking for memchr... yes
    checking for strtol... yes

    Checking for DSO...
    checking for dlopen... yes
    checking for dlsym... yes

    Checking for Processes...
    checking for waitpid... yes
    checking for Variable Length Arrays... yes
    checking struct rlimit... yes

    Checking for Locking...
    checking for semget... yes
    checking for semctl... yes
    checking for flock... no
    checking for semaphore.h... (cached) yes
    checking OS.h usability... no
    checking OS.h presence... no
    checking for OS.h... no
    checking for library containing sem_open... none required
    checking for sem_close... yes
    checking for sem_unlink... yes
    checking for sem_post... yes
    checking for sem_wait... yes
    checking for create_sem... no
    checking for working sem_open... yes
    checking for union semun in sys/sem.h... no
    checking for LOCK_EX in sys/file.h... no
    checking for F_SETLK in fcntl.h... yes
    checking for SEM_UNDO in sys/sem.h... yes
    checking for POLLIN in poll.h sys/poll.h... yes
    checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
    checking for pthread_mutexattr_setpshared... yes
    checking for working PROCESS_SHARED locks... yes
    checking for robust cross-process mutex support... yes
    decision on apr_lock implementation method... USE_PROC_PTHREAD_SERIALIZE checking if fcntl returns EACCES when F_SETLK is already held...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to spillanep@gmail.com on Sat Sep 16 21:03:32 2017
    In comp.infosystems.www.servers.unix,
    Patrick Spillane <spillanep@gmail.com> wrote:
    Hello, could someone please help with an issue I am having while trying to compile apache
    HTTPD on a sparc solaris 10 server.

    When I run "configure" I get to this point:

    "checking if fcntl returns EACCESS when F_SETLK is already held..."

    and then it just hangs. I have waited over 20 minutes and it never continues. I have
    tried versions 2.4.24 & 2.4.27 and the issue is the same.

    The configure program is a shell script. Find the program it is trying
    to compile and run to test that, and try it by hand.

    Elijah
    ------
    it's an ugly shell script, though, so be prepared for that

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)