Pear problem with graphiz library

Matt Matt <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <CAC-Jo12EgOGq7i+TcD2bifL+3CO+px+z4qg9GA3ma61+769-_A@mail.gmail.com>
Hi folks,

i have a problem with graphviz library, i have installed pear and tested it
correctly folowing the guidelines on the official website, also i ensured i
had all the include path setted properly.Although i encountered theese
errors when i try to run graphiz example



Here the code i try to execute :

 <?php
require_once 'Image/GraphViz.php';

$gv = new Image_GraphViz();
$gv->addEdge(array('wake up'        => 'visit bathroom'));
$gv->addEdge(array('visit bathroom' => 'make coffee'));
$gv->image();
?>

Here the errors :
-----------------------------------------------------------------
*Strict Standards*: Non-static method System::mktemp() should not be called
statically, assuming $this from incompatible context in *
pear\Image\GraphViz.php* on line *1005*

*Strict Standards*: Non-static method System::_parseArgs() should not be
called statically, assuming $this from incompatible context in *
pear\System.php* on line *393*

*Strict Standards*: Non-static method Console_Getopt::getopt2() should not
be called statically, assuming $this from incompatible context in *
pear\System.php* on line *84*

*Strict Standards*: Non-static method Console_Getopt::doGetopt() should not
be called statically, assuming $this from incompatible context in *
pear\Console\Getopt.php* on line *75*

*Fatal error*: Class 'PEAR' not found in *\pear\Console\Getopt.php* on line
*109*
----------------------------------------

I have followed theese instruction correctly and i can see the bool(true)
message, so i can't figure out why it complain about missing PEAR class
(the filePera.php is in under /pear directory)

this is the guidelines i have followed to set up pear :
http://pear.php.net/manual/en/installation.checking.php


Do you have any ideas about solving the problem?Thank you in advance,

regards,

Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.