Apache installation always failed with following error /tmp/apache/httpd-2.2.9/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/tmp/apache/httpd-2.2.9/srclib/pcre -I. -I/tmp/apache/httpd-2.2.9/os/unix -I/tmp/apache/httpd-2.2.9/server/mpm/prefork -I/tmp/apache/httpd-2.2.9/modules/http -I/tmp/apache/httpd-2.2.9/modules/filters -I/tmp/apache/httpd-2.2.9/modules/proxy -I/tmp/apache/httpd-2.2.9/include -I/tmp/apache/httpd-2.2.9/modules/generators -I/tmp/apache/httpd-2.2.9/modules/mappers -I/tmp/apache/httpd-2.2.9/modules/database -I/tmp/apache/httpd-2.2.9/srclib/apr/include -I/tmp/apache/httpd-2.2.9/srclib/apr-util/include -I/tmp/apache/httpd-2.2.9/modules/proxy/../generators -I/tmp/apache/httpd-2.2.9/modules/ssl -I/tmp/apache/httpd-2.2.9/modules/dav/main -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo /tmp/apache/httpd-2.2.9/srclib/apr/libtool --silent --mode=link gcc -g -O2 -o htpasswd htpasswd.lo -lm /tmp/apache/httpd-2.2.9/srclib/pcre/libpcre.la /tmp/apache/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat /tmp/apache/httpd-2.2.9/srclib/apr/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread Undefined first referenced symbol in file atomic_swap_32 /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so atomic_cas_ptr /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so atomic_swap_ptr /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so atomic_inc_32_nv /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so atomic_dec_32_nv /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so atomic_cas_32 /tmp/apache/httpd-2.2.9/srclib/apr/.libs/libapr-1.so ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `htpasswd' Current working directory /tmp/apache/httpd-2.2.9/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 rotatelogs logresolve ab checkgid htdbm htcacheclean httxt2dbm'; 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 /tmp/apache/httpd-2.2.9/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 '; 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'
Created attachment 22269 [details] Apache config log
(In reply to comment #1) > Created an attachment (id=22269) [details] > Apache config log More specifically, I got syntax error while installing apr-util in this way. cd ../apr-util ./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/ make make install When make install, the installation terminated with:- bash: -c: line 1: syntax error near unexpected token `;' *** Error code 2
I undefined USE_ATOMICS_SOLARIS in srclib/apr/include/arch/unix/apr_arch_atomic.h to get around this temporarily.
Anyone checked if this affects 2.2.11? *** This bug has been marked as a duplicate of bug 45253 ***
(In reply to comment #4) > Anyone checked if this affects 2.2.11? I confirm that it does affect 2.2.11.