Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169691 - net-analyzer/cacti-0.8.6j-r3 cannot find external adodb
Summary: net-analyzer/cacti-0.8.6j-r3 cannot find external adodb
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 01:18 UTC by Rob Terhaar
Modified: 2007-03-07 01:46 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 Rob Terhaar 2007-03-07 01:18:24 UTC
ls -al /usr/share/webapps/cacti/0.8.6j-r1/htdocs/lib/adodb/
total 376
-rw-r--r-- 1 root root   8153 Feb  2 00:19 adodb-csvlib.inc.php
-rw-r--r-- 1 root root  19523 Feb  2 00:19 adodb-datadict.inc.php
-rw-r--r-- 1 root root   8505 Feb  2 00:19 adodb-error.inc.php
-rw-r--r-- 1 root root   2748 Feb  2 00:19 adodb-errorhandler.inc.php
-rw-r--r-- 1 root root   2276 Feb  2 00:19 adodb-errorpear.inc.php
-rw-r--r-- 1 root root   2183 Feb  2 00:19 adodb-exceptions.inc.php
-rw-r--r-- 1 root root   1595 Feb  2 00:19 adodb-iterator.inc.php
-rw-r--r-- 1 root root  27726 Feb  2 00:19 adodb-lib.inc.php
-rw-r--r-- 1 root root   9467 Feb  2 00:19 adodb-pear.inc.php
-rw-r--r-- 1 root root  26446 Feb  2 00:19 adodb-perf.inc.php
-rw-r--r-- 1 root root    319 Feb  2 00:19 adodb-php4.inc.php
-rw-r--r-- 1 root root  28632 Feb  2 00:19 adodb-time.inc.php
-rw-r--r-- 1 root root  54757 Feb  2 00:19 adodb-xmlschema.inc.php
-rw-r--r-- 1 root root 106485 Feb  2 00:19 adodb.inc.php
drwxr-xr-x 2 root root   4096 Feb  2 00:19 datadict
drwxr-xr-x 2 root root   4096 Feb  2 00:19 drivers
drwxr-xr-x 2 root root   4096 Feb  2 00:19 lang
-rw-r--r-- 1 root root  25898 Feb  2 00:19 license.txt
-rw-r--r-- 1 root root   3227 Feb  2 00:19 toexport.inc.php
-rw-r--r-- 1 root root   5171 Feb  2 00:19 tohtml.inc.php

ls -al /usr/share/webapps/cacti/0.8.6j-r3/htdocs/lib/adodb/
ls: cannot access /usr/share/webapps/cacti/0.8.6j-r3/htdocs/lib/adodb/: No such file or directory


so since the adodb directory is missing out of lib, when i try to login to the cacti web page i see this:

Warning: include(/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/cacti/include/config.php on line 150

Warning: include() [function.include]: Failed opening '/var/www/localhost/htdocs/cacti/lib/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/localhost/htdocs/cacti/include/config.php on line 150

Fatal error: Call to undefined function NewADOConnection() in /var/www/localhost/htdocs/cacti/lib/database.php on line 40


Reproducible: Always
Comment 1 Rob Terhaar 2007-03-07 01:25:34 UTC
oh and yes, i have dev-php/adodb-4.72 installed 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 01:40:50 UTC
Uhm, it's not missing any files, the ebuild won't install the bundled adodb stuff unless you have USE=bundled-adodb set. More like you failed to run etc-update so you still have old library_path set in include/config.php. 
Comment 3 Rob Terhaar 2007-03-07 01:45:27 UTC
jeeze jakub, did you dog die today or something?

you figured out the problem. only thing is- include/config.php is protected so that webapp-config won't replace it on a whim.


really though, there's no need to be so snarky.


Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 01:46:40 UTC
Well, so why are you reopening this bug?