Problem with Gd module and animated Gifs

2010-07-04 Thread Mike Martin
Hi I am looking at creating animated gifs using this in the man page as a starting point my $gifdata = $image-gifanimbegin; $gifdata .= $image-gifanimadd;# first frame for (1..100) { # make a frame of right size my $frame =

function umask() and problem in GD::image-png

2010-03-31 Thread CHAN, KENNETH 1 [AG/7721]
Hi all, I have 2 simple questions (maybe be very trial): 1. I saw some code put umask 022; in the near beginning of perl script. I understand that umask is for changing the file permission in unix/linux. However, if I put umask 002 in the beginning of a perl script, after execution, the file

Re: function umask() and problem in GD::image-png

2010-03-31 Thread Shlomi Fish
Hi Kenneth, On Wednesday 31 Mar 2010 11:34:37 CHAN, KENNETH 1 [AG/7721] wrote: Hi all, I have 2 simple questions (maybe be very trial): 1. I saw some code put umask 022; in the near beginning of perl script. I understand that umask is for changing the file permission in unix/linux.

Re: function umask() and problem in GD::image-png

2010-03-31 Thread John W. Krahn
CHAN, KENNETH 1 [AG/7721] wrote: Hi all, Hello, I have 2 simple questions (maybe be very trial): 1. I saw some code put umask 022; in the near beginning of perl script. I understand that umask is for changing the file permission in unix/linux. No, that is incorrect. umask() by itself

RE: function umask() and problem in GD::image-png

2010-03-31 Thread CHAN, KENNETH 1 [AG/7721]
umask() and problem in GD::image-png Hi Kenneth, On Wednesday 31 Mar 2010 11:34:37 CHAN, KENNETH 1 [AG/7721] wrote: Hi all, I have 2 simple questions (maybe be very trial): 1. I saw some code put umask 022; in the near beginning of perl script. I understand that umask is for changing the file

Re: function umask() and problem in GD::image-png

2010-03-31 Thread Shlomi Fish
() and problem in GD::image-png Hi Kenneth, On Wednesday 31 Mar 2010 11:34:37 CHAN, KENNETH 1 [AG/7721] wrote: Hi all, I have 2 simple questions (maybe be very trial): 1. I saw some code put umask 022; in the near beginning of perl script. I understand that umask is for changing the file

RE: Re[2]: Problem with GD::Graph

