Question
I'm getting a "GaugePlugin error: Require Perl module 'GD' not found" all over the
GaugePluginTests Page.
Now I have the following installed:
- perl-GD-2.32-1.fc5
- gd-2.0.33-6.2
- libpng-1.2.8-2.2.1
- zlib-1.2.3-1.2.1
and tested the GD in the Demo directory with samples.pl -- all checkouted.
All this was installed first, then I unziped the GaugePlugin.zip and went to Configure. Then I went to the Test page to make sure everything was OK.
Then I get the error message.
Environment
--
ThomasVines - 21 Apr 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Where did you install GD? Is it accessible in the Perl lib path?
--
PeterThoeny - 21 Apr 2006
GD library installation directories are in /usr/local with the lib, include and bin off of /usr/local. Perl 5.8.8 is in /usr/local/bin.
--
ThomasVines - 24 Apr 2006
You need to make sure the Perl DG library is somewhere in your Perl lib path. For example, the
@INC path on one of my systems is
/opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.8.7 /opt/csw/share/perl/5.8.7
If you installed the GD library in a non-standard location you can set a local Perl lib path in
twiki/bin/LocalLib.cfg
--
PeterThoeny - 28 Apr 2006
I have installed this Plugin in Win 2003 Server with
CygWin. I have installed the GD library with CPAN installation.
Now sure what to do next (how do I install other dependencies) and make this work.
Currently I get the Error "GaugePlugin error: Required Perl module 'GD' not found".
Many Thanks in advance !
--
RamkumarKb - 05 May 2006
Find out where GD.pm is located. Add that directory to
@localPerlLibPath in
twiki/bin/LocalLib.cfg
--
PeterThoeny - 05 May 2006
Hi Peter,
Thank you very much. I did as suggested but the
GuagePlugin still does not work. I am attaching the
LocalLib.cfg file here along with the error I see in Twiki page.
I did a "chmod a+x GD.pm" as the file did not have execute permission (Also did the same for the GD directory itself). But still no luck.
I have however not installed the gd & PNG libraries as mentioned in dependencies. Can you please guidme as to how to do this?
Thanks a lot !
/Ramkumar
--
RamkumarKb - 06 May 2006
I am attaching the CPAN i GD and my Twiki Testenv results here for further inputs
--
RamkumarKb - 06 May 2006
The Perl GD library is a wrapper around the gd libs. Please install the libs GD depens on, and test it out before using GD in TWiki. I do not know the details, please consult the installation instructions for GD.
--
PeterThoeny - 06 May 2006
After spending one full day with this, I am afraid I still could not get this working. I downloaded, compiled and installed the gd library.
After that when I try to make the GD library, it give me the error:
* [blib/arch/auto/GD/GD.dll] Error 2
I guess there is some issue using GD with perl 5.7.8 (it probably needs perl 5.8.8) due to some Math::Trig package mismatch.
So finally decided not to use this plugin for a while.
--
RamkumarKb - 09 May 2006
I am sorry it did not work out.
--
PeterThoeny - 09 May 2006