[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Apache SRPM - HARD_SERVER_LIMIT
- From: Matthias Saou <matthias rpmforge net>
- To: rpm-list redhat com
- Subject: Re: Apache SRPM - HARD_SERVER_LIMIT
- Date: Mon, 3 Dec 2001 19:58:41 +0100
Once upon a time, Katzenmeyer, wrote :
> Sorry if this is an inappropriate list for this question.
>
> I am trying to build an Apache rpm for RedHat 7.2 from the SRPM, but need
> to bump up the HARD_SERVER_LIMIT in httpd.h before the %build part of the
> spec runs. I'm kind of lost in regards to how to accomplish this. (my
> searching hasn't turned up much that was helpful to me) Any help is
> appreciated.
One way is a patch like Matt suggested, another is a quick replacement :
perl -pi -e 's|HARD_SERVER_LIMIT 256|HARD_SERVER_LIMIT 2048|g' \
src/include/httpd.h
You can add this just before the "make" line in the spec file.
I think I've also seen some people say the a simple "make
-DHARD_SERVER_LIMIT=2048" works too, but I've never tested.
Matthias
--
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Red Hat Linux release 7.2 (Enigma) running Linux kernel 2.4.9-13
Load : 2.01 1.21 0.95, AC on-line, battery charging: 100% (5:45)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]