Re: Problems with Apache::Gallery

2002-11-20 Thread domm
Hi!

On Mit, Nov 20, 2002 at 10:02:06 +0100, 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).

I'm not sure if Apache::Gallery works with mod_perl 2.x (and mod_perl
1.99 is the development version of mod_perl 2.x)

You /do/ know that mod_perl 2.0 is still heavily in development and
not recommended for use in a production environment?

-- 
#!/usr/bin/perl
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}






Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford

This is what I have... Your installation is not looking good.

$ ls -F /usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2/
APR/  APR.pm  Apache/  ModPerl/  auto/  mod_perl.pm  typemap


   E s  t  eb  a n!


:wq


On 20 Nov 2002, Juan Julian Merelo Guervos wrote:

> El mié, 20-11-2002 a las 10:40, Esteban Fernandez Stafford escribió:
> > Look for a Apache2 folder in your perl folder.
> >
> > find /usr/lib/perl -name Apache2
>
> It's at:
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2
> but  there's only a typemap file in it. Should there be something else?
>
> >
> > If you dont find it, modperl is not properly installed.
>
> That might be the case, but it's the way it comes with redhat 8.0!
>
> JJ
>
> --
> Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
> GeNeura team
>




Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
El mié, 20-11-2002 a las 10:40, Esteban Fernandez Stafford escribió:
> Look for a Apache2 folder in your perl folder.
> 
> find /usr/lib/perl -name Apache2

It's at:
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2
but  there's only a typemap file in it. Should there be something else?

> 
> If you dont find it, modperl is not properly installed.

That might be the case, but it's the way it comes with redhat 8.0!

JJ

-- 
Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
GeNeura team




Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford


Look for a Apache2 folder in your perl folder.

find /usr/lib/perl -name Apache2

If you dont find it, modperl is not properly installed.



   E s  t  eb  a n!


:wq


On 20 Nov 2002, Juan Julian Merelo Guervos wrote:

> El mié, 20-11-2002 a las 10:25, Esteban Fernandez Stafford escribió:
> > 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);
> >
>
> The truth is that Apache.pm does not exist; it probably is included in
> the mod_perl 1.xx distribution. Should I install it? Won't that zap the
> mod_per 1.99 installation?
>
> JJ
> --
> Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
> GeNeura team
>




Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford


No, find the location of your apache modules. For a hint type

rpm -ql perl



   E s  t  eb  a n!


:wq


On 20 Nov 2002, Juan Julian Merelo Guervos wrote:

> Hi,
>
>
> > # For the Apache::* modules
> > use lib qw(/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache2);
> >
>
> Does that mean I have to downgrade to 5.6.1?
>
> J
> --
> Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
> GeNeura team
>




Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
El mié, 20-11-2002 a las 10:25, Esteban Fernandez Stafford escribió:
> 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);
> 

The truth is that Apache.pm does not exist; it probably is included in
the mod_perl 1.xx distribution. Should I install it? Won't that zap the
mod_per 1.99 installation?

JJ
-- 
Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
GeNeura team




Re: Problems with Apache::Gallery

2002-11-20 Thread Juan Julian Merelo Guervos
Hi,


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

Does that mean I have to downgrade to 5.6.1?

J
-- 
Juan Julian Merelo Guervos <[EMAIL PROTECTED]>
GeNeura team




Re: Problems with Apache::Gallery

2002-11-20 Thread Esteban Fernandez Stafford
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  eb  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
> 
>   SetHandlerperl-script
>   PerlResponseHandler   Apache::Gallery
> 
>
> 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
>