[Perl] Instalando GD

Alejandro G. Bedoya nezumi en prodigy.net.mx
Lun Dic 6 15:18:19 CST 2004


Saludos!!!

Necesito instalar el módulo GD en un FC2 y lo hago mediante el shell de 
CPAN:
    root# perl -MCPAN -e shell
    cpan> install GD

Luego me pide que le indique donde está instalado el libdg y 
supuestamente está en /usr/lib, ya revise ese directorio y si hay un 
monton de archivos libgd por ahi.

Luego me pregunta que soporte, y le pico que sí a todos JPEG, PNG, 
Freetype, Gifs animados, XPM.

Luego intenta compilar y muestra:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: 
./blib/arch/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
 at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 153) line 1, near "'int'  
$__val"
        (Missing operator before   $__val?)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load 
'/root/.cpan/build/GD-2.19/blib/arch/auto/GD/GD.so' for module GD: 
/root/.cpan/build/GD-2.19/blib/arch/auto/GD/GD.so: undefined symbol: 
gdImageGifAnimAddPtr at 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
 at /root/.cpan/build/GD-2.19/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at 
/root/.cpan/build/GD-2.19/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at 
/root/.cpan/build/GD-2.19/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/GD.t        255 65280    10   19 190.00%  1-10
t/Polyline.t  255 65280     1    2 200.00%  1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


Y no lo instala... Ya intente cambiandole las opciones de soporte, ya 
intente bajando directamente el tar.gz (el 2.16) y sale lo mismo, ya 
intente actualizando las bibliotecas gd y nada, ya intenté buscando en 
google... La neta es que no se mucho de instalar cosas en linux, alguien 
me podria dar alguna orientación a nivel párvulos de como se hace esto 
correctamente?  Que es lo que estoy haciendo mal?     GRACIAS!!!


---
Sinceramente
Alejandro G. Bedoya



Más información sobre la lista de distribución Perl