[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Apache SRPM - HARD_SERVER_LIMIT
- From: "Katzenmeyer, Eli" <EKatzenmeyer enchem com>
- To: "'rpm-list redhat com'" <rpm-list redhat com>
- Subject: RE: Apache SRPM - HARD_SERVER_LIMIT
- Date: Mon, 3 Dec 2001 13:25:16 -0600
The perl replace statement worked like a charm! Thanks all!
Eli
-----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.
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)
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]