Tags:
create new tag
view all tags

Question

I'm getting a "GaugePlugin error: Require Perl module 'GD' not found" all over the GaugePluginTests Page.

Now I have the following installed:

  1. perl-GD-2.32-1.fc5
  2. gd-2.0.33-6.2
  3. libpng-1.2.8-2.2.1
  4. 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

TWiki version: TWikiRelease04x00x02
TWiki plugins: GaugePlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TWikiDrawPlugin, TablePlugin
Server OS: Fedora Core 5, Linux 2.6.16-1.2080_FC5
Web server: Apache 2.2.0
Perl version: 5.8.8
Client OS: Fedora Core 5, Linux 2.6.16-1.2080_FC5
Web Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text
Categories: Plugins

-- ThomasVines - 21 Apr 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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

Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif CPANGDmodule.GIF r1 manage 15.5 K 2006-05-06 - 08:20 UnknownUser CPAN i GD output
JPEGjpg GuagePluginError.jpg r1 manage 49.6 K 2006-05-06 - 05:33 UnknownUser Error i see in my Twiki installation
Unknown file formatcfg LocalLib.cfg r2 r1 manage 2.0 K 2006-05-06 - 05:31 UnknownUser LocalLib.cfg file in my installation
Texttxt TestTWikienvironment.txt r1 manage 13.7 K 2006-05-06 - 08:20 UnknownUser Twiki testEnv output
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2006-05-09 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.