[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Can't seem to get it going...
From:       Doug MacEachern <dougm () pobox ! com>
Date:       1998-07-28 14:32:21
[Download RAW message or body]

At 01:58 AM 7/28/98 -0400, Eric D. Williams wrote:
>I have compiled the INSTALL.simple of mod_perl v1.15 and Apache 1.3.1
>on a Sun 1+ (sun4m) Solaris 2.5 with gcc and it just won't seem to get
>up and go.
>
>Here's what I see in the error_log file:
>
>[Tue Jul 28 01:35:41 1998] [notice] Apache/1.3.1 (Unix) mod_perl/1.15
>configured
> -- resuming normal operations
>Can't locate loadable object for module Apache in @INC (@INC contains:
>/usr/loca
>l/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5
>/usr/local/lib/perl5/site_
>perl/sun4-solaris /usr/local/lib/perl5/site_perl .) at
>/usr/local/lib/perl5/CGI/
>Apache.pm line 2
>BEGIN failed--compilation aborted at /usr/local/lib/perl5/CGI/Apache.pm
>line 2.
>BEGIN failed--compilation aborted at
>/opt/local/httpd/share/apache/cgi-bin/my.cgi line 41.
>[Tue Jul 28 01:35:54 1998] [error] Premature end of script headers:
>/opt/local/h
>ttpd/share/apache/cgi-bin/my.cgi
>
>Looks like a simple thing, I am trying to use CGI.pm with mod_perl and
>have a coupla' other things set up as below:
>
>In srm.conf:
>
># try a perl module load
>PerlModule Apache::Registry

That's not enough, see cgi_to_mod_perl.pod for suggested configuration.
You script is being run under mod_cgi, not mod_perl.

-Doug

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic