RE: Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux