[Perl] Instalando GD
Max de Mendizábal
max en upn.mx
Mar Dic 7 15:42:03 CST 2004
Seguro que tienes una versión vieja de GD. Bájate la más nueva de
http://www.boutell.com
Las versiones viejas de GD no traían soporte para GIF
Saludos
Max
At 03:18 p.m. 06/12/2004, Alejandro G. Bedoya wrote:
>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
>
>_______________________________________________
>Perl mailing list
>Perl en tlali.iztacala.unam.mx
>http://tlali.iztacala.unam.mx/cgi-bin/mailman/listinfo/perl
Más información sobre la lista de distribución Perl