[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Apache SRPM - HARD_SERVER_LIMIT
- From: Mark Amidon <amidon caldera com>
- To: rpm-list redhat com
- Subject: Re: Apache SRPM - HARD_SERVER_LIMIT
- Date: Mon, 03 Dec 2001 14:48:48 -0500
"Katzenmeyer, Eli" wrote:
>
> The perl replace statement worked like a charm! Thanks all!
That's wonderful! Now, what happens if you try an "rpm --verify" on
that package?
> -----Original Message-----
> From: Matthias Saou [mailto:matthias@rpmforge.net]
> Sent: Monday, December 03, 2001 12:59 PM
> To: rpm-list@redhat.com
> Subject: Re: Apache SRPM - HARD_SERVER_LIMIT
>
> 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.
--
Mark Amidon | "Linux is a cancer that attaches itself
amidon@caldera.com | in an intellectual property sense to
(978) 251-1987 x252 | everything it touches."
http://www.VolutionOnline.com | -- MSFT's Steve Ballmer, lying
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]