Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11150 - mysqltool requires Apache::DBI perl module when using mod_perl but it's not included
Summary: mysqltool requires Apache::DBI perl module when using mod_perl but it's not i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-23 23:39 UTC by amonroe
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amonroe 2002-11-23 23:39:58 UTC
I had to manually dig it up on CPAN and put it in the appropriate directory
(/usr/lib/perl5/site_perl/5.6.1/i686-linux/Apache/DBI.pm)

Also the ebuild forgets to add these lines to the commonapache.conf file, per
the install instructions on mysqltool.com

PerlRequire {apache_root}/conf/mysqltool.conf
<Directory {apache_document_root}/htdocs/mysqltool>
   Options ExecCGI
   <Files *.cgi>
     SetHandler perl-script
     PerlHandler MysqlTool
   </Files>
</Directory>

(You may need to wrap these in an IfModule block, not sure)
I guess the ebuild should check for the presence of mod_perl, and just make a
plain ExecCGI directory, without all the PerlHandler parts, if you're not using
mod_perl.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-11-26 17:54:18 UTC
committed