I tried to recomplier all source in my Solaris 5.8, here is what I got error. ------------------------------------------------------------------------------ # make Making all in srclib Making all in apr Making all in strings Making all in passwd Making all in tables Making all in file_io/unix Making all in network_io/unix Making all in threadproc/unix Making all in misc/unix Making all in locks/unix Making all in time/unix Making all in mmap/unix Making all in shmem/unix Making all in i18n/unix Making all in user/unix Making all in memory/unix Making all in atomic/solaris_sparc cat /export/home/tfan/kits/apache/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/ apr_atomic_sparc.s > apr_atomic_sparc.S K pic -P -D_ASM -D__STDC__=0 -xarch=v8plus -o apr_atomic_sparc.lo apr_atomic_spa rc.S sh: K: not found *** Error code 1 (ignored) Making all in dso/unix /bin/sh /export/home/tfan/kits/apache/httpd-2.0.35/srclib/apr/libtool --silent - -mode=link gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SE MANTICS -D_REENTRANT -I./include -I../include -o libapr.la -rpath /usr/local/apa che2/lib strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo s trings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo passwd/apr_ getpass.lo passwd/apr_md5.lo tables/apr_hash.lo tables/apr_tables.lo file_io/uni x/copy.lo file_io/unix/dir.lo file_io/unix/fileacc.lo file_io/unix/filedup.lo fi le_io/unix/filepath.lo file_io/unix/filestat.lo file_io/unix/flock.lo file_io/un ix/fullrw.lo file_io/unix/mktemp.lo file_io/unix/open.lo file_io/unix/pipe.lo fi le_io/unix/readwrite.lo file_io/unix/seek.lo network_io/unix/inet_ntop.lo networ k_io/unix/inet_pton.lo network_io/unix/poll.lo network_io/unix/sendrecv.lo netwo rk_io/unix/sockaddr.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo thr eadproc/unix/proc.lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threa dproc/unix/thread.lo threadproc/unix/threadpriv.lo misc/unix/errorcodes.lo misc/ unix/getopt.lo misc/unix/getuuid.lo misc/unix/otherchild.lo misc/unix/rand.lo mi sc/unix/start.lo misc/unix/uuid.lo misc/unix/version.lo locks/unix/crossproc.lo locks/unix/global_mutex.lo locks/unix/intraproc.lo locks/unix/locks.lo locks/uni x/proc_mutex.lo locks/unix/thread_cond.lo locks/unix/thread_mutex.lo locks/unix/ thread_rwlock.lo time/unix/time.lo time/unix/timestr.lo mmap/unix/common.lo mmap /unix/mmap.lo shmem/unix/shm.lo i18n/unix/xlate.lo user/unix/groupinfo.lo user/u nix/userinfo.lo memory/unix/apr_pools.lo atomic/solaris_sparc/*.lo dso/unix/dso. lo ln: cannot create *.o: File exists *** Error code 2 make: Fatal error: Command failed for target `libapr.la' Current working directory /export/home/tfan/kits/apache/httpd-2.0.35/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/tfan/kits/apache/httpd-2.0.35/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/tfan/kits/apache/httpd-2.0.35/srclib *** Error code 1 make: Fatal error: Command failed for target `all-recursive' -------------------------------------------------------------------------------- --Tony
This is a duplicate bug that has already been resolved. Thanks for using Apache! *** This bug has been marked as a duplicate of 8214 ***
I tried 2.0.36 build today, still having a problem when I do make: ----------------------------------------------------------------------- ........ Making all in user/unix /bin/bash /export/home/tfan/kits/apache/httpd-2.0.36/srclib/apr/libtool -- silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 - D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include - I../../include/arch/unix -c userinfo.c && touch userinfo.lo /bin/bash /export/home/tfan/kits/apache/httpd-2.0.36/srclib/apr/libtool -- silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 - D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include - I../../include/arch/unix -c groupinfo.c && touch groupinfo.lo Making all in memory/unix /bin/bash /export/home/tfan/kits/apache/httpd-2.0.36/srclib/apr/libtool -- silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 - D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include - I../../include/arch/unix -c apr_pools.c && touch apr_pools.lo Making all in atomic/solaris_sparc cat - < /export/home/tfan/kits/apache/httpd- 2.0.36/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s > apr_atomic_sparc.S as -K pic -P -D_ASM -D__STDC__=0 -xarch=v8plus -o apr_atomic_sparc.lo apr_atomic_sparc.S bash: as: command not found *** Error code 127 make: Fatal error: Command failed for target `apr_atomic_sparc.lo' Current working directory /export/home/tfan/kits/apache/httpd- 2.0.36/srclib/apr/atomic/solaris_sparc *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/tfan/kits/apache/httpd- 2.0.36/srclib/apr/atomic/solaris_sparc *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/tfan/kits/apache/httpd-2.0.36/srclib/apr *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/tfan/kits/apache/httpd-2.0.36/srclib *** Error code 1 make: Fatal error: Command failed for target `all-recursive'
This is a configuration error on your part that is unrelated to the original bug. The compilation process can't find the assembler "as". Either you need to include the sun "as" in your path, or you need to grab gnu binutils and include gas in your path. If you have further problems, please address them on the user mailing list first, before filing a bug. Thanks!
Thank you for pointing me out. It works now.