Pear problem with graphiz library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux