Re: ERROR : Can't locate URI.pm in @INC ?

2004-01-05 Thread Ruslan U. Zakirov
S D wrote: I am trying to use the LWP module & the perl module contains : . . use LWP::UserAgent; . . This line throws error : Can't locate URI.pm in @INC (@INC contains: /opt/ora9/product/9.2/Apache/perl/lib/5.00503/i686-linux /opt/ora9/product/9.2/Apache/perl/lib/5.00503 /opt/

Re: Segmentation Fault w/XML::XPath

2004-01-19 Thread Ruslan U. Zakirov
Cory 'G' Watson wrote: The following perl crashes my mod_perl-ed apache at startup. I've sent the same info to the libexpat and perl-xml lists, but noone seems to have any good ideas. So now I'll try you guys ;) use XML::XPath; my $xp = XML::XPath->new(xml => "Foo"); my $res = $xp->getNode

[mp2] make test fails in t/apache/util.t

2004-03-16 Thread Ruslan U. Zakirov
Apache-2 form CVS as mp2. Some locale/UTF issues? I think it's not critical issue and I could force make install. Verbose make test output: t/apache/util1..4 # Running under perl version 5.008003 for linux # Current time local: Tue Mar 16 18:33:54 2004 # Current time GMT: Tue Mar 16 15:33:54

Re: [mp2] make test fails in t/apache/util.t

2004-03-16 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Apache-2 form CVS as mp2. Some locale/UTF issues? I think it's not critical issue and I could force make install. Verbose make test output: t/apache/util1..4 # Running under perl version 5.008003 for linux # Current time local: Tue Mar 16 18:

Re: [mp2] make test fails in t/apache/util.t

2004-03-16 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Stas Bekman wrote: Ruslan U. Zakirov wrote: Apache-2 form CVS as mp2. Some locale/UTF issues? I think it's not critical issue and I could force make install. Verbose make test output: t/apache/util1..4 # Running under perl version 5.00800

Re: [mp2] make test fails in t/apache/util.t

2004-03-16 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: [...] What's the transparent way to accomplish that? 'use locale' should have done that I believe. See the perllocale manpage. This experiment say that 'locale' is working fine: perl -Mlocale -e 'print +(sort grep

Re: [mp2] make test fails in t/apache/util.t

2004-03-17 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: I found solution. I've placed 'use locale' in package scope instead of sub scope and test goes fine. Perl "bug/feature"? No, my mistake. Please try this one: Nop. Only attached one. So may be it is a bug in perl then

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ruslan U. Zakirov
Another thing about installation guide: http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php 1) Configure Apache. % cd apache_1.3.xx % ./configure --prefix=/usr/local/etc/httpd Why should I do this, I allways skip this step and everything fine. I don't understand why I shoul

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ruslan U. Zakirov
Stas wrote: SB> Ruslan U. Zakirov wrote: >> Another thing about installation guide: >> http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php >> 1) Configure Apache. >> >> % cd apache_1.3.xx >> % ./configure --prefix=/usr/local/etc/h

[mp2] CPAN.pm fails on version eval'ing.

2004-03-31 Thread Ruslan U. Zakirov
Hello. I have latest stable mp1 release installed and mp2 from CVS. I've done installation twice and each time after mp2 installation CPAN shell on 'r' command give me next error: Could not eval ' package ExtUtils::MakeMaker::_version; no strict; local $mod_pe

Re: [mp2] CPAN.pm fails on version eval'ing.

2004-03-31 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. I have latest stable mp1 release installed and mp2 from CVS. I've done installation twice and each time after mp2 installation CPAN shell on 'r' command give me next error: Could not eval ' package ExtUtils:

[MP2 CVS] make test errors under freebsd and perl5.8.4

2004-05-02 Thread Ruslan U. Zakirov
Hello. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/apr-ext/uuid.t 1 256 34 133.33% 2-3 t/filter/both_str_con_add.t43 75.00%

Re: [MP2 CVS] make test errors under freebsd and perl5.8.4

2004-05-03 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/apr-ext/uuid.t 1 256 34 133.33% 2-3 t/filter

Re: [ANNOUNCE] Apache-DB-0.09.tar.gz

2004-05-18 Thread Ruslan U. Zakirov
Frank Wiles wrote: The uploaded file Apache-DB-0.09.tar.gz has entered CPAN as file: $CPAN/authors/id/F/FW/FWILES/Apache-DB-0.09.tar.gz size: 7292 bytes md5: c5d1fd283177b77c2f3a02ab18bff9ff Changes since 0.08 - Fixed required modules problems in Apache::SmallProf Hello. I notice tha

Re: [ANNOUNCE] Apache-DB-0.09.tar.gz

2004-05-18 Thread Ruslan U. Zakirov
Frank Wiles wrote: On Tue, 18 May 2004 20:21:01 +0400 "Ruslan U. Zakirov" <[EMAIL PROTECTED]> wrote: Frank Wiles wrote: [snip] Hello. I notice that Apache::DProf from 0.08 skip some calls, but Devel::DProf doesn't. It's mean when I do 'dprofpp -t' after D::D

Re: [ANNOUNCE] Apache-DB-0.09.tar.gz

2004-05-18 Thread Ruslan U. Zakirov
Perrin Harkins wrote: On Tue, 2004-05-18 at 13:27, Ruslan U. Zakirov wrote: First time I thought that A::DP has limit on depth for tree, but as you can see RT::Ticket::HasUnresolvedDependencies calls directly only: RT::Ticket::UnresolvedDependencies RT::Tickets::IgnoreType but they are

Re: Cached vars

2004-07-08 Thread Ruslan U. Zakirov
Vadim пwrote: Are there any way to dump all cached vars for scripts under mod_perl? perldoc Apache::Status ? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] API questions.

2004-11-04 Thread Ruslan U. Zakirov
Hello. 1) I can't find how to get string that represent initial request location. I mean 'http://www.example.com/foo...'. Is it possible? Now, I use next code as workaround: my $location = $r->dir_config( 'ServerName' ); unless( $location ) { $location = 'http://'. join ':'

Re: [mp2] API questions.

2004-11-05 Thread Ruslan U. Zakirov
THanks. All suggestions works well. Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. 1) I can't find how to get string that represent initial request location. I mean 'http://www.example.com/foo...'. Is it possible? Now, I use next code as workaround: my

[MP2] make test fails

2004-11-23 Thread Ruslan U. Zakirov
Hello. 1. Problem Description: Fresh rebuild. Vanilla perl passed all tests. Apache and mod_perl from latest CVS. > make test TEST_VERBOSE=1 TEST_FILES="t/apache/util.t t/api/lookup_uri.t t/api/request_rec.t t/hooks/init.t t/modperl/exit.t t/user/rewrite.t" ... /usr/bin/perl -Iblib/arch/A

Re: [MP2] make test fails

2004-11-23 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: [snip] Looks like a borked source to me. Try to get a new checkout (discard the old one) and try again. e.g. there is no << in t/response/TestApache/util.pm > [Tue Nov 23 17:42:53 2004] [error] [client 127.0.0.1] failed to resolve

PROPFIND WebDAV method is not allowed

