RE: mod_perl installation problem...

2003-07-24 Thread Randy Kobes
On Wed, 23 Jul 2003, Jim Morrison [Mailing-Lists] wrote:
[ .. ]
> Make appeared to be successful yes (afaik)... I did wonder
> about the permissions thing but I tried as root to no avail..

Some people have had problems running the tests as root ... You
might want to try unpacking, building, and testing as some user
other than root, and only su to root when installing.

-- 
best regards,
randy


RE: mod_perl installation problem...

2003-07-23 Thread Jim Morrison [Mailing-Lists]

> 
> Was a 'make' of libapreq successful, before the 'make test'? 
> And also, does the user you're running the tests as have the 
> proper permissions to be running tests within /usr/src/libapreq-1.2/?
> 
> 

Make appeared to be successful yes (afaik)... I did wonder about the
permissions thing but I tried as root to no avail..

Kidnest,
Jim



RE: mod_perl installation problem...

2003-07-23 Thread Jim Morrison [Mailing-Lists]
Never got to the bottom of this, but have reverted to mod_perl-1.27 and
libapreq-1.1 and all is now working dandy.

Cheers for the help.

Jim



> -Original Message-
> From: Jim Morrison [Mailing-Lists] [mailto:[EMAIL PROTECTED] 
> Sent: 23 July 2003 09:43
> To: [EMAIL PROTECTED]
> Cc: 'Randy Kobes'
> Subject: RE: mod_perl installation problem... 
> 
> 
> Thanks for getting back Randy,
> 
> Libapreq is complaining too.. That's how this all started, I 
> couldn't install Apache::Cookie.
> 
> Ok.. I've had a bit of a clean up, and I can now get 
> Apache&mod_perl compiling and running just fine.. __But__ I 
> still can't for the life of me get Apache::Request and 
> Apache::Cookie to install..  Going slowly insane. 
> 
> Any help really appreciated.. Hope this hasn't become too OT.
> 
> Cheers,
> Jimbo
> 



RE: mod_perl installation problem...

2003-07-23 Thread Jim Morrison [Mailing-Lists]
big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:13 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:14 2003] [error] Undefined subroutine
&TestApReq::big_input::handler called.

[Wed Jul 23 09:42:14 2003] [error] Can't load
'/usr/src/libapreq-1.2/blib/arch/auto/Apache/Request/Request.so' for
module Apache::Request: libapreq.so.1: cannot open shared object file:
No such file or directory at /usr/local/
lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
Compilation failed in require at
/usr/src/libapreq-1.2/t/response/TestApReq/cookie.pm line 10.
BEGIN failed--compilation aborted at
/usr/src/libapreq-1.2/t/response/TestApReq/cookie.pm line 10.
Compilation failed in require at (eval 22) line 3.

[Wed Jul 23 09:42:14 2003] [error] Undefined subroutine
&TestApReq::cookie::handler called.

[Wed Jul 23 09:42:14 2003] [error] Can't locate object method "new" via
package "Apache::Request" at
/usr/src/libapreq-1.2/t/response/TestApReq/inherit.pm line 9.

[Wed Jul 23 09:42:14 2003] [error] Can't locate object method "new" via
package "Apache::Request" at
/usr/src/libapreq-1.2/t/response/TestApReq/request.pm line 14.

[Wed Jul 23 09:42:14 2003] [error] Can't locate object method "new" via
package "Apache::Request" at
/usr/src/libapreq-1.2/t/response/TestApReq/request.pm line 14.



===========








> -Original Message-
> From: Randy Kobes [mailto:[EMAIL PROTECTED] 
> Sent: 22 July 2003 16:50
> To: Jim Morrison [Mailing-Lists]
> Cc: [EMAIL PROTECTED]
> Subject: Re: mod_perl installation problem... 
> 
> 
> On Tue, 22 Jul 2003, Jim Morrison [Mailing-Lists] wrote:
> 
> > Hello,
> >
> > I've just come a cropper trying to reinstall mod_perl, and I'm a 
> > little desparate! Any help would be greatly appreciated.
> >
> > (I've 'a' mod_perl/apache running fine, but I can't get 
> Apache::Cookie 
> > running along with)
> >
> > I'm trying to install:
> > apache_1.3.28
> > + mod_perl-1.28
> >
> > My config for mod_perl is :
> > APACHE_SRC=../apache_1.3.28/src \
> > DO_HTTPD=1 EVERYTHING=1 \
> > DYNAMIC=1 USE_APACI=1
> >
> > Though I've tried pretty much every variation on that with the same 
> > result..
> >
> > During 'make test' I keep getting:
> >
> > modules/request...NOK 1Test header seen more than once! 
> > modules/request...NOK 2Test header seen more than once! 
> > modules/request...FAILED tests 1-10
> > Failed 10/10 tests, 0.00% okay
> > 
> > Failed 1/34 test scripts, 97.06% okay. 10/318 subtests 
> failed, 96.86% 
> > okay.
> > make: *** [run_tests] Error 29
> >
> > (also skips cookie, module and api)
> >
> > .. Thing is I've got a mod_perl running just fine - What 
> I'm trying to 
> > do is install Apache::Cookie, but it won't because libapreq 
> (1.2) is 
> > complaining...
> 
> It's strange that it runs modules/request but skips 
> modules/cookie, as both should be run by a successful install 
> of libapreq (which supplies Apache::Request and 
> Apache::Cookie). Might a partial install of libapreq been 
> made? It might be worth first tracking down the problems you 
> had with libapreq, to see if resolving those would help with 
> these mod_perl problems.
> 
> -- 
> best regards,
> randy kobes
> 



RE: mod_perl installation problem... (A little more info)

2003-07-22 Thread Jim Morrison [Mailing-Lists]
Further to the below.. Just found my error_log which might be of some
use..

The bit that glares at me is:

[Tue Jul 22 16:38:47 2003] [error] Can't locate object method "new" via
package "Apache::Request" at /usr/src/mod_perl-1.28/t/net/perl/api.pl
line 11,  line 1.

Which is annoying because I can't install Apache::Request without it
making similar complaints?!

==

Subroutine fileparse_set_fstype redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 154.
Subroutine fileparse redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 168.
Subroutine basename redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 235.
Subroutine dirname redefined at
/usr/local/lib/perl5/5.8.0/File/Basename.pm line 248.
Constant subroutine CGI::XHTML_DTD redefined at
/usr/local/lib/perl5/5.8.0/constant.pm line 108.
[Tue Jul 22 16:38:42 2003] [warn] [notice] child_init for process 31133,
report any problems to [no address given]

[Tue Jul 22 16:38:45 2003] [warn] [client 127.0.0.1] log __ANON__ OK
[Tue Jul 22 16:38:46 2003] [error] [client 127.0.0.1] File does not
exist: /usr/src/mod_perl-1.28/t/docs/STAGE/u1/test.html
[Tue Jul 22 16:38:46 2003] [error] [client 127.0.0.1] File does not
exist: /usr/src/mod_perl-1.28/t/docs/STAGE/u1/nochance.html
[Tue Jul 22 16:38:46 2003] [error] [client 127.0.0.1] File does not
exist: /usr/src/mod_perl-1.28/t/docs/nochance.html
[Tue Jul 22 16:38:47 2003] [error] Can't locate object method "new" via
package "Apache::Request" at /usr/src/mod_perl-1.28/t/net/perl/api.pl
line 11,  line 1.

*** The following [error] is expected, no cause for alarm ***
[Tue Jul 22 16:38:48 2003] [error] Missing right curly or square bracket
at /usr/src/mod_perl-1.28/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/src/mod_perl-1.28/t/docs/badsyntax.pl line 9, at
EOF
Compilation failed in require at
/usr/src/mod_perl-1.28/t//docs/startup.pl line 249,  line 1.

*** The following [error] is expected, no cause for alarm ***
[Tue Jul 22 16:38:48 2003] [error] Apache::Death at /dev/null line 0

*** The following [error] is expected, no cause for alarm ***
[Tue Jul 22 16:38:48 2003] [error] Missing right curly or square bracket
at /usr/src/mod_perl-1.28/t/docs/badsyntax.pl line 9, at end of line
syntax error at /usr/src/mod_perl-1.28/t/docs/badsyntax.pl line 9, at
EOF
Compilation failed in require at
/usr/src/mod_perl-1.28/t//docs/startup.pl line 249,  line 1.

*** The following [error] is expected, no cause for alarm ***
[Tue Jul 22 16:38:48 2003] [error] Apache::Death at /dev/null line 0

[notice] child process 31133 terminating
[notice] push'd PerlChildExitHandler called, pid=31133
[notice] push'd PerlChildExitHandler called, pid=31133
[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object

==

> Hello,
> 
> I've just come a cropper trying to reinstall mod_perl, and 
> I'm a little desparate! Any help would be greatly appreciated.
> 
> (I've 'a' mod_perl/apache running fine, but I can't get 
> Apache::Cookie running along with)
> 
> I'm trying to install:
>   apache_1.3.28
> + mod_perl-1.28
> 
> My config for mod_perl is :
>   APACHE_SRC=../apache_1.3.28/src \
>   DO_HTTPD=1 EVERYTHING=1 \
>   DYNAMIC=1 USE_APACI=1
> 
> Though I've tried pretty much every variation on that with 
> the same result.. 
> 
> During 'make test' I keep getting:
> 
> modules/request...NOK 1Test header seen more than once! 
> modules/request...NOK 2Test header seen more than once! 
> modules/request...FAILED tests 1-10
> Failed 10/10 tests, 0.00% okay
> 
> Failed 1/34 test scripts, 97.06% okay. 10/318 subtests 
> failed, 96.86% okay.
> make: *** [run_tests] Error 29
> 
> (also skips cookie, module and api)
> 
> .. Thing is I've got a mod_perl running just fine - What I'm 
> trying to do is install Apache::Cookie, but it won't because 
> libapreq (1.2) is complaining...
> 
> This is really driving me up the wall so any help would be fantastic.
> 
> Thanks,
> Jimbo
> 



Re: mod_perl installation problem...

2003-07-22 Thread Randy Kobes
On Tue, 22 Jul 2003, Jim Morrison [Mailing-Lists] wrote:

> Hello,
>
> I've just come a cropper trying to reinstall mod_perl, and I'm a little
> desparate! Any help would be greatly appreciated.
>
> (I've 'a' mod_perl/apache running fine, but I can't get Apache::Cookie
> running along with)
>
> I'm trying to install:
>   apache_1.3.28
> + mod_perl-1.28
>
> My config for mod_perl is :
>   APACHE_SRC=../apache_1.3.28/src \
>   DO_HTTPD=1 EVERYTHING=1 \
>   DYNAMIC=1 USE_APACI=1
>
> Though I've tried pretty much every variation on that with the same
> result..
>
> During 'make test' I keep getting:
>
> modules/request...NOK 1Test header seen more than once!
> modules/request...NOK 2Test header seen more than once!
> modules/request...FAILED tests 1-10
> Failed 10/10 tests, 0.00% okay
> 
> Failed 1/34 test scripts, 97.06% okay. 10/318 subtests failed, 96.86%
> okay.
> make: *** [run_tests] Error 29
>
> (also skips cookie, module and api)
>
> .. Thing is I've got a mod_perl running just fine - What I'm trying to
> do is install Apache::Cookie, but it won't because libapreq (1.2) is
> complaining...

It's strange that it runs modules/request but skips
modules/cookie, as both should be run by a successful install of
libapreq (which supplies Apache::Request and Apache::Cookie).
Might a partial install of libapreq been made? It might be worth
first tracking down the problems you had with libapreq, to see if
resolving those would help with these mod_perl problems.

-- 
best regards,
randy kobes


mod_perl installation problem...

2003-07-22 Thread Jim Morrison [Mailing-Lists]
Hello,

I've just come a cropper trying to reinstall mod_perl, and I'm a little
desparate! Any help would be greatly appreciated.

(I've 'a' mod_perl/apache running fine, but I can't get Apache::Cookie
running along with)

I'm trying to install:
apache_1.3.28
+ mod_perl-1.28

My config for mod_perl is :
APACHE_SRC=../apache_1.3.28/src \
DO_HTTPD=1 EVERYTHING=1 \
DYNAMIC=1 USE_APACI=1

Though I've tried pretty much every variation on that with the same
result.. 

During 'make test' I keep getting:

modules/request...NOK 1Test header seen more than once!
modules/request...NOK 2Test header seen more than once!
modules/request...FAILED tests 1-10
Failed 10/10 tests, 0.00% okay

Failed 1/34 test scripts, 97.06% okay. 10/318 subtests failed, 96.86%
okay.
make: *** [run_tests] Error 29

(also skips cookie, module and api)

.. Thing is I've got a mod_perl running just fine - What I'm trying to
do is install Apache::Cookie, but it won't because libapreq (1.2) is
complaining...

This is really driving me up the wall so any help would be fantastic.

Thanks,
Jimbo



Re: Apache DSO/mod_perl installation problem

2000-09-17 Thread G.W. Haywood

Hi there,

On Sat, 16 Sep 2000, German Todorov wrote:

> I have apache 1.3.12 compiled as DSO and Perl 5.6.0 on SunOS 5.7, and I
> tried to install mod_perl 1.2.4 as DSO

This is almost a FAQ now, search the List archive for the last couple
of weeks.

73,
Ged.




Apache DSO/mod_perl installation problem

2000-09-16 Thread German Todorov

I have apache 1.3.12 compiled as DSO and Perl 5.6.0 on SunOS 5.7, and I
tried to install mod_perl 1.2.4
as DSO according to documentation. The installation seems to have gone
smoothly,
although when running 'make test' I got a message that the test wasn't
available for mod_perl as DSO option yet.
However, when I add mod_perl to apache config, and restart the server,
apache loses the capacity to serve even flat pages
(I'm getting segmentation fault errors).

I would really like to keep apache as DSO.
Any thoughts on apache/DSO/mod_perls installation will be greatly
appreciated.

Thanks
German Todorov
[EMAIL PROTECTED]






Re: mod_perl installation problem

2000-08-04 Thread Leo Gonzalez

I forgot to say that I'm running solaris 7. I also
read and followed the mod_perl intallation guide (the
flexible way) at the mod_perl site. It just does not
seem to be working. Would anyone know how to fix this
problem. Thanks a lot in advance.

Leo.


--- Leo Gonzalez <[EMAIL PROTECTED]> wrote:
> Here are the build steps done within the mod_perl
> dir:
> 
> perl Makefile.PL APACHE_SRC=../apache_1.3.12/src
> USE_APACI=1 NO_HTTPD=1 PREP_HTTPD=1 EVERYTHING=1
> 



__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: mod_perl installation problem

2000-08-03 Thread Leo Gonzalez

Here are the build steps done within the mod_perl dir:

perl Makefile.PL APACHE_SRC=../apache_1.3.12/src
USE_APACI=1 NO_HTTPD=1 PREP_HTTPD=1 EVERYTHING=1

make
...everything good!
make test
 ...Syntax error on line 3 of
 /usr/local/mod_perl-1.24/t/conf/httpd.conf:
 Invalid command '=pod', perhaps mis-spelled or
 defined
 by a module not include
 d in the server configuration
 will write error_log to: t/logs/error_log
 letting apache warm up...done
 /usr/bin/perl t/TEST 0
 still waiting for server to warm
 up...not
 ok
 server failed to start! (please examine
 t/logs/error_log) at t/TEST line 95.
 make: *** [run_tests] Error 146

Thanks for the help I really appreciate it!!! :-)

Leo.

P.S.; tried going into the apache_1.3.12 dir run make
and then go back to the mod_perl dir but, no go!



--- ___cliff rayman___ <[EMAIL PROTECTED]> wrote:
> Leo Gonzalez wrote:
> 
> > Hello,
> >
> > I am having a little problem attempting to install
> > mod_perl. I build it into apache using APACI
> > (flexible) perform a 'make' and everything goes
> fine.
> > When I type 'make test' then I get the following:
> >
> > --snip--
> > Syntax error on line 3 of
> > /usr/local/mod_perl-1.24/t/conf/httpd.conf:
> > Invalid command '=pod', perhaps mis-spelled or
> defined
> > by a module not include
> > d in the server configuration
> 
> the httpd binary is not built with mod_perl
> 
> >
> > will write error_log to: t/logs/error_log
> > letting apache warm up...done
> > /usr/bin/perl t/TEST 0
> > still waiting for server to warm
> up...not
> > ok
> > server failed to start! (please examine
> > t/logs/error_log) at t/TEST line 95.
> > make: *** [run_tests] Error 146
> >
> > What is pod? Could you please reply. Thanks a lot.
> >
> 
> plain old documentation.  it is a perl thing.  the
> httpd binary does not
> have mod_perl so it is choking on it.
> you did not list the build steps so i am not sure
> where the error is.
> you can try to cd to the apache directory, try a
> make there, and then
> try this make test again in the mod_perl directory.
> 
> >
> > Kind regards,
> >
> > Leo.
> >
> >
> 
> --
> ___cliff
> [EMAIL PROTECTED]http://www.genwax.com/
> 
> 


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: mod_perl installation problem

2000-08-03 Thread ___cliff rayman___

Leo Gonzalez wrote:

> Hello,
>
> I am having a little problem attempting to install
> mod_perl. I build it into apache using APACI
> (flexible) perform a 'make' and everything goes fine.
> When I type 'make test' then I get the following:
>
> --snip--
> Syntax error on line 3 of
> /usr/local/mod_perl-1.24/t/conf/httpd.conf:
> Invalid command '=pod', perhaps mis-spelled or defined
> by a module not include
> d in the server configuration

the httpd binary is not built with mod_perl

>
> will write error_log to: t/logs/error_log
> letting apache warm up...done
> /usr/bin/perl t/TEST 0
> still waiting for server to warm up...not
> ok
> server failed to start! (please examine
> t/logs/error_log) at t/TEST line 95.
> make: *** [run_tests] Error 146
>
> What is pod? Could you please reply. Thanks a lot.
>

plain old documentation.  it is a perl thing.  the httpd binary does not
have mod_perl so it is choking on it.
you did not list the build steps so i am not sure where the error is.
you can try to cd to the apache directory, try a make there, and then
try this make test again in the mod_perl directory.

>
> Kind regards,
>
> Leo.
>
>

--
___cliff [EMAIL PROTECTED]http://www.genwax.com/





mod_perl installation problem

2000-08-03 Thread Leo Gonzalez

Hello,

I am having a little problem attempting to install
mod_perl. I build it into apache using APACI
(flexible) perform a 'make' and everything goes fine.
When I type 'make test' then I get the following:


make[1]: Entering directory
`/usr/local/mod_perl-1.24/Util'
make[1]: Leaving directory
`/usr/local/mod_perl-1.24/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf
-X -d `pwd`/t &
httpd listening on port 8529
Syntax error on line 3 of
/usr/local/mod_perl-1.24/t/conf/httpd.conf:
Invalid command '=pod', perhaps mis-spelled or defined
by a module not include
d in the server configuration
will write error_log to: t/logs/error_log
letting apache warm up...done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...not
ok
server failed to start! (please examine
t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 146

What is pod? Could you please reply. Thanks a lot.

Kind regards,

Leo.



__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/