Dear, Thanks a lot for your input. I have done the check and figure out that i am missing of some header files ,e.g <bits/mman.h> where the mentioned constant MAP_ANON is defined. The configure step continues and i hit the error of "could not detect 64 bit integer type" . Below is the log ================ ..continue from previous log checking for /dev/zero... yes checking for mmap that can map /dev/zero... no decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON decision on namebased memory allocation method... mmap() via POSIX.1 shm_open() on temporary file checking for working alloca.h... no checking for alloca... yes checking for calloc... yes checking for setsid... yes checking for isinf... yes 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... yes checking for utime... yes checking for utimes... yes checking for setrlimit... yes checking for getrlimit... yes checking for sendfilev in -lsendfile... no checking for sendfile... yes checking for send_file... no checking for sendfilev... no 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... pointer checking for mmap... (cached) yes checking for memmove... yes checking for getpass... yes checking for getpassphrase... no 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) no 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... no checking crypt.h presence... no checking for crypt.h... no 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... no checking dirent.h presence... no checking for dirent.h... no checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for dlfcn.h... (cached) no 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... no checking grp.h presence... no checking for grp.h... no 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... no checking malloc.h presence... no checking for malloc.h... no checking for memory.h... (cached) no checking netdb.h usability... no checking netdb.h presence... no checking for netdb.h... no checking osreldate.h usability... no checking osreldate.h presence... no checking for osreldate.h... no checking poll.h usability... no checking poll.h presence... no checking for poll.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pwd.h usability... no checking pwd.h presence... no checking for pwd.h... no checking semaphore.h usability... no checking semaphore.h presence... no checking for semaphore.h... no checking signal.h usability... no checking signal.h presence... no checking for signal.h... no 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) no 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... no checking termios.h presence... no checking for termios.h... no checking time.h usability... no checking time.h presence... no checking for time.h... no 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... no checking arpa/inet.h presence... no checking for arpa/inet.h... no 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... no 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... no checking sys/ioctl.h presence... no checking for sys/ioctl.h... no checking for sys/mman.h... (cached) yes checking sys/param.h usability... no checking sys/param.h presence... no checking for sys/param.h... no checking sys/poll.h usability... no checking sys/poll.h presence... no checking for sys/poll.h... no checking sys/resource.h usability... no checking sys/resource.h presence... no checking for sys/resource.h... no checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking sys/sem.h usability... no checking sys/sem.h presence... no checking for sys/sem.h... no checking sys/sendfile.h usability... no checking sys/sendfile.h presence... no checking for sys/sendfile.h... no checking sys/signal.h usability... no checking sys/signal.h presence... no checking for sys/signal.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no 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... no checking sys/time.h presence... no checking for sys/time.h... no checking for sys/types.h... (cached) yes checking sys/uio.h usability... no checking sys/uio.h presence... no checking for sys/uio.h... no checking sys/un.h usability... no checking sys/un.h presence... no checking for sys/un.h... no checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking for netinet/tcp.h... no checking for off_t... yes checking for pid_t... no checking for size_t... yes checking for uid_t in sys/types.h... no 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... no checking size of void*... 0 checking size of char... 0 checking size of int... 0 checking size of long... 0 checking size of short... 0 checking size of long long... 0 configure: error: could not detect a 64-bit integer type configure failed for srclib/apr ===================================== The config.log remains the same. Thanks again for your invaluable help and really appreciate any pointer for this 64 bit integer type matter. Regards, Nguyen Tien Duong Apparently, Apache code needs either MAP_ANON defined or some special semantics for { mmap ('/dev/zero'); }; check the documentation for mmap what that would be, and check the documentation for your OS why it is not provided. HTH, Chris -----Original Message----- From: Nguyen Tien Duong [mailto:duongnt4@xxxxxxxxxxxx] Sent: Monday, May 25, 2009 8:50 AM To: users@xxxxxxxxxxxxxxxx Subject: Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed Dear all. I am trying to install apache http server version 2.2.11 for centos 5. During the first step, i hit the error of "Error: decision on anonymous shared memory allocation method failed" and not able to proceed further. I would like to seek the help and really appreciate if anyone could give some pointers to the problem. The details is as followed. 1. Run the command [root@localhost httpd-2.2.11]# ./configure --prefix=/home1/apache --enable-so --with-included-apr > a.out Error on the console is /root/setups/apache_2.2.11/linux/httpd-2.2.11/srclib/apr/configure:Error: decision on anonymous shared memory allocation method failed 2. The output a.out content is checking for MAP_ANON in sys/mman.h... no checking for /dev/zero... yes checking for mmap that can map /dev/zero... no configure failed for srclib/apr -- View this message in context: http://www.nabble.com/Unable-to-run-.-configure-when-install-apache-http-server.Error%3A-decision-on-anonymous-shared-memory-allocation-method-failed-tp23702056p23703298.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx