Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

README.mod_perl

Quote Reply
README.mod_perl
I have a mod_perl installation out of the box (Mandrake 8.1), but somehow the instructions in README.mod_perl don't work.

In particular, the problem seems to be with the line
Code:
use GForum::mod_perl;
which upon trying to start apache, produces something like
Code:
Can't locate Apache/DBI.pm in @INC
(@INC contains: /home/jagerman/projects/gforum/cgi/admin
/home/yoga/html/gforum/admin etc. etc.
Now I have DBI.pm installed, but not in a path Apache/DBI.pm. So is that a bug maybe?


Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] README.mod_perl In reply to
Well you have the use lib path wrong for starters unless that's a bug:

/home/jagerman/projects/gforum/cgi/admin /home/yoga/html/gforum/admin
Quote Reply
Re: [RedRum] README.mod_perl In reply to
Actually, the lib path is quite correct, /home/yoga/html/gforum/admin happens to be the
system path to my gforum admin area....

anything else?


Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] README.mod_perl In reply to
Yes I know that is correct but this isn't :)

/home/jagerman/projects/gforum/cgi/admin
Quote Reply
Re: [yogi] README.mod_perl In reply to
Hi,

mod_perl needs a perl module Apache::DBI installed (this allows persistent connections to the database). You need to install this via:

perl -MCPAN -e 'install Apache::DBI'

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] README.mod_perl In reply to
Thanks a lot Alex. I install the module, and indeed it works fine now.



Ivan
-----
Iyengar Yoga Resources / GT Plugins