2004-11-23 Thread Ruslan U. Zakirov
Hello. Error: RA layer request failed: PROPFIND request failed on '/perl/modperl/trunk': PROPFIND of '/perl/modperl/trunk': 405 Method Not Allowed (http://svn.apache.org) Best regards. Ruslan. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http:

Re: PROPFIND WebDAV method is not allowed

2004-11-23 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello. Error: RA layer request failed: PROPFIND request failed on '/perl/modperl/trunk': PROPFIND of '/perl/modperl/trunk': 405 Method Not Allowed (http://svn.apache.org) An error doing what? sorry, some debugging show

Re: [MP2] make test fails

2004-11-23 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ruslan U. Zakirov wrote: Stas Bekman wrote: Ruslan U. Zakirov wrote: [snip] Looks like a borked source to me. Try to get a new checkout (discard the old one) and try again. e.g. there is no << in t/response/TestApache/util.pm > [Tue Nov 23 17:42:53 2004] [error

[MP1] Memory usage(eating, leaking)

2003-09-27 Thread Ruslan U. Zakirov
Hi, all. I'm looking for suggestions, information, may be atricles about different memory usage issues concerned with mod_perl1. On one Russian forum man posted an review of memory "leaks"(caveats): sub handler { my $r = shift; $r->send_http_header('text/plain'); print

Re: [mp2 module rfc] Apache::Filter::HTTPHeadersManip

2003-10-08 Thread Ruslan U. Zakirov
Stas Bekman wrote: Ged Haywood wrote: Hi Stas, On Tue, 7 Oct 2003, Stas Bekman wrote: came up with Apache::Filter::HTTPHeadersManip which you can try [snip] If you have comments regarding the naming http://www.m-w.com/cgi-bin/dictionary?manipulate I wonder if "Manip" would be better replace

Re: Apache::Session vs CGI:Session?

2003-10-21 Thread Ruslan U. Zakirov
[EMAIL PROTECTED] wrote: Well, I think I understand what you are saying but if I can clarify my understanding. My thought is that openining multiple browser (new process) will be a new and separate session. Is this correct? Only in IE. In Mozilla not. thanks On Mon, 20 Oct 2003 [EMAIL PROTECT

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Ruslan U. Zakirov
Hello. Have you read `perldoc Apache::Session`? There is two examples. [EMAIL PROTECTED] wrote: I'm getting a new id with every refresh click; so, how am I suppose to know it is the same session? Here's my code: #!/usr/bin/perl use Apache::Session::File; use strict; use warnings; my %sessio

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Ruslan U. Zakirov
[EMAIL PROTECTED] wrote: I made two calls to ties for a test and the server comsume alot of CPU and never return. So I don't know what is going on. ... print "Content-type: text/html\n\n"; tie %session, 'Apache::Session::File', undef; $sessId = $session{_session_id}; print "id: " . $sessId . "\n";

Re: Using RPMs for Perl/mod_perl

2003-11-03 Thread Ruslan U. Zakirov
Ken Y. Clark wrote: The discussion this morning on RedHat's Perl and mod_perl has me wanting to ask about the general consensus on those packages. I develop and maintain a fair-sized mod_perl app called "CMap" (http://www.gmod.org/cmap), and my typical installers are biology Ph.D.'s who generally

[mp1.99_10] And tricky code for Mason.

2003-11-06 Thread Ruslan U. Zakirov
Hello All. I'm Request Tracker(RT) user. There were talk and code for mason handler in the archive: if ($mod_perl::VERSION >= 1.9908) { require Apache::RequestUtil; no warnings 'redefine'; my $sub = *Apache::request{CODE}; *Apache::request = sub { my $r; eval { $r =

Re: [mp1.99_10] And tricky code for Mason.

2003-11-06 Thread Ruslan U. Zakirov
Neil Watson ÐÐÑÐÑ: On Thu, Nov 06, 2003 at 05:28:23PM +0300, Ruslan U. Zakirov wrote: RT have issue with attachments coruption, it have such issue almost all time with latest mp2 from time to time, RT's documentation have WARNING RT has had issues with attachment corruption that ar

Re: [BUG] Inconsistent $r->print() behavior with references

2003-12-02 Thread Ruslan U. Zakirov
Geoffrey Young wrote: Ged Haywood wrote: Shouldn't we in fact be changing something? My view would be that the dereferencing facility should be removed from the standard build but left as a non-default compilation option for those that need it to support old code. A message to STDERR to the e

Re: Apache::Session / untie(%session)

2005-07-08 Thread Ruslan U. Zakirov
Perrin Harkins wrote: > On Thu, 2005-07-07 at 17:40 -0400, Gustavo Delfino wrote: > >>untie(%session) > > > That triggers a write to your database if you've modified the session > data. > > >>mysql: 4.1.10a > > > That doesn't sound very safe to me. I'd either upgrade it to the latest > offi