Hello everyone -

I'm fairly new to Perl, using Win32. I want to use perl to create some
graphs on the fly of data in a table in mySQL. Not so hard, huh? A
million people must have done this already. But the problem is, I
can't seem to get GD, short of compiling the bugger myself, which I
would really rather not do.

In summary: all the documentation seems to suggest that a) I should
have GD already and b) if I don't, it should be easy to install.
However, this is not the case, so I'm very confused and could use some
help :-)

------ Details ------

I already have ActiveState Perl 5.8. A search of past mailing list
questions on this topic suggests that you should be able to install GD
using PPM. Activestate suggests this too:

http://aspn.activestate.com/ASPN/Modules/Perl/dist_html?dist_id=8887

But when I do "ppm search GD" I get a list of five GD-related modules,
but not GD itself. What's up with that? Is it because I don't have the
GD library installed? And before you ask, no, it's not because GD is
already installed - I tried that! I don't have GD.pm anywhere useful.

Also, I'm fairly sure that the perl GD module is just the interface to
the GD library. I've found the GD library for Win32, I think, at the
GNUWin32 project:

http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=29152

But having downloaded it, what am I supposed to do with it? Just slap
the DLL into my windows/system32 directory?

Having hit these problems, I made the assumption that my PPM is broken
for some reason and downloaded GD from CPAN manually. I have no idea
how to get things to install using this method, either, but the README
told me this:

"3. Does GD run with MacPerl/Win32 Perl?

   Yes.  The latest MacPerl and ActiveState binaries come with GD
   already compiled in and ready to go."

Which sounds nice enough, but if that's the case, why does "use GD"
make my scripts fall over because of dependency issues?

------- end details ------

Any help appreciated!

Seldo.
____________________________________________
  Seldo Voss: www.seldo.com
  ICQ #1172379 or [EMAIL PROTECTED]
--------------------------------------------
If you can't find the time to do it right the first time, when will you find the time 
to do it over?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to