d) Another useful tip - that may seem a bit stupid, but which I found
useful - was to check after completing the installation process that
the 'modules' directory under '/usr/local/apache2' (or whatever)
contained the file 'mod_perl.so'. In my first few attempts at
installation this was useful
Title: Re: MP2 - Make test Error - t/api/request_rec.t
>>It's possible that you create a closure
somewhere, but you don't show that>>somewhere. Otherwise why would you
have defined all those globals. Try to>>get rid of those and pass
things by value.I think I found the problem, I've been o
cfaust-dougot wrote:
You realize that this is not an a-few-lines-test-case. How can we analyze
or run it if it requires a database connection and non-existing
auth_incoming_user and other functions. Please reduce it to the case that
has no external dependencies and so that it still fails. I bet whi
Title: Re: MP2 - Make test Error - t/api/request_rec.t
>>You realize that this is not an
a-few-lines-test-case. How can we analyze>>or run it if it requires a
database connection and non-existing>>auth_incoming_user and other
functions. Please reduce it to the case that>>has no external
d
cfaust-dougot wrote:
sorry, I have no idea. If you reduce your code to a simple few-lines
script/handler and post it here, I'm sure someone will figure out what the
problem is, and whether it's an issue with your code or a bug in mp2.
Thanks Stas, I'll take all the help I can get... I've been tryi
Title: Re: MP2 - Make test Error - t/api/request_rec.t
>> sorry, I have no idea. If you reduce your
code to a simple few-lines>> script/handler and post it here, I'm sure
someone will figure out what the>> problem is, and whether it's an
issue with your code or a bug in mp2.
Thanks Stas, I
Pratik wrote:
I built fresh perl and apache. But mp2RC3 built is failing. I think
it's due to some stupid point which I have failed to see.
test program seems to have generated a core
DIED. FAILED test 21
t/apr-ext/bucket.t0 139212 9.52% 21
t/apr-ext/finfo.t 0 139
[please don't forget to trim unrelated stuff from your messages, and
please start new questions in a new thread, rather than reply to an
unrelated thing. thanks.]
After building and installing MP2 and Apache with no problems at all,
I'm running into that problem where if I refresh the page I may
cfaust-dougot wrote:
Thanks Stas, that did the trick, test and install both ran without a problem!!
Thanks Chris. Now committed.
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
http://stason.org/ mod_perl G
Gordon Lack wrote:
Wow, irix. It's a first time I see anybody trying modperl on it.
Really? I've had it running v1.25 on Apache1.3.x for years.
Sorry, I meant to say mp2.
Can you identify where the process spins? e.g. try the technique explained
in: 21.7.4.1. Using the Perl trace
http://modper
> Yes, it means that irix is a special case and needs to add this option. So
> you have most of it solved. Now please take a look at
> perl_config_lddlflags in lib/Apache/Build.pm, it should probably go there
No - that won't work. The "-exports" option need to go immediately befofe
-lperl. No
> Yes, it means that irix is a special case and needs to add this option. So
> you have most of it solved. Now please take a look at
> perl_config_lddlflags in lib/Apache/Build.pm, it should probably go there
> (make a special case for IRIX). A patch would be gladly accepted.
It's ldopts() that
> >Web servers itself starts spinning on 100% CPU once this happens.
> >
> >Log has this entry:
> >
> > [Thu Jan 06 18:52:18 2005] [error] APR::Socket::recv:
> > (11) Resource temporarily unavailable at
> > /local/GML/Apache2/mod_perl-2.0.0-RC3/t/protocol/TestProtocol/echo_block.pm
> > l
Gordon Lack wrote:
Yes, it means that irix is a special case and needs to add this option. So
you have most of it solved. Now please take a look at
perl_config_lddlflags in lib/Apache/Build.pm, it should probably go there
(make a special case for IRIX). A patch would be gladly accepted.
It's ld
Torsten Foertsch wrote:
> Hi,
>
> I have 2 files t/response/TestSession/7uaexceptionfile.pm and
> t/session/7uaexceptionfile.t.
>
> "t/TEST t/session/7uaexceptionfile.t" works as expected but "t/TEST
> -configure" overwrites my handcrafted t/session/7uaexceptionfile.t.
>
> Why is that so?
p
Hi,
I have 2 files t/response/TestSession/7uaexceptionfile.pm and
t/session/7uaexceptionfile.t.
"t/TEST t/session/7uaexceptionfile.t" works as expected but "t/TEST
-configure" overwrites my handcrafted t/session/7uaexceptionfile.t.
Why is that so?
Torsten
pgpUr0z9lx6PB.pgp
Description: PGP
Title: Re: MP2 - Make test Error - t/api/request_rec.t
Hey Stas,
Sorry, I have another
question/problem.
After building and installing MP2 and
Apache with no problems at all, I'm running into that problem where if I refresh
the page I may get what I want or I may get a previous page/r
Title: Re: MP2 - Make test Error - t/api/request_rec.t
Thanks Stas, that did the
trick, test and install both ran without a problem!!
Thanks Again!
-Chris
From: Stas Bekman
[mailto:[EMAIL PROTECTED]Sent: Mon 1/10/2005 11:17 AMTo:
cfaust-dougotCc: modperl@perl.apache.orgSubject: Re: M
> I would like to support Randal's contention (if not his tone) that
> indeed, in real-world mod_perl commercial situations that I'm familiar
> with (say about 8), 80% of those real-world users will want to have both
> mod_perl 1 and mod_perl 2 installed concurrently due to the
> generally-accepted
Ferrari Geoffrey wrote:
> Hi,
>
> If I have activated a PerlAuthenHandler for a directory in httpd.conf with
>
>
> ...
> PerlAuthenHandler My::Handler
>
>
> How can I deactivate this PerlAuthenHandler for a subdirectory, such as
> /foo/bar ?
if you want requests to /foo/bar to succeed unche
I built fresh perl and apache. But mp2RC3 built is failing. I think
it's due to some stupid point which I have failed to see.
Help !
Pratik
=
/home/pratik/lab/perl/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
APACH
> Stas> 99.9% of users do *not* need to use this workaround. So that
> Stas> issue is moot if you ask me.
> Four out of my five biggest customers *will* need to have both
> modperl1 and modperl2 in the same Perl installation tree on their
> development machines, because they'll need to start looki
Chris Carter wrote:
Hello,
I have just used the document 'Installing mod_perl 2.0' (from
http://perl.apache.org/docs/2.0/user/install/install.html#Dynamic_mod_perl)
and would like to offer a few comments. As will no doubt become clear I
am a novice at the Linux game, and so I hope my comments wi
Gordon Lack wrote:
When I compile with MP_DEBUG=1 set the test reports this:
92021:/local/GML/install/apache2/bin/httpd: rld: Fatal Error:
attempted access to unresolvable symbol in
/local/GML//ServerUtil.so: Perl_Tstack_sp_ptr
Please take a look at:
http://perl.apache.org/docs/1.0/guid
Gordon Lack wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
Testing web server hangs in t/protocol/echo_filter
Web servers itself starts spinning on 100% CPU once thi
Nick *** wrote:
>Geoffrey Young wrote:
>>
>> Stas Bekman wrote:
>>
>>>As you can see from the email below, some modules embed a version number
>>>in the module 'mod_fastcgi-2.4.2-AP20.dll'. Our should_skip_module only
>>>matches an exact name. The patch at the end of this email extends the
Chris Faust wrote:
Hi Stas,
Moving to a new server and I'm rebuilding everything from scratch, I'm
getting a single error during "make test" for "t/api/request_rec.t".
Didn't find much info on it, saw a message from you to Ruslan Zakirov
which had the error but the email was for a different problem
I was looking into this a while back, and came across
several posts that described using a PerlAccessHandler
to determine if PerlAuthenHandler should be set or
not.
You could then setup PerlSetVar Require_Auth '0' in
any sublocations that didn't need Auth. your
AccessHandler would then do a set-ha
On Jan 10, 2005, at 8:54 AM, Martin Moss wrote:
I was looking into this a while back, and came across
several posts that described using a PerlAccessHandler
to determine if PerlAuthenHandler should be set or
not.
You could then setup PerlSetVar Require_Auth '0' in
any sublocations that didn't need
Hi Sean,
adding a .htaccess file might help, but I'm looking to see if there
isn't a better solution. The main problem is that /foo/bar will
actually be a virtual location, that is, it will be controlled by a
directive in httpd.conf and will call the script to check
the user's name and passwor
Hi,
If I have activated a PerlAuthenHandler for a directory in httpd.conf
with
...
PerlAuthenHandler My::Handler
How can I deactivate this PerlAuthenHandler for a subdirectory, such as
/foo/bar ?
The online mod_perl docs explain that PerlHandlers can be deactivated
for subdirectories by sett
31 matches
Mail list logo