Can't locate Apache.pm com o find eu localizo este arquivo

Apesar do mod_perl-1 esta instalado no apache2 do cl10
o rt teria que funcionar ?

quando inicio o apache


Iniciando Apache web server (httpd): [Wed Oct 11 15:34:21 2006] [error] 
Can't locate Apache.pm in @INC (@INC contains: 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Apache2 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl . /etc/apache/ 
/etc/apache/lib/perl) at /usr/lib/perl5/5.8.3/CGI.pm line 195.\nCompilation 
failed in require at /opt/rt3/bin/webmux.pl line 56.\nBEGIN 
failed--compilation aborted at /opt/rt3/bin/webmux.pl line 56.\nCompilation 
failed in require at (eval 3) line 1.\n
[Wed Oct 11 15:34:21 2006] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server ns1.locarvel.com.br:0, exiting...

                                                                             
                                    [FALHOU]
no http.conf está assim
<VirtualHost your.ip.adress>
    ServerName your.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    ### estas 5 linhas somente para o Apache2+mod_perl2
    #PerlSetVar MasonArgsMethod CGI
    #PerlModule Apache2 Apache::compat
    #Rewrite Engine On
    #RewriteRule ^(.*)/$ $1/index.html
    #RedirectMatch permanent (.*)/$ http://myaddress.com$1/index.html
    ###

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>

</VirtualHost>





se eu removo
rpm -e mod_perl-1.99_13-56621cl

e tento instalar o mod_perl-2  com os fontes
pois não encontrei rpm

da o seguinte erro

[EMAIL PROTECTED] mod_perl-2.0.2]# perl Makefile.PL
no conflicting prior mod_perl version found - good.

Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.

If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.


Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):  /usr/sbin/apxs

[  error] '/usr/sbin/apxs -q INCLUDEDIR' failed:
[  error] cannot open /usr/lib/apache/modules/build/config_vars.mk: Arquivo 
ou diretório não encontrado at /usr/sbin/apxs line 217.
[  error] Unable to determine server version, aborting.
[  error] Invalid MP_APXS specified?
[EMAIL PROTECTED] mod_perl-2.0.2]#


---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a