martes, 27 de julio de 2010

Lenny pear install Image_Graph

Obtuve el error cuando queria instalar el Image_Graph y ver los graficos del snort

Lo que paso fue lo siguiente:

debian# pear install Image_Graph
Failed to download pear/Image_Graph within preferred state "stable", latest release is version 0.7.2, stability "alpha", use "channel://pear.php.net/Image_Graph-0.7.2" to install
install failed

Segun esto todo esta bien ??
debian# pear config-show | grep "PEAR directory"
PEAR directory php_dir /usr/share/php
debian# php -i | grep "include_path"
include_path => .:/usr/share/php:/usr/share/pear => .:/usr/share/php:/usr/share/pear

Google a la carga y la respuesta fue:

debian# pear install --alldeps Image_Graph-0.7.2

tipeamos pero sale error o_O

debian# pear install --alldeps Image_Graph-0.7.2
Failed to download pear/Image_Canvas, version "0.3.0", latest release is version 0.3.2, stability "alpha", use "channel://pear.php.net/Image_Canvas-0.3.2" to install
Failed to download pear/Numbers_Words within preferred state "stable", latest release is version 0.16.2, stability "beta", use "channel://pear.php.net/Numbers_Words-0.16.2" to install
pear/Image_Graph requires package "pear/Image_Canvas" (version >= 0.3.0)
pear/Image_Graph can optionally use package "pear/Numbers_Words"
No valid packages found
install failed

De la misma forma instalamos la dependencia !!!
debian# pear install --alldeps Image_Canvas-0.3.2
downloading Image_Canvas-0.3.2.tgz ...
Starting to download Image_Canvas-0.3.2.tgz (54,698 bytes)
.............done: 54,698 bytes
install ok: channel://pear.php.net/Image_Canvas-0.3.2

Ahora si por el Image_Graph
debian# pear install --alldeps Image_Graph-0.7.2
Failed to download pear/Numbers_Words within preferred state "stable", latest release is version 0.16.2, stability "beta", use "channel://pear.php.net/Numbers_Words-0.16.2" to install
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Graph-0.7.2.tgz ...
Starting to download Image_Graph-0.7.2.tgz (368,056 bytes)
...........................................................................done: 368,056 bytes
install ok: channel://pear.php.net/Image_Graph-0.7.2


Listo !!!

Fuente:
http://chirale.wordpress.com/2008/11/23/pear-install-quick-howto-on-debian-lenny-imagegraph/

No hay comentarios.: