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:duong...@fsoft.com.vn] 
Sent: Monday, May 25, 2009 8:50 AM
To: users@httpd.apache.org
Subject: [us...@httpd] 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 
[r...@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




---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to