| dahunter3 | As soon as I add PerlFixupHandler Apache::SmallProf inside of a location directive, the code in question no longer works and apache goes to using 99% of the cpu. I did a ktrace on that process and saw it just doing a bunch of calls to getrusage() and clock_gettime() etc over and over and over again... Did I do something wrong? |
| Necos | bbl |
| LoftyCrowd | does anyone speak English here?? |
| LeoNerd | Occasionally a few people do We mostly just chat in pure perl bytecode |
| TreyHarris | what's the right/best way to setup configuration variables for my test harness? (like if i need a valid server name, username, password, etc.)? |
| LoftyCrowd | how does the pure perl bytecode work then? Leonerd |
| merlyn | use Rose::DB! |
| NOTevil | TMTOWTDI? |
| TreyHarris | merlyn: I have no more than a dozen variables... Rose::DB seems like overkill. A YAML or Config::* file would be fine. i'm more concerned about where to locate it, how to refer to it inside my test suite, etc. is there any platform/location-indepedent way for me to say, "the top level dist directory of the module being tested now?" |
| LeoNerd | File::Spec probably can help |
| merlyn | not Rose::DB::Object but Rose::DB which is specifically about managing the sets of host/user/pass as you migrate from devel to test to production presuming it's daatabase info |
| TreyHarris | merlyn: no, it isn't. merlyn: has nothing to do with databases |
| NOTevil | i'd use whatever is inside GumbyBRAIN myself. |
| merlyn | ... if i need a valid server name, username, password, sorry - misread that as database |
| TreyHarris | NOTevil: are you talking about http://www.gumbybrain.com/? it doesn't define any tests, AFAICT.... |
| quamaretto | GumbyBRAIN, I want to be inside you. |
| GumbyBRAIN | That would be the simplest way but the person inside to let that out... |
| banan | hello - anyone ever had an error like this "[error] Can't locate loadable object for module Apache::Constants" in the apache2 error.log ? |
| f00li5h | banan: i'm sure someone in #apache would know |
| banan | ah perhaps - thanks |
| f00li5h | sounds like you forgot to make something |
| banan | f00li5h: me? |
| f00li5h | banan: do you get other messages before it? banan: ja |
| banan | ahm no only this one when apache2 starts you speak danish f00li5h? |
| imMute | banan: you need to 'use Apache::Constants' |
| banan | anyway it further displays in @INC (@INC contains: /etc/perl /usr/local ... ) at /usr/lib/perl5/mod_perl.pm line 14\nCompilation failed in require at /usr/lib/perl5/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at /usr/share/perl/5.8/CGI.pm line 190.\nCompilation failed in require at /usr/share/request-tracker3.6/libexec/webmux.pl line 56.\nBEGIN failed--compilation |
| Khisanth | the further information doesn't really matter at this point, the message means you are missing the .so that goes with the file |
| banan | yes I figured that out and as far as I can see it's located in /usr/lib/perl5/Apache/Constants.pm |
| Khisanth | you either broke the install or you never installed the complete set of files |
| banan | OK Khisanth - thanks |