Re: Problems installing mp1 and apache-1.3.28

2003-07-30 Thread Thomas Schindl
Oh found it my self. I forgot to add EVERYTHING=1 to perl-Makefile call
because i simply copied it from INSTALL.simple where this is not
mentionned.

tom

On Wed, 2003-07-30 at 14:20, Thomas Schindl wrote:
> Hi,
> 
> I've a strange problem I've never encountered before when compiling my
> own apache.
> 
> I simply run:
>   1) in mod_perl-1.28:
>  /opt/perl/bin/perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/opt/apache
>  make
>  make test
>  make install
>   2) If I know try to start my apache with a startup-file like this:
>  8<
>  #!/opt/perl/bin/perl
>  use Apache::Log;
>  8<
>  I get this error-message:
>  8<
>  ../bin/apachectl start
> [Wed Jul 30 14:18:43 2003] [error] Can't locate loadable object for module 
> Apache::Log in @INC (@INC contains: /opt/perl/lib/5.8.0/i686-linux 
> /opt/perl/lib/5.8.0 /opt/perl/lib/site_perl/5.8.0/i686-linux 
> /opt/perl/lib/site_perl/5.8.0 /opt/perl/lib/site_perl . /opt/apache/ 
> /opt/apache/lib/perl) at /opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
> Compilation failed in require at /opt/apache//conf/startup.pl line 3.
> BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
> Compilation failed in require at (eval 2) line 1.
>  
> Syntax error on line 981 of /opt/apache/conf/httpd.conf:
> Can't locate loadable object for module Apache::Log in @INC (@INC contains: 
> /opt/perl/lib/5.8.0/i686-linux /opt/perl/lib/5.8.0 
> /opt/perl/lib/site_perl/5.8.0/i686-linux /opt/perl/lib/site_perl/5.8.0 
> /opt/perl/lib/site_perl . /opt/apache/ /opt/apache/lib/perl) at 
> /opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
> Compilation failed in require at /opt/apache//conf/startup.pl line 3.
> BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
> Compilation failed in require at (eval 2) line 1.
>  
> ../bin/apachectl start: httpd could not be started
>  8<
> 
> What's going on here? Any ideas.
> 
> Tom
> 



Problems installing mp1 and apache-1.3.28

2003-07-30 Thread Thomas Schindl
Hi,

I've a strange problem I've never encountered before when compiling my
own apache.

I simply run:
  1) in mod_perl-1.28:
 /opt/perl/bin/perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/opt/apache
 make
 make test
 make install
  2) If I know try to start my apache with a startup-file like this:
 8<
 #!/opt/perl/bin/perl
 use Apache::Log;
 8<
 I get this error-message:
 8<
 ../bin/apachectl start
[Wed Jul 30 14:18:43 2003] [error] Can't locate loadable object for module Apache::Log 
in @INC (@INC contains: /opt/perl/lib/5.8.0/i686-linux /opt/perl/lib/5.8.0 
/opt/perl/lib/site_perl/5.8.0/i686-linux /opt/perl/lib/site_perl/5.8.0 
/opt/perl/lib/site_perl . /opt/apache/ /opt/apache/lib/perl) at 
/opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
Compilation failed in require at /opt/apache//conf/startup.pl line 3.
BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
Compilation failed in require at (eval 2) line 1.
 
Syntax error on line 981 of /opt/apache/conf/httpd.conf:
Can't locate loadable object for module Apache::Log in @INC (@INC contains: 
/opt/perl/lib/5.8.0/i686-linux /opt/perl/lib/5.8.0 
/opt/perl/lib/site_perl/5.8.0/i686-linux /opt/perl/lib/site_perl/5.8.0 
/opt/perl/lib/site_perl . /opt/apache/ /opt/apache/lib/perl) at 
/opt/perl/lib/site_perl/5.8.0/i686-linux/mod_perl.pm line 14
Compilation failed in require at /opt/apache//conf/startup.pl line 3.
BEGIN failed--compilation aborted at /opt/apache//conf/startup.pl line 3.
Compilation failed in require at (eval 2) line 1.
 
../bin/apachectl start: httpd could not be started
 8<

What's going on here? Any ideas.

Tom



mod_per2/PerlInc in Virtualhost

2003-07-17 Thread Thomas Schindl
Hi,

Is it possible to use different PerlINC-Paths in different virtual hosts
in mod_perl2. In mod_perl1 I've used Apache::PerlVINC what do I use in
mod_perl2?

thx

tom