httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristof Zelechovski <giecr...@stegny.2a.pl>
Subject RE: [users@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed
Date Mon, 25 May 2009 06:57:52 GMT
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@fsoft.com.vn] 
Sent: Monday, May 25, 2009 8:50 AM
To: users@httpd.apache.org
Subject: [users@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 
[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




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


Mime
View raw message