Installing PEAR DB on new wamp installation?
Posted by: lemrin (---.bb.sky.com)
Date: April 12, 2011 02:44PM

Is there a guide anywhere on here on how to do this? I've used the search facility but it only comes up with one topic which is of somebody else having a problem.

I've done the go-pear stuff.

I go to the directory in the command window and type: pear install db.

I'm really really sorry. I know the below is long but I've been trying to get this right for 2 days and am at the end of my tether now.

It then comes up with the following:

C:\wamp\bin\php\php5.3.5>pear install db
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
......done: 132,246 bytes

Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in PEAR\Downloader.php on line 1217
PHP Warning: require_once(Structures/Graph.php): failed to open stream: No such
file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
1217
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700

Warning: require_once(Structures/Graph.php): failed to open stream: No such file
or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217

Call Stack:
0.0023 532280 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
0.1681 3479008 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
0.1681 3479008 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
1.4743 9598784 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700

PHP Fatal error: require_once(): Failed opening required 'Structures/Graph.php'
(include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Downloader.php on line 1217
PHP Stack trace:
PHP 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
PHP 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
8
PHP 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
mmand\Common.php:271
PHP 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
\PEAR\Command\Install.php:700

Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
\Downloader.php on line 1217

Call Stack:
0.0023 532280 1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
0.1681 3479008 2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
EAR\pearcmd.php:308
0.1681 3479008 3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
5.3.5\PEAR\PEAR\Command\Common.php:271
1.4743 9598784 4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
\php\php5.3.5\PEAR\PEAR\Command\Install.php:700

Options: ReplyQuote
Re: Installing PEAR DB on new wamp installation?
Posted by: lemrin (---.bb.sky.com)
Date: April 12, 2011 06:34PM

I've got a working version now but had to go back to version 2.0i. Working perfectly now. Will stick with the old version and upgrade at a later date.

Options: ReplyQuote


Sorry, only registered users may post in this forum.