You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/07/17 09:45:40 UTC

DO NOT REPLY [Bug 45415] New: Apache installation always failed with atomic .h and htpasswd

https://issues.apache.org/bugzilla/show_bug.cgi?id=45415

           Summary: Apache installation always failed with atomic.h and
                    htpasswd
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kennylls@hotmail.com


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'


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic.h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415





--- Comment #5 from Axel-Stephane Smorgrav <as...@yahoo.no>  2009-05-26 09:56:29 PST ---
(In reply to comment #4)
> Anyone checked if this affects 2.2.11?


I confirm that it does affect 2.2.11.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic.h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415


Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #4 from Nick Kew <ni...@webthing.com>  2009-05-24 17:37:13 PST ---
Anyone checked if this affects 2.2.11?

*** This bug has been marked as a duplicate of bug 45253 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic.h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415


Trent Petrasek <tr...@petrasek.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trent@petrasek.org




--- Comment #3 from Trent Petrasek <tr...@petrasek.org>  2008-10-13 14:38:34 PST ---
I undefined USE_ATOMICS_SOLARIS in
srclib/apr/include/arch/unix/apr_arch_atomic.h to get around this temporarily.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic.h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415


Manish <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manishnanwani@gmail.com




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic. h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415





--- Comment #1 from Kenny Loh <ke...@hotmail.com>  2008-07-17 00:46:17 PST ---
Created an attachment (id=22269)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22269)
Apache config log


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45415] Apache installation always failed with atomic. h and htpasswd

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45415





--- Comment #2 from Kenny Loh <ke...@hotmail.com>  2008-07-20 23:35:42 PST ---
(In reply to comment #1)
> Created an attachment (id=22269)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org