Hi, Rainer: Thank you for your reply. Enclosed please find the screen capture (text file) for configure and make. Please note, I just tried to run a make clean and it seems give me different error. I will post that later. Jin -----Original Message----- From: Rainer Jung [mailto:rainer.jung@xxxxxxxxxxx] Sent: Thursday, April 28, 2016 1:25 PM To: users@xxxxxxxxxxxxxxxx Cc: Huang, Jinhui (OST) Subject: Re: [users@httpd] Install Apache 2.4.20 on Solaris 10 --- Error "ld: fatal: file ab.o: wrong ELF class: ELFCLASS32" Am 28.04.2016 um 18:56 schrieb Jinhui.Huang.CTR@xxxxxxx: > I am following the "Compilling and Installing" guide from > [url]http://httpd.apache.org/docs/2.4/install.html[/url] > > The configure running OK: > > # export CC="gcc -m64" > > # ./configure \ > > --prefix=/usr/local/apache2/httpd-2.4.20 \ > > --with-port=80 \ > > --with-mpm=worker \ > > --enable-mods-shared=most \ > > --enable-ssl \ > > --with-ssl=/usr/local/ssl \ > > --enable-proxy \ > > --disable-example \ > > --with-included-apr \ > > --with-pcre=/usr/local/apache2/pcre2/bin/pcre2-config > > But got a fatal error when run make: > > # make > > .... > > .... > > Making all in generators > > Making all in dav/fs > > Making all in mappers > > Making all in support > > /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libtool --silent > --mode=link gcc -m64 -std=gnu99 -g -O2 -L/usr/local/ssl/lib -lssl > -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread \ > > -o ab ab.lo > /usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/libaprutil-1.l > a -lexpat > /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libapr-1.la > -luuid -lsendfile -lrt -lsocket -lnsl -lpthread -lm > > ld: fatal: file ab.o: wrong ELF class: ELFCLASS32 > > ld: fatal: file processing errors. No output written to .libs/ab > > collect2: ld returned 1 exit status > > *** Error code 1 > > make: Fatal error: Command failed for target `ab' > > Current working directory > /usr/local/apache2/install/httpd-2.4.20/support > > *** Error code 1 > > The following command caused the error: > > otarget=`echo all-recursive|sed s/-recursive//`; \ > > list=' '; \ > > for i in $list; do \ > > ..... > > ..... > > After searching online, I think the issue is related to the 32-bit > class (ELFCLASS32). I am trying to add some compile/link flags. But > there are many options to try. Is there anyone have this experience? > Thank you very much if you can give my any hint or clue. The object file ab.o is 32 bit but you want to compile a 64 bit "ab" binary. How does the make output line look, which compiles ab.c into ab.o (libtool ... mode=compile)? Regards, Rainer
Script started on Thu Apr 28 09:23:03 2016 # env CC=gcc -m64 HOME=/ HZ= LOGNAME=root MAIL=/var/mail/root PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:/usr/dt/bin:/usr/openwin/bin:/usr/local/bin:/usr/local/sbin:/usr/platform/sun4u/sbin:/opt/VRTS/bin:/opt/VRTSob/bin:/etc/vx/bin:/usr/lib/vxvm/bin:/usr/sfw/bin:/var/tmp/tomcat/apache-ant-1.6.5/bin:/usr/local/apache2/bin:/usr/lib PWD=/usr/local/apache2/install/httpd-2.4.20 SHELL=/sbin/sh TERM=xterm TZ=US/Eastern _=/bin/script # # # ./configure \ > --prefix=/usr/local/apache2/httpd-2.4.20 \ > --with-port=80 \ > --with-mpm=worker \ > --enable-mods-shared=most \ > --enable-ssl \ > --with-ssl=/usr/local/ssl \ > --enable-proxy \ > --disable-example \ > --with-included-apr \ > --with-pcre=/usr/local/apache2/pcre2/bin/pcre2-config 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... /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) /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/xpg4/bin/nm -p checking the name lister (/usr/xpg4/bin/nm -p) interface... BSD nm checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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/xpg4/bin/nm -p output from gcc -m64 object... ok checking for sysroot... no 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... yes checking netinet/sctp.h presence... yes checking for netinet/sctp.h... yes 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... no checking if all interprocess locks affect threads... no checking if POSIX sems affect threads in the same process... no checking if SysV sems affect threads in the same process... no checking if fcntl locks affect threads in the same process... no checking if flock locks affect threads in the same process... no checking for entropy source... /dev/urandom Checking for File Info Support... checking for struct stat.st_blocks... yes checking for struct stat.st_atimensec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_atim.tv_nsec... yes checking for struct stat.st_ctim.tv_nsec... yes checking for struct stat.st_mtim.tv_nsec... yes checking for struct stat.st_atime_n... no checking for struct stat.st_ctime_n... no checking for struct stat.st_mtime_n... no checking for inode member of struct dirent... d_ino checking for file type member of struct dirent... no Checking for OS UUID Support... checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for library containing uuid_create... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for os uuid usability... yes Checking for Time Support... checking for struct tm.tm_gmtoff... no checking for struct tm.__tm_gmtoff... no Checking for Networking support... checking for type in_addr... yes checking if fd == socket on this platform... yes checking style of gethostbyname_r routine... none checking 3rd argument to the gethostbyname_r routines... char checking style of getservbyname_r routine... solaris checking if TCP_NODELAY setting is inherited from listening sockets... yes checking if O_NONBLOCK setting is inherited from listening sockets... yes checking whether TCP_NODELAY and TCP_CORK can both be enabled... no checking for TCP_CORK in netinet/tcp.h... no checking for TCP_NOPUSH in netinet/tcp.h... no checking for SO_ACCEPTFILTER in sys/socket.h... no checking whether SCTP is supported... yes checking for struct ip_mreq... yes checking for set_h_errno... no Checking for IPv6 Networking support... checking for library containing getaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing getnameinfo... none required checking for gai_strerror... yes checking for working getaddrinfo... yes checking for negative error codes for getaddrinfo... no checking for working getnameinfo... yes checking for sockaddr_in6... yes checking for sockaddr_storage... yes checking for working AI_ADDRCONFIG... yes checking if APR supports IPv6... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for nl_langinfo... yes setting have_unicode_fs to "0" setting apr_has_xthread_files to "0" setting apr_procattr_user_set_requires_password to "0" setting apr_thread_func to "" setting apr_has_user to "1" Restore user-defined environment settings... restoring CPPFLAGS to "" setting EXTRA_CPPFLAGS to "-DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" restoring CFLAGS to "" setting EXTRA_CFLAGS to "-g -O2" restoring LDFLAGS to "" setting EXTRA_LDFLAGS to "" restoring LIBS to "" setting EXTRA_LIBS to "-luuid -lsendfile -lrt -lsocket -lnsl -lpthread" restoring INCLUDES to "" setting EXTRA_INCLUDES to "" configure: creating ./config.status config.status: creating Makefile config.status: creating include/apr.h config.status: creating build/apr_rules.mk config.status: creating build/pkg/pkginfo config.status: creating apr-1-config config.status: creating apr.pc config.status: creating test/Makefile config.status: creating test/internal/Makefile config.status: creating include/arch/unix/apr_private.h config.status: executing libtool commands libtoolT: No such file or directory config.status: executing default commands config.status: include/apr.h is unchanged config.status: include/arch/unix/apr_private.h is unchanged srclib/apr configured properly setting CPP to "gcc -m64 -E" setting CFLAGS to " -g -O2" setting CPPFLAGS to " -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" setting LDFLAGS to " " configure: configure: Configuring Apache Portable Runtime Utility library... configure: configuring package in srclib/apr-util 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 checking for a BSD-compatible install... build/install.sh -c checking for working mkdir -p... yes APR-util Version: 1.5.4 checking for chosen layout... apr-util 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 Applying apr-util hints file rules for sparc-sun-solaris2.10 setting apu_iconv_inbuf_const to "1" setting apu_crypt_threadsafe to "1" checking for library containing fdatasync... none required checking for APR... yes setting CPP to "gcc -m64 -E" setting CPPFLAGS to " -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" checking how to run the C preprocessor... gcc -m64 -E 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 for ldap support... checking for default DBM... sdbm (default) checking for pg_config... /bin/pg_config adding "-I/usr/include/pgsql" to CPPFLAGS setting LDFLAGS to "-L/usr/lib" checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking for PQsendQueryPrepared in -lpq... no setting LIBS to "-lpgport -lpam -lssl -lcrypto -lz -ledit -ltermcap -lrt -lresolv -lgen -lsocket -lnsl -ldl -lm " checking for PQsendQueryPrepared in -lpq... no checking postgresql/libpq-fe.h usability... no checking postgresql/libpq-fe.h presence... no checking for postgresql/libpq-fe.h... no checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes setting LDADD_dbd_sqlite3 to " -lsqlite3" checking sqlite.h usability... no checking sqlite.h presence... no checking for sqlite.h... no checking sybdb.h usability... no checking sybdb.h presence... no checking for sybdb.h... no checking freetds/sybdb.h usability... no checking freetds/sybdb.h presence... no checking for freetds/sybdb.h... no checking for odbc_config... no checking sql.h usability... no checking sql.h presence... no checking for sql.h... no checking odbc/sql.h usability... no checking odbc/sql.h presence... no checking for odbc/sql.h... no checking Expat 1.95.x... yes setting APRUTIL_EXPORT_LIBS to "-lexpat" setting APRUTIL_LIBS to "-lexpat" checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes setting LIBS to "-liconv" nulling LIBS checking for iconv.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for nl_langinfo... yes checking for CODESET in langinfo.h... yes checking whether APR has DSO support... yes checking for library containing crypt... none required checking if system crypt() function is threadsafe... yes checking for crypt_r... no adding "/usr/local/apache2/install/httpd-2.4.20/srclib/apr/libapr-1.la" to APRUTIL_LIBS adding "-luuid" to APRUTIL_LIBS adding "-lsendfile" to APRUTIL_LIBS adding "-lrt" to APRUTIL_LIBS adding "-lsocket" to APRUTIL_LIBS adding "-lnsl" to APRUTIL_LIBS adding "-lpthread" to APRUTIL_LIBS configure: creating ./config.status config.status: creating Makefile config.status: creating export_vars.sh config.status: creating build/pkg/pkginfo config.status: creating apr-util.pc config.status: creating apu-1-config config.status: creating include/private/apu_select_dbm.h config.status: creating include/apr_ldap.h config.status: creating include/apu.h config.status: creating include/apu_want.h config.status: creating test/Makefile config.status: creating include/private/apu_config.h config.status: include/private/apu_config.h is unchanged config.status: executing default commands srclib/apr-util configured properly 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 how to run the C preprocessor... gcc -m64 -E checking for gcc -m64 option to accept ISO C99... -std=gnu99 checking for pcre-config... false configure: Using external PCRE library from /usr/local/apache2/pcre2/bin/pcre2-config setting PCRE_INCLUDES to "-I/usr/local/apache2/pcre2/include" Usage: pcre2-config [--prefix] [--exec-prefix] [--version] [--libs8] [--libs-posix] [--cflags] [--cflags-posix] setting PCRE_LIBS to "" Usage: pcre2-config [--prefix] [--exec-prefix] [--version] [--libs8] [--libs-posix] [--cflags] [--cflags-posix] configure: configure: Configuring Apache httpd... configure: setting INCLUDES to "-I." adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES adding "-I$(top_srcdir)/include" to INCLUDES adding "-I/usr/local/apache2/install/httpd-2.4.20/srclib/apr/include" to INCLUDES adding "-I/usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include" to INCLUDES adding "-I/usr/local/apache2/pcre2/include" to INCLUDES configure: configure: Applying OS-specific hints for httpd... configure: forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1" forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1" checking for rm... /bin/rm checking for pkg-config... /bin/pkg-config checking for rsync... /bin/rsync checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether ln -s works... yes checking for ranlib... ranlib checking for lynx... no checking for links... no checking for elinks... no 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 for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking sys/processor.h usability... yes checking sys/processor.h presence... yes checking for sys/processor.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking sys/loadavg.h usability... yes checking sys/loadavg.h presence... yes checking for sys/loadavg.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for library containing sqrt... -lm checking for library containing crypt... none required checking for getpwnam... yes checking for getgrnam... yes checking for initgroups... yes checking for bindprocessor... no checking for prctl... no checking for timegm... no checking for getpgid... yes checking for fopen64... no checking for getloadavg... yes checking for void pointer length... no checking for gettid()... no checking for tm_gmtoff in struct tm... no checking whether to enable mod_authn_file... shared checking whether to enable mod_authn_dbm... shared (most) checking whether to enable mod_authn_anon... shared (most) checking whether to enable mod_authn_dbd... shared (most) checking whether to enable mod_authn_socache... shared (most) checking whether to enable mod_authn_core... shared checking whether to enable mod_authz_host... shared checking whether to enable mod_authz_groupfile... shared checking whether to enable mod_authz_user... shared checking whether to enable mod_authz_dbm... shared (most) checking whether to enable mod_authz_owner... shared (most) checking whether to enable mod_authz_dbd... shared (most) checking whether to enable mod_authz_core... shared checking whether to enable mod_authnz_ldap... checking dependencies checking for ldap support in apr/apr-util... no configure: WARNING: apr/apr-util is compiled without ldap support checking whether to enable mod_authnz_ldap... no (disabled) checking whether to enable mod_authnz_fcgi... no checking whether to enable mod_access_compat... shared checking whether to enable mod_auth_basic... shared checking whether to enable mod_auth_form... shared (most) checking whether to enable mod_auth_digest... checking dependencies checking whether to enable mod_auth_digest... shared (most) checking whether to enable mod_allowmethods... shared (most) adding "-I$(top_srcdir)/modules/aaa" to INCLUDES checking whether to enable mod_isapi... no checking whether to enable mod_file_cache... shared (most) checking whether to enable mod_cache... shared (most) checking whether to enable mod_cache_disk... checking dependencies checking whether to enable mod_cache_disk... shared (most) checking whether to enable mod_cache_socache... shared (most) checking whether to enable mod_socache_shmcb... shared (most) checking whether to enable mod_socache_dbm... shared (most) checking whether to enable mod_socache_memcache... shared (most) checking whether to enable mod_socache_dc... no adding "-I$(top_srcdir)/modules/cache" to INCLUDES setting HTTPD_LDFLAGS to "-export-dynamic" checking whether to enable mod_so... static setting AP_LIBS to "$(MOD_SO_LDADD)" checking whether to enable mod_watchdog... no checking whether to enable mod_macro... shared (most) adding "-I$(top_srcdir)/modules/core" to INCLUDES checking whether to enable mod_dbd... shared (most) adding "-I$(top_srcdir)/modules/database" to INCLUDES checking whether to enable mod_bucketeer... no checking whether to enable mod_dumpio... shared (most) checking whether to enable mod_echo... no checking whether to enable mod_example_hooks... no checking whether to enable mod_case_filter... no checking whether to enable mod_case_filter_in... no checking whether to enable mod_example_ipc... no checking whether to enable mod_buffer... shared (most) checking whether to enable mod_data... no checking whether to enable mod_ratelimit... shared (most) checking whether to enable mod_reqtimeout... shared checking whether to enable mod_ext_filter... shared (most) checking whether to enable mod_request... shared (most) checking whether to enable mod_include... shared (most) checking whether to enable mod_filter... shared checking whether to enable mod_reflector... no checking whether to enable mod_substitute... shared (most) checking whether to enable mod_sed... checking dependencies setting MOD_SED_LDADD to "-export-symbols-regex sed_module" checking whether to enable mod_sed... shared (most) checking whether to enable mod_charset_lite... no checking whether to enable mod_deflate... checking dependencies checking for zlib location... /usr setting LIBS to "-lz" checking for zlib library... found setting MOD_DEFLATE_LDADD to " -lz" nulling LIBS checking whether to enable mod_deflate... shared (most) checking whether to enable mod_xml2enc... no checking whether to enable mod_proxy_html... no adding "-I$(top_srcdir)/modules/filters" to INCLUDES checking whether to enable mod_http... static adding "$(MOD_HTTP_LDADD)" to AP_LIBS checking whether to enable mod_mime... shared checking whether to enable mod_ldap... checking dependencies checking for ldap support in apr/apr-util... (cached) no configure: WARNING: apr/apr-util is compiled without ldap support checking whether to enable mod_ldap... no (disabled) adding "-I$(top_srcdir)/modules/ldap" to INCLUDES checking whether to enable mod_log_config... shared checking whether to enable mod_log_debug... shared (most) checking whether to enable mod_log_forensic... no checking whether to enable mod_logio... shared (most) adding "-I$(top_srcdir)/modules/loggers" to INCLUDES checking whether to enable mod_lua... no adding "-I$(top_srcdir)/modules/lua" to INCLUDES checking whether to enable mod_env... shared checking whether to enable mod_mime_magic... no checking whether to enable mod_cern_meta... no checking whether to enable mod_expires... shared (most) checking whether to enable mod_headers... shared checking whether to enable mod_ident... no checking whether to enable mod_usertrack... no checking whether to enable mod_unique_id... shared (most) checking whether to enable mod_setenvif... shared checking whether to enable mod_version... shared checking whether to enable mod_remoteip... shared (most) checking whether to enable mod_proxy... shared checking whether to enable mod_proxy_connect... checking dependencies checking whether to enable mod_proxy_connect... shared checking whether to enable mod_proxy_ftp... checking dependencies checking whether to enable mod_proxy_ftp... shared checking whether to enable mod_proxy_http... checking dependencies checking whether to enable mod_proxy_http... shared checking whether to enable mod_proxy_fcgi... checking dependencies checking whether to enable mod_proxy_fcgi... shared checking whether to enable mod_proxy_scgi... checking dependencies checking whether to enable mod_proxy_scgi... shared checking whether to enable mod_proxy_fdpass... no checking whether to enable mod_proxy_wstunnel... checking dependencies checking whether to enable mod_proxy_wstunnel... shared checking whether to enable mod_proxy_ajp... checking dependencies checking whether to enable mod_proxy_ajp... shared checking whether to enable mod_proxy_balancer... checking dependencies checking whether to enable mod_proxy_balancer... shared checking whether to enable mod_proxy_express... checking dependencies checking whether to enable mod_proxy_express... shared adding "-I$(top_srcdir)/modules/proxy" to INCLUDES checking whether to enable mod_session... shared (most) checking whether to enable mod_session_cookie... checking dependencies checking whether to enable mod_session_cookie... shared (most) configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto checking whether to enable mod_session_crypto... no checking whether to enable mod_session_dbd... checking dependencies checking whether to enable mod_session_dbd... shared (most) adding "-I$(top_srcdir)/modules/session" to INCLUDES checking whether to enable mod_slotmem_shm... shared (most) checking whether to enable mod_slotmem_plain... no checking whether to enable mod_ssl... checking dependencies checking for OpenSSL... checking for user-provided OpenSSL base directory... /usr/local/ssl adding "-I/usr/local/ssl/include" to CPPFLAGS setting MOD_CFLAGS to "-I/usr/local/ssl/include " setting ab_CFLAGS to "-I/usr/local/ssl/include " adding "-L/usr/local/ssl/lib" to LDFLAGS setting MOD_LDFLAGS to "-L/usr/local/ssl/lib " checking for OpenSSL version >= 0.9.8a... OK adding "-lssl" to MOD_LDFLAGS adding "-lcrypto" to MOD_LDFLAGS adding "-luuid" to MOD_LDFLAGS adding "-lsendfile" to MOD_LDFLAGS adding "-lrt" to MOD_LDFLAGS adding "-lsocket" to MOD_LDFLAGS adding "-lnsl" to MOD_LDFLAGS adding "-lpthread" to MOD_LDFLAGS setting LIBS to "-lssl -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread" forcing ab_LDFLAGS to "-L/usr/local/ssl/lib -lssl -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread" checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for SSLeay_version... yes checking for SSL_CTX_new... yes checking for ENGINE_init... yes checking for ENGINE_load_builtin_engines... yes checking for RAND_egd... yes yes setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module" checking whether to enable mod_ssl... shared adding "-I$(top_srcdir)/modules/ssl" to INCLUDES checking whether to enable mod_optional_hook_export... no checking whether to enable mod_optional_hook_import... no checking whether to enable mod_optional_fn_import... no checking whether to enable mod_optional_fn_export... no checking whether to enable mod_dialup... no adding "-I$(top_srcdir)/modules/test" to INCLUDES checking for target platform... unix checking for rlim_t... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/sem.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking for setsid... yes checking for killpg... yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking for unistd.h... (cached) yes checking for syslog... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for times... yes adding "-I$(top_srcdir)/server" to INCLUDES checking whether APR supports thread-safe pollsets... checking for kqueue... no checking for port_create... yes checking for epoll_create... no yes checking if event MPM supports this platform... yes checking if mpmt_os2 MPM supports this platform... no checking if prefork MPM supports this platform... yes checking if WinNT MPM supports this platform... no checking if worker MPM supports this platform... yes checking whether to enable mod_http2... checking dependencies checking for OpenSSL... (cached) yes setting MOD_LDFLAGS to "-L/usr/local/ssl/lib -lssl -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread" setting MOD_CFLAGS to "-I/usr/local/ssl/include " setting MOD_CPPFLAGS to "-DH2_OPENSSL" checking for nghttp2... checking for user-provided nghttp2 base directory... none checking for pkg-config along ... checking for nghttp2 version >= 1.2.1... FAILED configure: WARNING: nghttp2 version is too old no checking whether to enable mod_http2... no (disabled) checking whether to enable mod_lbmethod_byrequests... shared checking whether to enable mod_lbmethod_bytraffic... shared checking whether to enable mod_lbmethod_bybusyness... shared checking whether to enable mod_lbmethod_heartbeat... shared checking which MPM to use by default... worker checking for pthread_kill... yes checking whether to enable mod_unixd... shared checking whether to enable mod_privileges... no adding "-I$(top_srcdir)/modules/arch/unix" to INCLUDES checking whether to enable mod_heartbeat... no checking whether to enable mod_heartmonitor... no checking whether to enable mod_dav... shared (most) adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES checking whether to enable mod_status... shared checking whether to enable mod_autoindex... shared checking whether to enable mod_asis... no checking whether to enable mod_info... shared (most) checking whether to enable mod_suexec... no checking whether to enable mod_cgid... checking dependencies checking for Solaris patch 120664... yes checking whether to enable mod_cgid... shared (most) checking whether to enable mod_cgi... no adding "-I$(top_srcdir)/modules/generators" to INCLUDES checking whether to enable mod_dav_fs... checking dependencies checking whether to enable mod_dav_fs... shared (most) checking whether to enable mod_dav_lock... no checking for extra modules... none checking whether to enable mod_vhost_alias... shared (most) checking whether to enable mod_negotiation... shared (most) checking whether to enable mod_dir... shared checking whether to enable mod_imagemap... no checking whether to enable mod_actions... shared (most) checking whether to enable mod_speling... shared (most) checking whether to enable mod_userdir... shared (most) checking whether to enable mod_alias... shared checking whether to enable mod_rewrite... shared (most) adding "-I$(top_srcdir)/modules/mappers" to INCLUDES configure: configure: Restore user-defined environment settings... configure: restoring CPPFLAGS to "" setting EXTRA_CPPFLAGS to " -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT" restoring CFLAGS to "" setting EXTRA_CFLAGS to " -g -O2" restoring CXXFLAGS to "" setting EXTRA_CXXFLAGS to "" restoring LDFLAGS to "" setting EXTRA_LDFLAGS to " " restoring LIBS to "" setting EXTRA_LIBS to "" restoring INCLUDES to "" setting EXTRA_INCLUDES to "-I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include -I/usr/local/apache2/pcre2/include -I$(top_srcdir)/modules/aaa -I$(top_srcdir)/modules/cache -I$(top_srcdir)/modules/core -I$(top_srcdir)/modules/database -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/ldap -I$(top_srcdir)/modules/loggers -I$(top_srcdir)/modules/lua -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/modules/session -I$(top_srcdir)/modules/ssl -I$(top_srcdir)/modules/test -I$(top_srcdir)/server -I$(top_srcdir)/modules/arch/unix -I$(top_srcdir)/modules/dav/main -I$(top_srcdir)/modules/generators -I$(top_srcdir)/modules/mappers" configure: configure: Construct makefiles and header files... configure: configure: creating config_vars.mk configure: creating ./config.status creating modules/aaa/Makefile creating modules/arch/win32/Makefile creating modules/cache/Makefile creating modules/core/Makefile creating modules/database/Makefile creating modules/debugging/Makefile creating modules/echo/Makefile creating modules/examples/Makefile creating modules/experimental/Makefile creating modules/filters/Makefile creating modules/http/Makefile creating modules/ldap/Makefile creating modules/loggers/Makefile creating modules/lua/Makefile creating modules/metadata/Makefile creating modules/proxy/Makefile creating modules/session/Makefile creating modules/slotmem/Makefile creating modules/ssl/Makefile creating modules/test/Makefile creating os/unix/Makefile creating modules/http2/Makefile creating modules/proxy/balancers/Makefile creating server/mpm/Makefile creating server/mpm/worker/Makefile creating modules/arch/unix/Makefile creating modules/cluster/Makefile creating modules/dav/main/Makefile creating modules/generators/Makefile creating modules/dav/fs/Makefile creating modules/dav/lock/Makefile creating modules/mappers/Makefile creating Makefile creating modules/Makefile creating srclib/Makefile creating os/Makefile creating server/Makefile creating support/Makefile creating test/Makefile config.status: creating docs/conf/httpd.conf config.status: creating docs/conf/extra/httpd-autoindex.conf config.status: creating docs/conf/extra/httpd-dav.conf config.status: creating docs/conf/extra/httpd-default.conf config.status: creating docs/conf/extra/httpd-info.conf config.status: creating docs/conf/extra/httpd-languages.conf config.status: creating docs/conf/extra/httpd-manual.conf config.status: creating docs/conf/extra/httpd-mpm.conf config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf config.status: creating docs/conf/extra/httpd-ssl.conf config.status: creating docs/conf/extra/httpd-userdir.conf config.status: creating docs/conf/extra/httpd-vhosts.conf config.status: creating docs/conf/extra/proxy-html.conf config.status: creating include/ap_config_layout.h config.status: creating support/apxs config.status: creating support/apachectl config.status: creating support/dbmmanage config.status: creating support/envvars-std config.status: creating support/log_server_status config.status: creating support/logresolve.pl config.status: creating support/phf_abuse_log.cgi config.status: creating support/split-logfile config.status: creating build/rules.mk config.status: creating build/pkg/pkginfo config.status: creating build/config_vars.sh config.status: creating include/ap_config_auto.h config.status: include/ap_config_auto.h is unchanged config.status: executing default commands # # # # # # # # make Making all in srclib Making all in apr sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out sed -e 's,^\(apr_build.*=\).*$,\1/usr/local/apache2/httpd-2.4.20/build,' -e 's,^\(top_build.*=\).*$,\1/usr/local/apache2/httpd-2.4.20/build,' < build/apr_rules.mk > build/apr_rules.out Making all in apr-util sed 's,^\(location=\).*$,\1installed,' < apu-1-config > apu-config.out Making all in os Making all in unix Making all in server Making all in mpm Making all in worker Found newer headers. Will rebuild exports.c. rm -f exports.c export_files ( for dir in /usr/local/apache2/install/httpd-2.4.20/include /usr/local/apache2/install/httpd-2.4.20/os/unix; do \ ls $dir/*.h ; \ done; \ for dir in /usr/local/apache2/install/httpd-2.4.20/srclib/apr/include /usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include; do \ ls $dir/ap[ru].h $dir/ap[ru]_*.h 2>/dev/null; \ done; \ ) | sed -e s,//,/,g | sort -u > export_files nawk -f /usr/local/apache2/install/httpd-2.4.20/build/make_exports.awk `cat export_files` > exports.c /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libtool --silent --mode=compile gcc -m64 -std=gnu99 -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I. -I/usr/local/apache2/install/httpd-2.4.20/os/unix -I/usr/local/apache2/install/httpd-2.4.20/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include -I/usr/local/apache2/pcre2/include -I/usr/local/apache2/install/httpd-2.4.20/modules/aaa -I/usr/local/apache2/install/httpd-2.4.20/modules/cache -I/usr/local/apache2/install/httpd-2.4.20/modules/core -I/usr/local/apache2/install/httpd-2.4.20/modules/database -I/usr/local/apache2/install/httpd-2.4.20/modules/filters -I/usr/local/apache2/install/httpd-2.4.20/modules/ldap -I/usr/local/apache2/install/httpd-2.4.20/modules/loggers -I/usr/local/apache2/install/httpd-2.4.20/modules/lua -I/usr/local/apache2/install/httpd-2.4.20/modules/proxy -I/usr/local/apache2/install/httpd-2.4.20/modules/session -I/usr/local/apache2/install/httpd-2.4.20/modules/ssl -I/usr/local/apache2/install/httpd-2.4.20/modules/test -I/usr/local/apache2/install/httpd-2.4.20/server -I/usr/local/apache2/install/httpd-2.4.20/modules/arch/unix -I/usr/local/apache2/install/httpd-2.4.20/modules/dav/main -I/usr/local/apache2/install/httpd-2.4.20/modules/generators -I/usr/local/apache2/install/httpd-2.4.20/modules/mappers -prefer-non-pic -static -c exports.c && touch exports.lo /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libtool --silent --mode=link gcc -m64 -std=gnu99 -g -O2 -o libmain.la -static config.lo log.lo main.lo vhost.lo util.lo util_fcgi.lo util_script.lo util_md5.lo util_cfgtree.lo util_ebcdic.lo util_time.lo connection.lo listen.lo util_mutex.lo mpm_common.lo mpm_unix.lo util_charset.lo util_cookies.lo util_debug.lo util_xml.lo util_filter.lo util_pcre.lo util_regex.lo exports.lo scoreboard.lo error_bucket.lo protocol.lo core.lo request.lo provider.lo eoc_bucket.lo eor_bucket.lo core_filters.lo util_expr_parse.lo util_expr_scan.lo util_expr_eval.lo nawk -f /usr/local/apache2/install/httpd-2.4.20/build/make_var_export.awk `cat export_files` > export_vars.h gcc -m64 -E -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I. -I/usr/local/apache2/install/httpd-2.4.20/os/unix -I/usr/local/apache2/install/httpd-2.4.20/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include -I/usr/local/apache2/pcre2/include -I/usr/local/apache2/install/httpd-2.4.20/modules/aaa -I/usr/local/apache2/install/httpd-2.4.20/modules/cache -I/usr/local/apache2/install/httpd-2.4.20/modules/core -I/usr/local/apache2/install/httpd-2.4.20/modules/database -I/usr/local/apache2/install/httpd-2.4.20/modules/filters -I/usr/local/apache2/install/httpd-2.4.20/modules/ldap -I/usr/local/apache2/install/httpd-2.4.20/modules/loggers -I/usr/local/apache2/install/httpd-2.4.20/modules/lua -I/usr/local/apache2/install/httpd-2.4.20/modules/proxy -I/usr/local/apache2/install/httpd-2.4.20/modules/session -I/usr/local/apache2/install/httpd-2.4.20/modules/ssl -I/usr/local/apache2/install/httpd-2.4.20/modules/test -I/usr/local/apache2/install/httpd-2.4.20/server -I/usr/local/apache2/install/httpd-2.4.20/modules/arch/unix -I/usr/local/apache2/install/httpd-2.4.20/modules/dav/main -I/usr/local/apache2/install/httpd-2.4.20/modules/generators -I/usr/local/apache2/install/httpd-2.4.20/modules/mappers exports.c | grep "ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$/\1/' >> httpd.exp gcc -m64 -E -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I. -I/usr/local/apache2/install/httpd-2.4.20/os/unix -I/usr/local/apache2/install/httpd-2.4.20/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr/include -I/usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/include -I/usr/local/apache2/pcre2/include -I/usr/local/apache2/install/httpd-2.4.20/modules/aaa -I/usr/local/apache2/install/httpd-2.4.20/modules/cache -I/usr/local/apache2/install/httpd-2.4.20/modules/core -I/usr/local/apache2/install/httpd-2.4.20/modules/database -I/usr/local/apache2/install/httpd-2.4.20/modules/filters -I/usr/local/apache2/install/httpd-2.4.20/modules/ldap -I/usr/local/apache2/install/httpd-2.4.20/modules/loggers -I/usr/local/apache2/install/httpd-2.4.20/modules/lua -I/usr/local/apache2/install/httpd-2.4.20/modules/proxy -I/usr/local/apache2/install/httpd-2.4.20/modules/session -I/usr/local/apache2/install/httpd-2.4.20/modules/ssl -I/usr/local/apache2/install/httpd-2.4.20/modules/test -I/usr/local/apache2/install/httpd-2.4.20/server -I/usr/local/apache2/install/httpd-2.4.20/modules/arch/unix -I/usr/local/apache2/install/httpd-2.4.20/modules/dav/main -I/usr/local/apache2/install/httpd-2.4.20/modules/generators -I/usr/local/apache2/install/httpd-2.4.20/modules/mappers export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> httpd.exp Making all in modules Making all in aaa Making all in cache Making all in core Making all in database Making all in debugging Making all in filters Making all in http Making all in loggers Making all in metadata Making all in proxy Making all in session Making all in slotmem Making all in ssl Making all in proxy/balancers Making all in arch/unix Making all in dav/main Making all in generators Making all in dav/fs Making all in mappers Making all in support /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libtool --silent --mode=link gcc -m64 -std=gnu99 -g -O2 -L/usr/local/ssl/lib -lssl -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread \ -o ab ab.lo /usr/local/apache2/install/httpd-2.4.20/srclib/apr-util/libaprutil-1.la -lexpat /usr/local/apache2/install/httpd-2.4.20/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread -lm ld: fatal: file ab.o: wrong ELF class: ELFCLASS32 ld: fatal: file processing errors. No output written to .libs/ab collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `ab' Current working directory /usr/local/apache2/install/httpd-2.4.20/support *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' '; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'htpasswd htdigest htdbm ab logresolve httxt2dbm htcacheclean rotatelogs checkgid fcgistarter'; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/local/apache2/install/httpd-2.4.20/support *** Error code 1 The following command caused the error: otarget=`echo all-recursive|sed s/-recursive//`; \ list=' srclib os server modules support'; \ for i in $list; do \ if test -d "$i"; then \ target="$otarget"; \ echo "Making $target in $i"; \ if test "$i" = "."; then \ made_local=yes; \ target="local-$target"; \ fi; \ (cd $i && make $target) || exit 1; \ fi; \ done; \ if test "$otarget" = "all" && test -z 'httpd shared-build '; then \ made_local=yes; \ fi; \ if test "$made_local" != "yes"; then \ make "local-$otarget" || exit 1; \ fi make: Fatal error: Command failed for target `all-recursive' # # exit script done on Thu Apr 28 09:29:57 2016
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx