How can I use GD module in Windows XP ?

À

À̹淡

Dear Sir!

I'm a beginner in perl programming.

My os is Windows xp home edition and I want to create some graphic images
with perl module.

I downloaded the GD-2.30 moduel at CPAN but I can't install.

the error message say that I should use libgd 2.0.28 or higher. so I
downloaded gdwin32 at www.boutell.com

but the website say that I should use ANSI C compiler. At some message, gcc
is free and we can get c compiler at ftp://ftp.cygnus.com, but I can't get
anything.

How can I use GD module in Windows XP system?

Sincerely
 
B

Bob Walton

À̹淡 wrote:

....
My os is Windows xp home edition and I want to create some graphic images
with perl module.

I downloaded the GD-2.30 moduel at CPAN but I can't install.

the error message say that I should use libgd 2.0.28 or higher. so I
downloaded gdwin32 at www.boutell.com

but the website say that I should use ANSI C compiler. At some message, gcc
is free and we can get c compiler at ftp://ftp.cygnus.com, but I can't get
anything.

How can I use GD module in Windows XP system?

You don't say what version of Perl you are using on your XP
system. If you are using ActiveState Perl, try:

ppm install GD

at a command prompt. That should download and install the GD
module and all the other modules it may require. Then look in
the module's docs ( perldoc GD ) and try some of the examples to
be sure it works.
 
D

Dr.Ruud

Bob Walton:
À̹淡:

You don't say what version of Perl you are using on your XP
system. If you are using ActiveState Perl, try:

ppm install GD

at a command prompt. That should download and install the GD
module and all the other modules it may require. Then look in
the module's docs ( perldoc GD ) and try some of the examples to
be sure it works.

You need this one first:

ppm> rep add threoryx http://theoryx5.uwinnipeg.ca/ppms/

And don't forget to use a binmode() here and there.

With IO::All I needed to add a 'binary':

$io_dst->binary < $dst_img->jpeg(90)
or die "\$dst_img->jpeg() failed: $!\n";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top