Hi Juan,

I had a similar problem. To solve it I added these lines to startup.pl
I guess you will have to change the paths to your own settings.


# For the Apache::* modules
use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2);

# For my own
use lib qw(/home/esteban/apache_mod_perl/perl);

# Que cojones!!!

                           E             s          t      e    b  a n!



:wq


On 20 Nov 2002, Juan Julian Merelo Guervos wrote:

> Hi,
>       I'm having problems with apache::gallery, mod_perl 1.99 and apache 2.0
> (and who hasn't?, you might ask).
>
> This is the setup I'm using in perl.conf
> PerlSetVar GalleryTemplateDir
> /home/jmerelo/public_html/gallery/templates
> PerlSetVar GalleryAllowOriginal 1
> <Location /gallery>
>       SetHandler        perl-script
>       PerlResponseHandler       Apache::Gallery
> </Location>
>
> And this is the error I get:
> [client 10.10.10.77] Can't locate Apache.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.6.1
> /usr/lib/perl5/vendor_perl .) at
> /usr/lib/perl5/site_perl/5.8.0/Apache/Gallery.pm line 12.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.0/Apache/Gallery.pm line 12.
> Compilation failed in require at (eval 1) line 3.
>
> I have tried to use this startup.pl file:
> --
> #!/usr/bin/perl
>
> #use Apache2 (); # if you have 1.0 and 2.0 installed
> use Apache::compat ();
> use Apache::Request();
> use Apache::Gallery ();
> "Qué cojones!";
> --
> But I still get a different error when I try to startup httpd.
>
> Is there a solution? Do I have to install both mod_perl 1 and 2? What's
> the answer to the ultimate question about life, the universe and
> everything? Should I wait for a definitive (redhat) release of mod_perl?
>
> JJ
>
> --
> Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
> GeNeura team
>

Reply via email to