2006-09-16 Thread john
Well, I installed the newest version of GD and now it works! Thanks. -Original Message- From: Owen Cook [mailto:[EMAIL PROTECTED] Sent: Saturday, September 16, 2006 1:07 AM To: john Cc: beginners@perl.org Subject: RE: Re[2]: Problem with GD::Graph -- On Fri, 15 Sep 2006, john wrote

Problem with GD::Graph

2006-09-15 Thread john
Hi all I have installed the GD::Graph module and I tried to run the example using this code #!/usr/bin/perl -w use GD::Graph; @data = ( [1st,2nd,3rd,4th,5th,6th,7th, 8th, 9th], [1,2,5,6,3, 1.5,1, 3, 4], [ sort { $a = $b } (1, 2, 5,

Re: Problem with GD::Graph

2006-09-15 Thread Owen Cook
-- On Fri, 15 Sep 2006, john wrote: Hi all I have installed the GD::Graph module and I tried to run the example using this code #!/usr/bin/perl -w use GD::Graph; @data = ( [1st,2nd,3rd,4th,5th,6th,7th, 8th, 9th], [1,2,5,6,

RE: Problem with GD::Graph

2006-09-15 Thread john
in the GD::Graph module. -Original Message- From: Owen Cook [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 10:45 AM To: john Cc: beginners@perl.org Subject: Re: Problem with GD::Graph -- On Fri, 15 Sep 2006, john wrote: Hi all I have installed the GD::Graph

RE: Problem with GD::Graph

2006-09-15 Thread Owen Cook
On Fri, 15 Sep 2006, john wrote: I replace the crusial line with the one below my $graph = GD::Graph::area-new(400, 300); and I received the error Can't locate object method new via package GD::Graph::area (perhaps you forgot to load GD::Graph::area?) at test2.pl line 11 I think

Re: Problem with GD::Graph

2006-09-15 Thread Mumia W.
On 09/15/2006 02:24 AM, john wrote: Hi all I have installed the GD::Graph module and I tried to run the example using this code [...] my $graph = GD::Graph::chart-new(400, 300); [...] I haven't installed GD::Graph yet, but the description provided by 'aptitude' doesn't describe a

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
: Friday, September 15, 2006 11:28 AM To: john Subject: Re[2]: Problem with GD::Graph Hello john, Friday, September 15, 2006, 11:09:10 AM, you wrote: I replace the crusial line with the one below my $graph = GD::Graph::area-new(400, 300); and I received the error Can't locate object method new

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
: RE: Re[2]: Problem with GD::Graph On Fri, 15 Sep 2006, john wrote: Well, I did that Putting the use GD::Graph::area in the beginning and now the error is perl: relocation error: /usr/lib/perl5/site_perl/5.8.0/i486-linux/auto/GD/GD.so: undefined symbol: gdFontGetLarge Well it would

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread john
Where could I find the installed DG version since it's no visible in the GD man page. -Original Message- From: Owen Cook [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 1:15 PM To: john Cc: beginners@perl.org Subject: RE: Re[2]: Problem with GD::Graph On Fri, 15 Sep 2006

RE: Re[2]: Problem with GD::Graph

2006-09-15 Thread Owen Cook
-- On Fri, 15 Sep 2006, john wrote: Where could I find the installed DG version since it's no visible in the GD man page. /usr/bin/gdlib-config --version but you might want to read /usr/bin/gdlib-config --help Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

problem with GD

2005-10-07 Thread Aditi Gupta
Hello everybody, I've tried installing GD for Activestate Perl on a Windows XP system. I've downloaded the module from CPAN. But the module contains GD.xs file and hence I've to build it myself. I used C compiler but it is giving many errors and most of them are not being able to locate perl.h,

Re: problem with GD

2005-10-07 Thread Dan Klose
On Fri, 2005-10-07 at 03:55 -0700, Aditi Gupta wrote: Hello everybody, I've tried installing GD for Activestate Perl on a Windows XP system. I've downloaded the module from CPAN. But the module contains GD.xs file and hence I've to build it myself. I used C compiler but it is giving many

Re: a problem about GD

2005-05-13 Thread Frank
Thanks, Zentara, The problem was fixed. zentara wrote: On Tue, 10 May 2005 12:31:34 +0800, [EMAIL PROTECTED] (Frank) wrote: Sorry if my question is stupid or too simple. I have google the answer but got too much information I test my GD module to check whether it can be used since there are

a problem about GD

2005-05-09 Thread Frank
Sorry if my question is stupid or too simple. I have google the answer but got too much information I test my GD module to check whether it can be used since there are too many errors when install GD. the test program is copied from a website: **

problem with GD

2005-05-04 Thread Ankur Gupta
Hi, Today I installed gdlib, GD and GD::Graph. There were some problems with make test but make install went fine. So I installed them forcefully. Now when I run a sample file from the samples directory I am getting the following error. /usr/bin/perl sample63.pl Processing sample63 ld.so.1:

problem installing GD

2004-12-22 Thread Octavian Rasnita
Hi all, I have tried installing GD under Linux with Perl 5.8.4 but it gave me the errors below. Does anyone know what can I do to be able to install GD? I have tried: perl -MCPAN -e 'install GD;' Thank you. ... at t/GD.t line 13 Compilation failed in require at t/GD.t line 13. BEGIN

Problem with GD graph module

2002-04-13 Thread ChaoZ InferNo
Hi, I am drawing out graphs using GD graph modules and I am having problems on labelling every individual bars if possible. Do i use GD::Text to generate like a horizontal label on the graph? Or is it one of the GD:graph limitation whereby I cannot add anything onto the graph itself? Seems