[LON-CAPA-dev] perl graphics

Peter Riegler lon-capa-dev@mail.lon-capa.org
Sat, 15 Dec 2007 19:06:01 +0100


Hi,

would it be possible to use a perl graphics package with loncapa?
Such as GD?
Is it considered to be a security issue?

Typing
use GD;
in line 2 of a loncapa-perl script
gives
  'caller' trapped by operation mask at /usr/lib/perl5/5.8.8/Symbol.pm 
line 127.
Compilation failed in require at 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/GD/Image.pm 
line 6.
BEGIN failed--compilation aborted at 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/GD/Image.pm 
line 6.
Compilation failed in require at 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/GD.pm line 14.
BEGIN failed--compilation aborted at 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/GD.pm line 14.
Compilation failed in require at (eval 4328) line 2.
BEGIN failed--compilation aborted at (eval 4328) line 2.

We have the need to generate on the fly graphs (graph as in graph theory)
I have never worked with perl graphics.

Peter

-- 
Peter Riegler
Fachhochschule Braunschweig/Wolfenbüttel
Salzdahlumer Str. 46/48, 38302 Wolfenbüttel
Tel. +49 5331 939 6314, Fax. +49 5331 939 6002
email: p.riegler@fh-wolfenbuettel.de
http://public.rz.fh-wolfenbuettel.de/~riegler