Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75510 - horde-pear does not depend on PEAR-DB
Summary: horde-pear does not depend on PEAR-DB
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-23 19:51 UTC by Allen Parker
Modified: 2004-12-23 23:23 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 Allen Parker 2004-12-23 19:51:10 UTC
Because horde-pear does not depend on PEAR-DB, horde fails if setup to use sql for preferences storage, even if mysql USE flag is active, error below:

Reproducible: Always
Steps to Reproduce:
1. USE="mysql" emerge apache2 mod_php horde
2. edit /etc/conf.d/apache2 to include -D $PHPVER
3. /etc/init.d/apache2 start
4. browse to your horde installation and attempt to login.

Actual Results:  
Warning: Prefs_sql::_connect(DB.php) [function.-connect]: failed to open stream:
No such file or directory in /var/www/secure/htdocs/horde/lib/Prefs/sql.php on
line 105

Warning: Prefs_sql::_connect() [function.include]: Failed opening 'DB.php' for
inclusion (include_path='.:/usr/lib/php') in
/var/www/secure/htdocs/horde/lib/Prefs/sql.php on line 105

Fatal error: Class 'DB' not found in
/var/www/secure/htdocs/horde/lib/Prefs/sql.php on line 106

Expected Results:  
Displayed Horde.
Comment 1 SpanKY gentoo-dev 2004-12-23 23:23:41 UTC
added 'mysql? ( dev-php/PEAR-DB )' to RDEPEND for horde