Re: Problem compiling Apache httpd from source code on Linux

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

 



On Mon, Mar 4, 2013 at 5:38 AM, Sarbjit singh <sarbjit1987@xxxxxxxxx> wrote:
Today, I tired the httpd version 2.4.4 version with latest apr/apr-util source code in the srclib folder and this time as well it hanged while "checking for SCTP ....".

Is there any workaround/solution to this problem?

This should work around the problem:

Invoke configure with envvar apr_cv_sctp=no, as in

export apr_cv_sctp=no
./configure ...

or

apr_cv_sctp=no ./configure ...

"make distclean" before you invoke configure again




-Sarbjit


On Sun, Mar 3, 2013 at 6:24 PM, Sarbjit singh <sarbjit1987@xxxxxxxxx> wrote:
Sorry for not providing the version of httpd.

I am using httpd.2.2.24, I have downloaded the APR and APR-UTIL, but didn't put in the srclib as this folder was already having these inside it.

But I tried compiling the APR standalone and encountered the same problem. Then I did at once tried putting inside the srclib folder and found this issue.

Please let me know if some more information is required.

-Sarbjit


On Sun, Mar 3, 2013 at 5:57 PM, Noel Butler <noel.butler@xxxxxxxxxx> wrote:
On Sun, 2013-03-03 at 14:41 +0530, Sarbjit singh wrote:
Hi All,

I have been facing problem while compiling HTTPD on my linux machine. It hangs at the following location while configuration :-

........
........
checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported...       

I am configuring it using the following switches :-

./configure  --with-included-apr

uname -r returns :-

2.6.18-194.el5

Can some one please suggest on how to build it ?

Thanks
Sarbjit

You don't tell us what version of httpd.
if it is 2.4.4, using  --with-included-apr   have you actually downloaded apr and apr-util and put them in srclib ?






--
Born in Roswell... married an alien...
http://emptyhammock.com/

[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