Did you edit Makefile or Makefile.in?
On Jan 28, 2011, at 8:06 AM, Paulo Paracatu wrote: > Hello, > > I commented these lines: > +### Remove '#' to enable > > +# PERUSER_MAX_CPU_USAGE = 1 > > + > +#####.if defined(PERUSER_MAX_CPU_USAGE) > +#####LTLIBRARY_SOURCES = peruser.c cpu_usage.c > +#####LTLIBRARY_LIBADD = -lkvm > +#####.else > +LTLIBRARY_SOURCES = peruser.c > +#####.endif > > > And the patch worked. > > > 2011/1/28 <[email protected]> > hi marcelo, > > i simply copied the package source from v14 to v16 and changed the patch. i > do not think that the spaces in the makefile are the reason. > > regards, > > stefan > > > On Fri, 28 Jan 2011 7:47:00 -0200, "Marcelo Coelho" <[email protected]> > wrote: > I have compiled in FreeBSD without problems. > > Here is an explanation about this problem (Missing separator): > http://log.amitshah.net/2006/03/makefile-missing-separator.html > > ----- Mensagem Original ----- > De: [email protected] > Para: Peruser MPM List <[email protected]> > Data: Friday, 28 De January De 2011 05:05 > Assunto: Re: [peruser] Peruser patch (v16) > > this is funny. i have the same problem. > > On Thu, 27 Jan 2011 11:28:03 -0200, Paulo Paracatu <[email protected]> > wrote: > > I was not able to make the .deb files with this release: > > > > _make[3]: Entering directory > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree/server/mpm'_ > > _Making all in experimental/peruser_ > > _make[4]: Entering directory > > > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree/server/mpm/experimental/peruser'_ > > > > _Makefile:11: *** missing separator. Stop._ > > _make[4]: Leaving directory > > > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree/server/mpm/experimental/peruser'_ > > _make[3]: *** [all-recursive] Error 1_ > > _make[3]: Leaving directory > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree/server/mpm'_ > > _make[2]: *** [all-recursive] Error 1_ > > _make[2]: Leaving directory > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree/server'_ > > _make[1]: *** [all-recursive] Error 1_ > > _make[1]: Leaving directory > > `/usr/src/apache2-mpm-peruser-0.3.0.dc3-01/build-tree'_ > > _make: *** [build-stamp] Error 2_ > > _dpkg-buildpackage: failure: debian/rules build gave error exit > > status 2_ > > > > 2011/1/26 Marcelo Coelho > > Hello! > > > > Peruser patch (v16) > > > > IMPORTANT: PAM and MaxCPUUsage patches are disabled by default. To > > enable these patches, you need edit Makefile.in AND peruser.c files. > > > > Patch from RC2: > > > > > > http://opensource.mco2.net/download/apache/peruser/peruser-rc2-to-rc3-v16.patch > > [2] > > > > Full patch from vanilla Apache 2.2.17: > > > > > > http://opensource.mco2.net/download/apache/peruser/peruser-rc3-full-v16.patch > > [3] > > > > Changes (from RC2): > > > > * (v16) Work on all systems, not only BSD > > * (v16) PAM and MaxCPUUsage patches are disabled by default > > * (v16) Incorporate MaxCPUUsage patch (FreeBSD only) > > * (v16) Incorporate PAM Session patch, created by Bert Smith > > * (v16) Incorporate "long lost child" fix patch created by Taavi > > * (v15) Feature: /server-status with more details (CPU usage of each > > processor and each ServerEnvironment). > > * (v15) Feature: New configuration MaxCPUUsage > > * (v15) Bug fix: some segfaults fixed. > > * (v14) Bug fix: multiplexer segfault when passing big requests to > > processors (URI with ~8192 bytes and big Referer header) > > * (v14) Performance: faster idle server maintenance > > * (v14) Clean-up: removed .orig files > > * (v13) Code more "APR-ized" > > * (v13) Bug fix: apachectl graceful works, even under high load. > > * (v12) Not released to public > > * (v11) Not released to public > > * (v10) Bug fixed: fixed some segfaults > > * (v10) Bug fixed: work around to a flaw in apr-util (as PR 43857) > > * (v9) Not released to public > > * (v8) Bug fixed: apachectl graceful now is more stable, like RC2 > > version > > * (v8) Bug fixed: fixed some segfaults (thank you Dave Steinberg for > > sending your core dumps) > > * (v8) Bug fixed: server dies with infinite loop script, reported by > > Taavi Sannik > > * (v8) Bug fixed: "long lost child" error, reported by Taavi Sannik > > * (v8) Performance: update_all_counters() rewritten without malloc() > > and free() > > * (v7) Bug fixed: multiplexers now can clone a processor child if > > all workers are busy. > > * (v6) Bug fixed: apachectl graceful now working properly, without > > "long lost child" errors > > * (v5) Not released to public > > * (v4) Code cleanup > > * (v4) Performance: childs are started in ~25ms, 40 times faster > > than in RC2 (~1000ms) > > * (v4) Bug fixed: now checking if total_processors is 1 (first > > access) to start StartProcessors > > * (v3) Performance: new child type (CHILD_TYPE_RESERVED) to avoid > > collision (2 childs trying to get the same free slot) > > * (v3) Bug fixed: fixed a bug in RC2, wait_timeout was always 0, > > never sleeping to wait for new workers. > > * (v2) Performance: StartProcessors, new configuration directive to > > control the number of child processors per vhost at startup > > * (v2) Performance: childs are started in ~50ms, 20 times faster > > than in RC2 (~1000ms) > > * (v1) Performance: faster to lookup for free slots (this is > > important on busy servers, with many virtual hosts) > > * (v1) Performance: faster to count processors, one single loop > > counts all processors > > * (v1) Bug fixed: bug when MinSpareProcessors is set to 0 (now all > > workers processes are killed when idle_timeout is reached) > > * (v1) Bug fixed: Free-up slots when a WORKER or PROCESSOR > > unexpectedly dies > > > > Regards, > > > > -- > > Marcelo Coelho > > marcelo at mco2.com.br [4] > > > > _______________________________________________ > > Peruser mailing list > > [email protected] [5] > > http://www.telana.com/mailman/listinfo/peruser [6] > > > > -- > > ~ Colecionador [ Paulo HPF Caetano ] > > "Always remember you're unique, just like everyone else." > > > > > > Links: > > ------ > > [1] mailto:[email protected] > > [2] > > > > http://opensource.mco2.net/download/apache/peruser/peruser-rc2-to-rc3-v16.patch > > [3] > > > > http://opensource.mco2.net/download/apache/peruser/peruser-rc3-full-v16.patch > > [4] http://mco2.com.br > > [5] mailto:[email protected] > > [6] http://www.telana.com/mailman/listinfo/peruser > > _______________________________________________ > Peruser mailing list > [email protected] > http://www.telana.com/mailman/listinfo/peruser > > > _______________________________________________ > Peruser mailing list > [email protected] > http://www.telana.com/mailman/listinfo/peruser > > _______________________________________________ > Peruser mailing list > [email protected] > http://www.telana.com/mailman/listinfo/peruser > > > > -- > ~ Colecionador [ Paulo HPF Caetano ] > "Always remember you're unique, just like everyone else." > _______________________________________________ > Peruser mailing list > [email protected] > http://www.telana.com/mailman/listinfo/peruser _______________________________________________ Peruser mailing list [email protected] http://www.telana.com/mailman/listinfo/peruser
